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 Ultimate vs Sony Xperia 5 IV

Honor Magic4 Ultimate leads on 4 of the 7 metrics where the two devices differ and a direction is meaningful (higher refresh rate, more RAM, bigger battery, lighter body, and so on). Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.

Honor Magic4 Ultimate

Honor Magic4 Ultimate

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

Sony Xperia 5 IV

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationHonor Magic4 UltimateSony Xperia 5 IV
Release
Announced2022, March 172022, September 01
StatusAvailable. Released 2022, April 22Available. Released 2022, September 22
Display
Size6.81 in6.1 in
PanelLTPO OLEDOLED
Refresh rate120 Hz120 Hz
ResolutionLTPO OLED, 1B colors, 120Hz, HDR10+OLED, 1B colors, 120Hz, HDR BT.2020
ProtectionScratch-resistant glassCorning 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 options12 GB8 GB
Storage options512 GB128 GB / 256 GB
Storage techUFS 3.1UFS 3.X
microSD slotNoYes
Battery
Capacity4600 mAh5000 mAh
Wired charging100 W—
Wireless chargingYesYes
Cameras
Rear lenses43
Main resolution64 MP12 MP
Rear camera50 MP, f/1.6, 23mm (wide), 1/1.12", 1.4µm, PDAF, 64 MP, f/2.2, 126˚ (ultrawide), 1/2.0", 0.7µm, 64 MP, f/3.5, 90mm (periscope telephoto), 1/2.0", 0.7µm, PDAF, OIS, 3.5x optical zoom, 50 MP, f/2.0, (wide), 1/2.5", PDAF, TOF 3D (depth)12 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µm, TOF 3D, (depth/biometrics sensor)12 MP, f/2.0, 24mm (wide), 1/2.9", 1.25µm
Body
Weight242 g172 g
Thickness11.4 mm8.2 mm
Height163.6 mm156 mm
Width74.7 mm67 mm
IP ratingIP68IP65
MaterialsGlass front, ceramic back, aluminum frameGlass 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 Ultimate JSON

GET/api/values/clean/getspecs/Honor/Magic4%20Ultimate
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Honor/Magic4%20Ultimate' \
-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 Ultimate")
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 Ultimate");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Honor", "Magic4 Ultimate");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 455258,
  "manufacturer": "Honor",
  "model": "Magic4 Ultimate",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2022, March 17",
  "status": "Available. Released 2022, April 22",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, Magic UI 6",
  "battery_raw": "Li-Po 4600 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+",
  "displaySize_raw": "6.81 inches, 113.7 cm<sup>2</sup> (~93.0% screen-to-body ratio)",
  "displayType_raw": "LTPO OLED, 1B colors, 120Hz, HDR10+",
  "gpu": "Adreno 730",
  "internal_raw": "512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "50 MP, f/1.6, 23mm (wide), 1/1.12\", 1.4µm, PDAF<br>\n64 MP, f/2.2, 126˚ (ultrawide), 1/2.0\", 0.7µm<br>\n64 MP, f/3.5, 90mm (periscope telephoto), 1/2.0\", 0.7µm, PDAF, OIS, 3.5x optical zoom<br>\n50 MP, f/2.0, (wide), 1/2.5\", PDAF<br>\nTOF 3D (depth)",
  "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<br>\nTOF 3D, (depth/biometrics sensor)",
  "selfieVideoSpecs": "4K@30fps, 1080p@30fps",
  "sensors": "",
  "charging_raw": "100W wired, 100% in 30 min\n50W wireless\n5W reverse wireless\n5W reverse wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/honor-magic4-ultimate.jpg",
  "colors": [
    "Ceramic Black",
    "Ceramic White"
  ],
  "variants": [
    {
      "id": 509835,
      "model_number": "LGE-AN20"
    }
  ],
  "normalized_specs": {
    "id": 455263,
    "display": {
      "id": 455263,
      "size_inches": 6.81,
      "panel_type": "LTPO OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": "Scratch-resistant glass"
    },
    "processor": {
      "id": 455263,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 455263,
      "available_ram_gb": [
        12
      ],
      "available_storage_gb": [
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1"
    },
    "battery_and_charging": {
      "id": 455263,
      "capacities_mah": [
        4600
      ],
      "max_wired_charging_w": 100,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 455263,
      "main_lenses_count": 4,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 455263,
      "height_mm": 163.6,
      "width_mm": 74.7,
      "thickness_mm": 11.4,
      "weight_g": 242,
      "build_materials": [
        "Glass front",
        "ceramic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 455263,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit audio stereo recording"
      ]
    },
    "connectivity": {
      "id": 455263,
      "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": 455263,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 455263,
      "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