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

Sony Xperia 5 IV vs ZTE nubia Z40 Pro

ZTE nubia Z40 Pro leads on 4 of the 6 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.

Sony Xperia 5 IV

Sony Xperia 5 IV

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
VS
ZTE nubia Z40 Pro

ZTE nubia Z40 Pro

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationSony Xperia 5 IVZTE nubia Z40 Pro
Release
Announced2022, September 012022, February 25
StatusAvailable. Released 2022, September 22Available. Released 2022, March 02
Display
Size6.1 in6.67 in
PanelOLEDAMOLED
Refresh rate120 Hz144 Hz
Peak brightness—1,000 nits
ResolutionOLED, 1B colors, 120Hz, HDR BT.2020AMOLED, 1B colors, 144Hz, HDR10+, 1000 nits
ProtectionCorning 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, upgradable to Android 13Android 12, MyOS 12
AnTuTu835038 (v9) GeekBench: 3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)—
Geekbench3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)—
Memory
RAM options8 GB8 GB / 12 GB / 16 GB
Storage options128 GB / 256 GB128 GB / 256 GB / 512 GB / 1024 GB
Storage techUFS 3.XUFS 3.1
microSD slotYesNo
Battery
Capacity5000 mAh4600 mAh / 5000 mAh
Wired charging—80 W
Wireless chargingYesYes
Cameras
Rear lenses33
Main resolution12 MP64 MP
Rear camera12 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 PDAF64 MP, f/1.7, 35mm (standard), 1/1.7", PDAF, OIS, 8 MP, f/3.4, 125mm (periscope telephoto), 1/4.0", PDAF, OIS, 5x optical zoom, 50 MP, f/2.2, 14mm, 116˚ (ultrawide)
Rear video4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OISYes
Front camera12 MP, f/2.0, 24mm (wide), 1/2.9", 1.25µm16 MP, f/2.5, (wide)
Body
Weight172 g199 g
Thickness8.2 mm8.4 mm
Height156 mm161.9 mm
Width67 mm72.9 mm
IP ratingIP65—
MaterialsGlass front (Gorilla Glass Victus), glass back (Gorilla Glass Victus), aluminum frameGlass front, aluminum frame, glass back
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackYesNo
NFCYesYes
Bluetooth5.25.2
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6e, tri-band, Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct
USBUSB Type-C 3.2USB Type-C 3.1
InfraredNoNo

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 & 3x2.50 GHz Cortex-A710 & 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": ""
    }
  }
}

ZTE nubia Z40 Pro JSON

GET/api/values/clean/getspecs/ZTE/nubia%20Z40%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/ZTE/nubia%20Z40%20Pro' \
-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("ZTE", "nubia Z40 Pro")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("ZTE", "nubia Z40 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("ZTE", "nubia Z40 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 455710,
  "manufacturer": "ZTE",
  "model": "nubia Z40 Pro",
  "network": "GSM / CDMA / HSPA / LTE / 5G",
  "announceDate": "2022, February 25",
  "status": "Available. Released 2022, March 02",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, MyOS 12",
  "battery_raw": "Market-dependent versions:<br>· Li-Po 5000 mAh (regular version)<br>· Li-Po 4600 mAh (gravity version)",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 &amp; 3x2.50 GHz Cortex-A710 &amp; 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "AMOLED, 1B colors, 144Hz, HDR10+, 1000 nits",
  "displaySize_raw": "6.67 inches, 107.4 cm<sup>2</sup> (~91.0% screen-to-body ratio)",
  "displayType_raw": "AMOLED, 1B colors, 144Hz, HDR10+, 1000 nits",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM, 512GB 12GB RAM, 1TB 16GB RAM",
  "mainCameraFeatures": "Dual-LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "64 MP, f/1.7, 35mm (standard), 1/1.7\", PDAF, OIS<br>\n8 MP, f/3.4, 125mm (periscope telephoto), 1/4.0\", PDAF, OIS, 5x optical zoom<br>\n50 MP, f/2.2, 14mm, 116˚ (ultrawide)",
  "mainVideoSpecs": "Yes",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.5, (wide)",
  "selfieVideoSpecs": "Yes",
  "sensors": "",
  "charging_raw": "66W wired; 15W magnetic wireless (gravity version)\n80W wired (regular version)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/zte-nubia-z40-pro-.jpg",
  "colors": [
    "Interstellar Black",
    "Star Black",
    "Silver"
  ],
  "variants": [
    {
      "id": 510309,
      "model_number": "NX701J"
    }
  ],
  "normalized_specs": {
    "id": 455715,
    "display": {
      "id": 455715,
      "size_inches": 6.67,
      "panel_type": "AMOLED",
      "refresh_rate_hz": 144,
      "peak_brightness_nits": 1000,
      "protection_type": ""
    },
    "processor": {
      "id": 455715,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 455715,
      "available_ram_gb": [
        8,
        12,
        16
      ],
      "available_storage_gb": [
        128,
        256,
        512,
        1024
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1"
    },
    "battery_and_charging": {
      "id": 455715,
      "capacities_mah": [
        4600,
        5000
      ],
      "max_wired_charging_w": 80,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 455715,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 455715,
      "height_mm": 161.9,
      "width_mm": 72.9,
      "thickness_mm": 8.4,
      "weight_g": 199,
      "build_materials": [
        "Glass front",
        "aluminum frame",
        "glass back"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 455715,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 455715,
      "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",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 455715,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 455715,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons