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 1 IV vs Xiaomi 12

Sony Xperia 1 IV leads on 5 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.

Sony Xperia 1 IV

Sony Xperia 1 IV

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
VS
Xiaomi 12

Xiaomi 12

2021 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationSony Xperia 1 IVXiaomi 12
Release
Announced2022, May 112021, December 28
StatusAvailable. Released 2022, June 11Available. Released 2021, December 31
Launch price (USD)$3$370
Display
Size6.5 in6.28 in
PanelOLEDAMOLED
Refresh rate120 Hz120 Hz
Peak brightness—1,100 nits
ResolutionOLED, 1B colors, 120Hz, HDR BT.2020AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)
ProtectionCorning Gorilla Glass VictusCorning 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, MIUI 13
AnTuTu838832 (v9) GeekBench: 3403 (v5.1) GFXBench: 74fps (ES 3.1 onscreen)985115 (v9) GeekBench: 3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)
Geekbench3403 (v5.1) GFXBench: 74fps (ES 3.1 onscreen)3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)
Memory
RAM options12 GB / 16 GB8 GB / 12 GB
Storage options256 GB / 512 GB128 GB / 256 GB
Storage techUFSUFS 3.1
microSD slotNoNo
Battery
Capacity5000 mAh4500 mAh
Wired charging30 W67 W
Wireless chargingYesYes
Cameras
Rear lenses43
Main resolution12 MP50 MP
Rear camera12 MP, f/1.7, 24mm (wide), 1/1.7", 1.8µm, dual pixel PDAF, OIS, 12 MP, f/2.3, 85mm (telephoto), f/2.8, 125mm (telephoto), 1/3.5", dual pixel PDAF, 3.5x-5.2x continuous optical zoom, OIS, 12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5", dual pixel PDAF, 0.3 MP, TOF 3D, (depth)50 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), AF
Rear video4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OIS8K@24fps (HDR), 4K@30/60fps (HDR10+), 1080p@30/120/240/960fps, 720p@1920fps, gyro-EIS
Front camera12 MP, f/2.0, 24mm (wide), 1/2.9", 1.25µm32 MP, f/2.5, 26mm (wide), 0.7µm
Body
Weight185 g179 g
Thickness8.2 mm8.2 mm
Height165 mm152.7 mm
Width71 mm69.9 mm
IP ratingIP65—
MaterialsGlass front (Gorilla Glass Victus), glass back (Gorilla Glass Victus), aluminum frameGlass front (Gorilla Glass Victus), glass back (Gorilla Glass 5), aluminum frame
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, dual-band or tri-band (region dependent), Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac/6 or 6e (market dependent), dual-band, Wi-Fi Direct
USBUSB Type-C 3.2USB Type-C 2.0
InfraredNoYes

Sony Xperia 1 IV JSON

GET/api/values/clean/getspecs/Sony/Xperia%201%20IV
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%201%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 1 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 1 IV");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia 1 IV");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457258,
  "manufacturer": "Sony",
  "model": "Xperia 1 IV",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2022, May 11",
  "status": "Available. Released 2022, June 11",
  "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.5 inches, 98.6 cm<sup>2</sup> (~84.2% screen-to-body ratio)",
  "displayType_raw": "OLED, 1B colors, 120Hz, HDR BT.2020",
  "gpu": "Adreno 730",
  "internal_raw": "256GB 12GB RAM, 512GB 12GB RAM, 512GB 16GB 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.3, 85mm (telephoto), f/2.8, 125mm (telephoto), 1/3.5\", dual pixel PDAF, 3.5x-5.2x continuous optical zoom, OIS<br>\n12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5\", dual pixel PDAF<br>\n0.3 MP, TOF 3D, (depth)",
  "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": "30W wired, PD3.0, PPS, 50% in 30 min\nWireless\nReverse wireless",
  "price_usd": 3,
  "price_eur": 549.89,
  "price_gbp": 379.51,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-1-iv-.jpg",
  "colors": [
    "Black",
    "Violet",
    "White"
  ],
  "variants": [
    {
      "id": 511224,
      "model_number": "XQCT62-B"
    },
    {
      "id": 511225,
      "model_number": "XQCT54"
    },
    {
      "id": 511226,
      "model_number": "XQCT54C0V.YD"
    },
    {
      "id": 511227,
      "model_number": "XQCT54C0B.YD"
    },
    {
      "id": 511228,
      "model_number": "XQCT54C0W.YD"
    },
    {
      "id": 511229,
      "model_number": "XQCT54C0V.EEAC"
    },
    {
      "id": 511230,
      "model_number": "XQCT54C0B.EEAC"
    },
    {
      "id": 511231,
      "model_number": "XQ-CT72"
    },
    {
      "id": 511232,
      "model_number": "XQ-CT54"
    },
    {
      "id": 511233,
      "model_number": "XQ-CT62"
    },
    {
      "id": 511234,
      "model_number": "SO-51C"
    },
    {
      "id": 511235,
      "model_number": "SOG06"
    }
  ],
  "normalized_specs": {
    "id": 457263,
    "display": {
      "id": 457263,
      "size_inches": 6.5,
      "panel_type": "OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass Victus"
    },
    "processor": {
      "id": 457263,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 457263,
      "available_ram_gb": [
        12,
        16
      ],
      "available_storage_gb": [
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS"
    },
    "battery_and_charging": {
      "id": 457263,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 30,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 457263,
      "main_lenses_count": 4,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457263,
      "height_mm": 165,
      "width_mm": 71,
      "thickness_mm": 8.2,
      "weight_g": 185,
      "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": 457263,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "Hi-Res audio  Dynamic vibration system  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 457263,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6e",
        "dual-band or tri-band (region dependent)",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE Audio",
        "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": 457263,
      "antutu_score": "838832 (v9)  GeekBench: 3403 (v5.1)  GFXBench: 74fps (ES 3.1 onscreen)",
      "geekbench_score": "3403 (v5.1)  GFXBench: 74fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 602,
      "measured_loudspeaker_lufs": -27.6,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457263,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

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

More comparisons