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

Xiaomi 12 vs ZTE Axon 40 Ultra Space Edition

ZTE Axon 40 Ultra Space Edition leads on 6 of the 8 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.

Xiaomi 12

Xiaomi 12

2021 · Qualcomm SM8450 Snapdragon 8 Gen 1
VS
ZTE Axon 40 Ultra Space Edition

ZTE Axon 40 Ultra Space Edition

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationXiaomi 12ZTE Axon 40 Ultra Space Edition
Release
Announced2021, December 282022, November 29
StatusAvailable. Released 2021, December 31Available. Released 2022, December 06
Launch price (USD)$370—
Display
Size6.28 in6.8 in
PanelAMOLEDAMOLED
Refresh rate120 Hz120 Hz
Peak brightness1,100 nits1,500 nits
ResolutionAMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)AMOLED, 1B colors, 120Hz, HDR10+, 1500 nits (peak)
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, MIUI 13Android 12, MyOS 12
AnTuTu985115 (v9) GeekBench: 3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)—
Geekbench3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)—
Memory
RAM options8 GB / 12 GB12 GB / 18 GB
Storage options128 GB / 256 GB512 GB / 1024 GB
Storage techUFS 3.1UFS 3.1
microSD slotNoNo
Battery
Capacity4500 mAh5000 mAh
Wired charging67 W80 W
Wireless chargingYesNo
Cameras
Rear lenses33
Main resolution50 MP64 MP
Rear camera50 MP, f/1.9, 26mm (wide), 1/1.56", 1.0µm, PDAF, OIS, 13 MP, f/2.4, 12mm, 123˚ (ultrawide), 1/3.06", 1.12µm, 5 MP, f/2.4, 50mm (telephoto macro), AF64 MP, f/1.6, 35mm (standard), 1/1.7", PDAF, OIS, 64 MP, f/3.5, 91mm (periscope telephoto), 1/2.0", PDAF, OIS, 3.5x optical zoom (vs. 26mm cam), 64 MP, f/2.4, 16mm, 112˚ (ultrawide), 1/1.7", PDAF
Rear video8K@24fps (HDR), 4K@30/60fps (HDR10+), 1080p@30/120/240/960fps, 720p@1920fps, gyro-EIS8K@30fps, 4K@30/60/120fps, 1080p@30/60fps, gyro-EIS, HDR10, 10‑bit video
Front camera32 MP, f/2.5, 26mm (wide), 0.7µm16 MP, f/2.0, 26mm (wide), 1/2.8", 1.22µm, under display
Body
Weight179 g204 g
Thickness8.2 mm8.4 mm
Height152.7 mm163.3 mm
Width69.9 mm73.6 mm
MaterialsGlass front (Gorilla Glass Victus), glass back (Gorilla Glass 5), aluminum frameGlass front, ceramic back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackNoNo
NFCYesYes
Bluetooth5.25.2
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6 or 6e (market dependent), dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac/6e, dual-band, Wi-Fi Direct
USBUSB Type-C 2.0USB Type-C 3.1
InfraredYesNo

Xiaomi 12 JSON

GET/api/values/clean/getspecs/Xiaomi/12
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/12' \
-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("Xiaomi", "12")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "12");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "12");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448031,
  "manufacturer": "Xiaomi",
  "model": "12",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2021, December 28",
  "status": "Available. Released 2021, December 31",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, MIUI 13",
  "battery_raw": "Li-Po 4500 mAh",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)",
  "displaySize_raw": "6.28 inches, 95.2 cm<sup>2</sup> (~89.2% screen-to-body ratio)",
  "displayType_raw": "AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM",
  "mainCameraFeatures": "Color spectrum sensor, Dual-LED dual-tone flash, HDR, panorama",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 26mm (wide), 1/1.56\", 1.0µm, PDAF, OIS<br>\n13 MP, f/2.4, 12mm, 123˚ (ultrawide), 1/3.06\", 1.12µm<br>\n5 MP, f/2.4, 50mm (telephoto macro), AF",
  "mainVideoSpecs": "8K@24fps (HDR), 4K@30/60fps (HDR10+), 1080p@30/120/240/960fps, 720p@1920fps, gyro-EIS",
  "selfieCameraFeatures": "HDR, panorama",
  "selfieCameraSpecs_raw": "32 MP,&nbsp;f/2.5, 26mm (wide), 0.7µm",
  "selfieVideoSpecs": "1080p@30/60fps, 720p@120fps, HDR",
  "sensors": "",
  "charging_raw": "67W wired, PD3.0, QC4, 100% in 39 min\n50W wireless, 100% in 53 min\n10W reverse wireless",
  "price_usd": 369.99,
  "price_eur": 232.52,
  "price_gbp": 249.99,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-12.jpg",
  "colors": [
    "Gray",
    "Blue",
    "Purple",
    "Green"
  ],
  "variants": [
    {
      "id": 500345,
      "model_number": "2201123G"
    },
    {
      "id": 500346,
      "model_number": "2201123C"
    }
  ],
  "normalized_specs": {
    "id": 448036,
    "display": {
      "id": 448036,
      "size_inches": 6.28,
      "panel_type": "AMOLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 1100,
      "protection_type": "Corning Gorilla Glass Victus"
    },
    "processor": {
      "id": 448036,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 448036,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1"
    },
    "battery_and_charging": {
      "id": 448036,
      "capacities_mah": [
        4500
      ],
      "max_wired_charging_w": 67,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 448036,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448036,
      "height_mm": 152.7,
      "width_mm": 69.9,
      "thickness_mm": 8.2,
      "weight_g": 179,
      "build_materials": [
        "Glass front (Gorilla Glass Victus)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448036,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio  Tuned by Harman Kardon  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 448036,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6 or 6e (market dependent)",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS",
        "NavIC"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448036,
      "antutu_score": "985115 (v9)  GeekBench: 3652 (v5.1)  GFXBench: 75fps (ES 3.1 onscreen)",
      "geekbench_score": "3652 (v5.1)  GFXBench: 75fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 896,
      "measured_loudspeaker_lufs": -25.3,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448036,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

ZTE Axon 40 Ultra Space Edition JSON

GET/api/values/clean/getspecs/ZTE/Axon%2040%20Ultra%20Space%20Edition
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/ZTE/Axon%2040%20Ultra%20Space%20Edition' \
-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", "Axon 40 Ultra Space Edition")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("ZTE", "Axon 40 Ultra Space Edition");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("ZTE", "Axon 40 Ultra Space Edition");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 455695,
  "manufacturer": "ZTE",
  "model": "Axon 40 Ultra Space Edition",
  "network": "GSM / CDMA / HSPA / CDMA2000 / LTE / 5G",
  "announceDate": "2022, November 29",
  "status": "Available. Released 2022, December 06",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, MyOS 12",
  "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": "AMOLED, 1B colors, 120Hz, HDR10+, 1500 nits (peak)",
  "displaySize_raw": "6.8 inches, 111.6 cm<sup>2</sup> (~92.9% screen-to-body ratio)",
  "displayType_raw": "AMOLED, 1B colors, 120Hz, HDR10+, 1500 nits (peak)",
  "gpu": "Adreno 730",
  "internal_raw": "512GB 12GB RAM, 1TB 18GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED dual-tone flash, panorama, HDR",
  "mainCameraSpecs_raw": "64 MP, f/1.6, 35mm (standard), 1/1.7\", PDAF, OIS<br>\n64 MP, f/3.5, 91mm (periscope telephoto), 1/2.0\", PDAF, OIS, 3.5x optical zoom (vs. 26mm cam)<br>\n64 MP, f/2.4, 16mm, 112˚ (ultrawide), 1/1.7\", PDAF",
  "mainVideoSpecs": "8K@30fps, 4K@30/60/120fps, 1080p@30/60fps, gyro-EIS, HDR10, 10‑bit video",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 26mm (wide), 1/2.8\", 1.22µm, under display",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "80W wired, PD3.0, QC4",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/zte-axon-40-ultra-space-edition.jpg",
  "colors": [
    "Black"
  ],
  "variants": [
    {
      "id": 510299,
      "model_number": "A2023P"
    }
  ],
  "normalized_specs": {
    "id": 455700,
    "display": {
      "id": 455700,
      "size_inches": 6.8,
      "panel_type": "AMOLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 1500,
      "protection_type": ""
    },
    "processor": {
      "id": 455700,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 455700,
      "available_ram_gb": [
        12,
        18
      ],
      "available_storage_gb": [
        512,
        1024
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1"
    },
    "battery_and_charging": {
      "id": 455700,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 80,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 455700,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 455700,
      "height_mm": 163.3,
      "width_mm": 73.6,
      "thickness_mm": 8.4,
      "weight_g": 204,
      "build_materials": [
        "Glass front",
        "ceramic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 455700,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 455700,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6e",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 455700,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 455700,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons