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 Z3 vs Xiaomi Mi 4

Sony Xperia Z3 leads on 3 of the 5 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 Z3

Sony Xperia Z3

2014 · Qualcomm MSM8974AC Snapdragon 801
VS
Xiaomi Mi 4

Xiaomi Mi 4

2014 · Qualcomm MSM8974AC Snapdragon 801
SpecificationSony Xperia Z3Xiaomi Mi 4
Release
Announced2014, September 03. Released 2014, November 062014, July. Released 2014, August
StatusDiscontinuedDiscontinued
Display
Size5.2 in5 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
ProtectionScratch-resistant glass, oleophobic coating—
Platform
ChipsetQualcomm MSM8974AC Snapdragon 801Qualcomm MSM8974AC Snapdragon 801
CPUQuad-core 2.5 GHz Krait 400Quad-core 2.5 GHz Krait 400
Cores44
Max clock2.5 GHz2.5 GHz
GPUAdreno 330Adreno 330
OSAndroid 4.4.4 (KitKat), upgradable to 6.0 (Marshmallow)Android 4.4.3 (KitKat), upgradable to 6.0.1 (Marshmallow), MIUI 10
Memory
RAM options3 GB2 GB / 3 GB
Storage options16 GB / 32 GB16 GB / 64 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesNo
Battery
Capacity3100 mAh3080 mAh
Wired charging18 W18 W
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution21 MP13 MP
Rear camera20.7 MP, f/2.0, 25mm (wide), 1/2.3", 1.12µm, AF13 MP, f/1.8, 1/3.1", 1.12µm, AF
Rear video4K@30fps, 1080p@60fps, 720p@120fps, HDR4K@30fps, 1080p@30fps, 720p@120fps, HDR
Front camera2.2 MP, f/2.88 MP, f/1.8
Body
Weight152 g149 g
Thickness7.3 mm8.9 mm
Height146 mm139.2 mm
Width72 mm68.5 mm
IP ratingIP68—
MaterialsGlass front, glass back, aluminum frameGlass front, plastic back, aluminum frame
SIMNano-SIMMicro-SIM
Sound and connectivity
Stereo speakersYesNo
3.5 mm jackYesYes
NFCYesNo
Bluetooth44
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA, hotspotWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA, hotspot
USBmicroUSB 2.0 (MHL 3 TV-out)microUSB 2.0
InfraredNoYes

Sony Xperia Z3 JSON

GET/api/values/clean/getspecs/Sony/Xperia%20Z3
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20Z3' \
-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 Z3")
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 Z3");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia Z3");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457327,
  "manufacturer": "Sony",
  "model": "Xperia Z3",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2014, September 03. Released 2014, November 06",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AC Snapdragon 801",
  "androidVersion": "Android 4.4.4 (KitKat), upgradable to 6.0 (Marshmallow)",
  "battery_raw": "Li-Ion 3100 mAh, non-removable",
  "cpu_raw": "Quad-core 2.5 GHz Krait 400",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.2 inches, 74.5 cm<sup>2</sup> (~70.9% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 330",
  "internal_raw": "16GB 3GB RAM, 32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "20.7 MP, f/2.0, 25mm (wide), 1/2.3\", 1.12µm, AF",
  "mainVideoSpecs": "4K@30fps, 1080p@60fps, 720p@120fps, HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "2.2 MP, f/2.8",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC2 (Japan)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-z3.jpg",
  "colors": [
    "Black",
    "White",
    "Copper",
    "Silver Green",
    "Purple"
  ],
  "variants": [
    {
      "id": 511475,
      "model_number": "D6603"
    },
    {
      "id": 511476,
      "model_number": "D6653"
    },
    {
      "id": 511477,
      "model_number": "D6616"
    },
    {
      "id": 511478,
      "model_number": "D6643"
    },
    {
      "id": 511479,
      "model_number": "SO-01G"
    },
    {
      "id": 511480,
      "model_number": "SOL26"
    },
    {
      "id": 511481,
      "model_number": "D6646"
    }
  ],
  "normalized_specs": {
    "id": 457332,
    "display": {
      "id": 457332,
      "size_inches": 5.2,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Scratch-resistant glass, oleophobic coating"
    },
    "processor": {
      "id": 457332,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.5
    },
    "memory_options": {
      "id": 457332,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        16,
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 457332,
      "capacities_mah": [
        3100
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457332,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 21,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457332,
      "height_mm": 146,
      "width_mm": 72,
      "thickness_mm": 7.3,
      "weight_g": 152,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457332,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 457332,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA",
        "hotspot"
      ],
      "bluetooth_version": 4,
      "bluetooth_features": [
        "A2DP",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0 (MHL 3 TV-out)",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457332,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457332,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Mi 4 JSON

GET/api/values/clean/getspecs/Xiaomi/Mi%204
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Mi%204' \
-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 4")
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 4");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Mi 4");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448269,
  "manufacturer": "Xiaomi",
  "model": "Mi 4",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2014, July. Released 2014, August",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AC Snapdragon 801",
  "androidVersion": "Android 4.4.3 (KitKat), upgradable to 6.0.1 (Marshmallow), MIUI 10",
  "battery_raw": "Li-Ion 3080 mAh, non-removable",
  "cpu_raw": "Quad-core 2.5 GHz Krait 400",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~72.3% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 330",
  "internal_raw": "16GB 2GB RAM, 64GB 3GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "13 MP, f/1.8, 1/3.1\", 1.12µm, AF",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, 720p@120fps, HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "8 MP, f/1.8",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC2",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-mi-4.jpg",
  "colors": [
    "Black",
    "White"
  ],
  "variants": [
    {
      "id": 500683,
      "model_number": "2014215"
    }
  ],
  "normalized_specs": {
    "id": 448274,
    "display": {
      "id": 448274,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448274,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.5
    },
    "memory_options": {
      "id": 448274,
      "available_ram_gb": [
        2,
        3
      ],
      "available_storage_gb": [
        16,
        64
      ],
      "has_card_slot": false,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 448274,
      "capacities_mah": [
        3080
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448274,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448274,
      "height_mm": 139.2,
      "width_mm": 68.5,
      "thickness_mm": 8.9,
      "weight_g": 149,
      "build_materials": [
        "Glass front",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Micro-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448274,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448274,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA",
        "hotspot"
      ],
      "bluetooth_version": 4,
      "bluetooth_features": [
        "A2DP"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448274,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448274,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons