New12,480+ smartphones indexed — free sandbox tier on every plan.Edge-cached JSON responses, typically under 100ms.SDKs for C#, TypeScript and Python, plus an MCP server for AI agents.New12,480+ smartphones indexed — free sandbox tier on every plan.Edge-cached JSON responses, typically under 100ms.SDKs for C#, TypeScript and Python, plus an MCP server for AI agents.
Get Free API Key
Specs comparison

Honor Magic4 vs Sony Xperia 5 IV

On the 6 metrics where both phones differ and a direction is meaningful, the two devices split evenly. Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.

Honor Magic4

Honor Magic4

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
VS
Sony Xperia 5 IV

Sony Xperia 5 IV

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationHonor Magic4Sony Xperia 5 IV
Release
Announced2022, February 282022, September 01
StatusAvailable. Released 2022, March 30Available. Released 2022, September 22
Display
Size6.81 in6.1 in
PanelLTPO OLEDOLED
Refresh rate120 Hz120 Hz
Peak brightness1,000 nits—
ResolutionLTPO OLED, 1B colors, 120Hz, HDR10+, 1000 nits (peak)OLED, 1B colors, 120Hz, HDR BT.2020
Protection—Corning Gorilla Glass Victus
Platform
ChipsetQualcomm SM8450 Snapdragon 8 Gen 1Qualcomm SM8450 Snapdragon 8 Gen 1
CPUOcta-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)
Cores88
Max clock3 GHz3 GHz
GPUAdreno 730Adreno 730
OSAndroid 12, Magic UI 6Android 12, upgradable to Android 13
AnTuTu—835038 (v9) GeekBench: 3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)
Geekbench—3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)
Memory
RAM options8 GB / 12 GB8 GB
Storage options128 GB / 256 GB / 512 GB128 GB / 256 GB
Storage tech—UFS 3.X
microSD slotNoYes
Battery
Capacity4800 mAh5000 mAh
Wired charging66 W—
Wireless chargingNoYes
Cameras
Rear lenses33
Main resolution50 MP12 MP
Rear camera50 MP, f/1.8, 23mm (wide), 1/1.56", 1.0µm, multi-directional PDAF, 50 MP, f/2.2, 122˚ (ultrawide), 1/2.5", 8 MP, f/3.4, (periscope telephoto), PDAF, OIS, 5x optical zoom12 MP, f/1.7, 24mm (wide), 1/1.7", 1.8µm, dual pixel PDAF, OIS, 12 MP, f/2.4, 60mm (telephoto), 1/3.5", dual pixel PDAF, OIS, 12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5", dual pixel PDAF
Rear video4K@30/60fps, 1080p@30/60fps, gyro-EIS, HDR10, 10-bit video4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OIS
Front camera12 MP, f/2.4, 100˚ (ultrawide), 1.22µm12 MP, f/2.0, 24mm (wide), 1/2.9", 1.25µm
Body
Weight199 g172 g
Thickness8.8 mm8.2 mm
Height163.6 mm156 mm
Width74.5 mm67 mm
IP ratingIP54IP65
Materials—Glass front (Gorilla Glass Victus), glass back (Gorilla Glass Victus), aluminum frame
SIMNano-SIMNano-SIM, eSIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackNoYes
NFCYesYes
Bluetooth5.25.2
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac/6e, tri-band, Wi-Fi Direct, DLNA
USBUSB Type-C 3.1USB Type-C 3.2
InfraredYesNo

Honor Magic4 JSON

GET/api/values/clean/getspecs/Honor/Magic4
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Honor/Magic4' \
-H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
-H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClient
client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")
device = client.get_specs("Honor", "Magic4")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Honor", "Magic4");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Honor", "Magic4");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 455261,
  "manufacturer": "Honor",
  "model": "Magic4",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2022, February 28",
  "status": "Available. Released 2022, March 30",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, Magic UI 6",
  "battery_raw": "Li-Po 4800 mAh",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "LTPO OLED, 1B colors, 120Hz, HDR10+, 1000 nits (peak)",
  "displaySize_raw": "6.81 inches, 113.5 cm<sup>2</sup> (~93.1% screen-to-body ratio)",
  "displayType_raw": "LTPO OLED, 1B colors, 120Hz, HDR10+, 1000 nits (peak)",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM, 512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "50 MP, f/1.8, 23mm (wide), 1/1.56\", 1.0µm, multi-directional PDAF<br>\n50 MP, f/2.2, 122˚ (ultrawide), 1/2.5\"<br>\n8 MP, f/3.4, (periscope telephoto), PDAF, OIS, 5x optical zoom",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, gyro-EIS, HDR10, 10-bit video",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "12 MP, f/2.4, 100˚ (ultrawide), 1.22µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30fps",
  "sensors": "",
  "charging_raw": "66W wired\n5W reverse wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/honor-magic4.jpg",
  "colors": [
    "Black",
    "White",
    "Cyan",
    "Gold"
  ],
  "variants": [
    {
      "id": 509844,
      "model_number": "LGE-AN00"
    }
  ],
  "normalized_specs": {
    "id": 455266,
    "display": {
      "id": 455266,
      "size_inches": 6.81,
      "panel_type": "LTPO OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 1000,
      "protection_type": ""
    },
    "processor": {
      "id": 455266,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 455266,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 455266,
      "capacities_mah": [
        4800
      ],
      "max_wired_charging_w": 66,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 455266,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 455266,
      "height_mm": 163.6,
      "width_mm": 74.5,
      "thickness_mm": 8.8,
      "weight_g": 199,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP54",
      "is_water_resistant": true
    },
    "sound": {
      "id": 455266,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit audio stereo recording"
      ]
    },
    "connectivity": {
      "id": 455266,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 455266,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 455266,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia 5 IV JSON

GET/api/values/clean/getspecs/Sony/Xperia%205%20IV
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%205%20IV' \
-H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
-H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClient
client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")
device = client.get_specs("Sony", "Xperia 5 IV")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Sony", "Xperia 5 IV");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia 5 IV");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457257,
  "manufacturer": "Sony",
  "model": "Xperia 5 IV",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2022, September 01",
  "status": "Available. Released 2022, September 22",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, upgradable to Android 13",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 &amp; 3x2.50 GHz Cortex-A710 &amp; 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "OLED, 1B colors, 120Hz, HDR BT.2020",
  "displaySize_raw": "6.1 inches, 86.9 cm<sup>2</sup> (~83.2% screen-to-body ratio)",
  "displayType_raw": "OLED, 1B colors, 120Hz, HDR BT.2020",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Zeiss optics, Zeiss T* lens coating, color spectrum sensor, LED flash, panorama, HDR, eye tracking",
  "mainCameraSpecs_raw": "12 MP, f/1.7, 24mm (wide), 1/1.7\", 1.8µm, dual pixel PDAF, OIS<br>\n12 MP, f/2.4, 60mm (telephoto), 1/3.5\", dual pixel PDAF, OIS<br>\n12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5\", dual pixel PDAF",
  "mainVideoSpecs": "4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "12 MP, f/2.0, 24mm (wide), 1/2.9\", 1.25µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30/60fps, 5-axis gyro-EIS",
  "sensors": "",
  "charging_raw": "Wired, PD3.0, 50% in 30 min\nWireless\nReverse wireless",
  "price_usd": 0,
  "price_eur": 297.89,
  "price_gbp": 194.99,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-5-iv-ofic.jpg",
  "colors": [
    "Green",
    "Black",
    "Ecru White"
  ],
  "variants": [
    {
      "id": 511211,
      "model_number": "XQCQ62B-GC"
    },
    {
      "id": 511212,
      "model_number": "XQCQ62G.GC"
    },
    {
      "id": 511213,
      "model_number": "XQ-CQ72/B2TWCX0"
    },
    {
      "id": 511214,
      "model_number": "XQ-CQ72/C2TWCX0"
    },
    {
      "id": 511215,
      "model_number": "XQ-CQ72/G2TWCX0"
    },
    {
      "id": 511216,
      "model_number": "XQCQ54C0B.YD"
    },
    {
      "id": 511217,
      "model_number": "XQCQ54C0G.YD"
    },
    {
      "id": 511218,
      "model_number": "XQCQ54C0C.YD"
    },
    {
      "id": 511219,
      "model_number": "XQ-CQ54"
    },
    {
      "id": 511220,
      "model_number": "XQ-CQ72"
    },
    {
      "id": 511221,
      "model_number": "A204SO"
    },
    {
      "id": 511222,
      "model_number": "SOG09"
    },
    {
      "id": 511223,
      "model_number": "SO-54C"
    }
  ],
  "normalized_specs": {
    "id": 457262,
    "display": {
      "id": 457262,
      "size_inches": 6.1,
      "panel_type": "OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass Victus"
    },
    "processor": {
      "id": 457262,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 457262,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 3.X"
    },
    "battery_and_charging": {
      "id": 457262,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 457262,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457262,
      "height_mm": 156,
      "width_mm": 67,
      "thickness_mm": 8.2,
      "weight_g": 172,
      "build_materials": [
        "Glass front (Gorilla Glass Victus)",
        "glass back (Gorilla Glass Victus)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP65",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457262,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "Hi-Res audio  Dynamic vibration system  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 457262,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6e",
        "tri-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.2",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457262,
      "antutu_score": "835038 (v9)  GeekBench: 3448 (v5.1)  GFXBench: 63fps (ES 3.1 onscreen)",
      "geekbench_score": "3448 (v5.1)  GFXBench: 63fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 979,
      "measured_loudspeaker_lufs": -26.9,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457262,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons