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

Google Pixel 4 XL vs Xiaomi Mi 9T Pro

Xiaomi Mi 9T Pro leads on 7 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.

Google Pixel 4 XL

Google Pixel 4 XL

2019 · Qualcomm SM8150 Snapdragon 855
VS
Xiaomi Mi 9T Pro

Xiaomi Mi 9T Pro

2019 · Qualcomm SM8150 Snapdragon 855
SpecificationGoogle Pixel 4 XLXiaomi Mi 9T Pro
Release
Announced2019, October 152019, August 21. Released 2019, August 21
StatusAvailable. Released 2019, October 22Discontinued
Display
Size6.3 in6.39 in
PanelP-OLEDSuper AMOLED
Refresh rate90 Hz—
ResolutionP-OLED, 90Hz, HDRSuper AMOLED, HDR
ProtectionCorning Gorilla Glass 5Corning Gorilla Glass 5
Platform
ChipsetQualcomm SM8150 Snapdragon 855Qualcomm SM8150 Snapdragon 855
CPUOcta-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)Octa-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)
Cores88
Max clock2.84 GHz2.84 GHz
GPUAdreno 640Adreno 640
OSAndroid 10, upgradable to Android 13Android 9.0 (Pie), upgradable to Android 11, MIUI 12.5
AnTuTu323305 (v7)368846 (v7)
Geekbench10171 (v4.4)10684 (v4.4)
Memory
RAM options6 GB6 GB / 8 GB
Storage options64 GB / 128 GB64 GB / 128 GB / 256 GB
Storage techUFS 2.1UFS 2.1
microSD slotNoNo
Battery
Capacity3700 mAh4000 mAh
Wired charging18 W27 W
Wireless chargingYesNo
Cameras
Rear lenses23
Main resolution16 MP48 MP
Rear camera12.2 MP, f/1.7, 27mm (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS, 16 MP, f/2.4, 50mm (telephoto), 1/3.6", 1.0µm, PDAF, OIS, 2x optical zoom48 MP, f/1.8, 26mm (wide), 1/2.0", 0.8µm, PDAF, 8 MP, f/2.4, 53mm (telephoto), 1/4.0", 1.12µm, PDAF, 2x optical zoom, 13 MP, f/2.4, 12mm (ultrawide), 1/3.1", 1.12µm
Rear video4K@30fps, 1080p@30/60/120fps, 1080p@30fps (gyro-EIS)4K@30/60fps, 1080p@30/120/240fps, 1080p@960fps
Front camera8 MP, f/2.0, 22mm (wide), 1.22µm, no AF, TOF 3D, (depth/biometrics sensor)Motorized pop-up 20 MP, f/2.2, (wide), 1/3.4", 0.8µm
Body
Weight193 g191 g
Thickness8.2 mm8.8 mm
Height160.4 mm156.7 mm
Width75.1 mm74.3 mm
IP ratingIP68—
MaterialsGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frameGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesNo
3.5 mm jackNoYes
NFCYesYes
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 3.1USB Type-C 2.0
InfraredNoNo

Google Pixel 4 XL JSON

GET/api/values/clean/getspecs/Google/Pixel%204%20XL
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%204%20XL' \
-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("Google", "Pixel 4 XL")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Google", "Pixel 4 XL");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Google", "Pixel 4 XL");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452216,
  "manufacturer": "Google",
  "model": "Pixel 4 XL",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2019, October 15",
  "status": "Available. Released 2019, October 22",
  "chipset": "Qualcomm SM8150 Snapdragon 855",
  "androidVersion": "Android 10, upgradable to Android 13",
  "battery_raw": "Li-Po 3700 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "P-OLED, 90Hz, HDR",
  "displaySize_raw": "6.3 inches, 98.0 cm<sup>2</sup> (~81.3% screen-to-body ratio)",
  "displayType_raw": "P-OLED, 90Hz, HDR",
  "gpu": "Adreno 640",
  "internal_raw": "64GB 6GB RAM, 128GB 6GB RAM",
  "mainCameraFeatures": "Dual-LED flash, Pixel Shift, Auto-HDR, panorama",
  "mainCameraSpecs_raw": "12.2 MP, f/1.7, 27mm (wide), 1/2.55\", 1.4µm, dual pixel PDAF, OIS<br>\n16 MP, f/2.4, 50mm (telephoto), 1/3.6\", 1.0µm, PDAF, OIS, 2x optical zoom",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60/120fps, 1080p@30fps (gyro-EIS)",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "8 MP, f/2.0, 22mm (wide), 1.22µm, no AF<br>\nTOF 3D, (depth/biometrics sensor)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, PD2.0\nWireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/google-pixel-4-r1.jpg",
  "colors": [
    "Clearly White",
    "Just Black",
    "Oh So Orange"
  ],
  "variants": [
    {
      "id": 506085,
      "model_number": "G020P"
    },
    {
      "id": 506086,
      "model_number": "G020"
    },
    {
      "id": 506087,
      "model_number": "GA01181-US"
    },
    {
      "id": 506088,
      "model_number": "GA01182-US"
    },
    {
      "id": 506089,
      "model_number": "GA01180-US"
    }
  ],
  "normalized_specs": {
    "id": 452221,
    "display": {
      "id": 452221,
      "size_inches": 6.3,
      "panel_type": "P-OLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 452221,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 452221,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 452221,
      "capacities_mah": [
        3700
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 452221,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452221,
      "height_mm": 160.4,
      "width_mm": 75.1,
      "thickness_mm": 8.2,
      "weight_g": 193,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452221,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452221,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "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": false
    },
    "benchmarks": {
      "id": 452221,
      "antutu_score": "323305 (v7)",
      "geekbench_score": "10171 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452221,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Mi 9T Pro JSON

GET/api/values/clean/getspecs/Xiaomi/Mi%209T%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Mi%209T%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("Xiaomi", "Mi 9T Pro")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Mi 9T Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Mi 9T Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448184,
  "manufacturer": "Xiaomi",
  "model": "Mi 9T Pro",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, August 21. Released 2019, August 21",
  "status": "Discontinued",
  "chipset": "Qualcomm SM8150 Snapdragon 855",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 11, MIUI 12.5",
  "battery_raw": "Li-Po 4000 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.84 GHz Kryo 485 &amp; 3x2.42 GHz Kryo 485 &amp; 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "Super AMOLED, HDR",
  "displaySize_raw": "6.39 inches, 100.2 cm<sup>2</sup> (~86.1% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED, HDR",
  "gpu": "Adreno 640",
  "internal_raw": "64GB 6GB RAM, 128GB 6GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "48 MP, f/1.8, 26mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n8 MP, f/2.4, 53mm (telephoto), 1/4.0\", 1.12µm, PDAF, 2x optical zoom<br>\n13 MP, f/2.4, 12mm (ultrawide), 1/3.1\", 1.12µm",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/120/240fps, 1080p@960fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "Motorized pop-up 20 MP, f/2.2, (wide), 1/3.4\", 0.8µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "27W wired, QC4",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-mi-9t.jpg",
  "colors": [
    "Carbon black",
    "Red flame",
    "Glacier blue"
  ],
  "variants": [
    {
      "id": 500582,
      "model_number": "M1903F11G"
    }
  ],
  "normalized_specs": {
    "id": 448189,
    "display": {
      "id": 448189,
      "size_inches": 6.39,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 448189,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 448189,
      "available_ram_gb": [
        6,
        8
      ],
      "available_storage_gb": [
        64,
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 448189,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 27,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448189,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448189,
      "height_mm": 156.7,
      "width_mm": 74.3,
      "thickness_mm": 8.8,
      "weight_g": 191,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448189,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 448189,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": true,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448189,
      "antutu_score": "368846 (v7)",
      "geekbench_score": "10684 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": -26.9,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448189,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons