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

LG Nexus 5X vs Xiaomi Mi 4s

Xiaomi Mi 4s leads on 6 of the 7 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.

LG Nexus 5X

LG Nexus 5X

2015 · Qualcomm MSM8992 Snapdragon 808
VS
Xiaomi Mi 4s

Xiaomi Mi 4s

2016 · Qualcomm MSM8992 Snapdragon 808
SpecificationLG Nexus 5XXiaomi Mi 4s
Release
Announced2015, September. Released 2015, October2016, February. Released 2016, March
StatusDiscontinuedDiscontinued
Display
Size5.2 in5 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
ProtectionCorning Gorilla Glass 3, oleophobic coating—
Platform
ChipsetQualcomm MSM8992 Snapdragon 808Qualcomm MSM8992 Snapdragon 808
CPUHexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)Hexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)
Cores66
Max clock1.8 GHz1.8 GHz
GPUAdreno 418Adreno 418
OSAndroid 6.0 (Marshmallow), upgradable to Android 8.0 (Oreo)Android 5.1 (Lollipop), upgradable to 7.0 (Nougat), MIUI 10
Memory
RAM options2 GB3 GB
Storage options16 GB / 32 GB64 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotNoYes
Battery
Capacity2700 mAh3260 mAh
Wired charging—18 W
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution12 MP13 MP
Rear camera12.3 MP, f/2.0, 26mm (wide), 1/2.3", 1.55µm13 MP, f/2.0, PDAF
Rear video4K@30fps, 1080p@30fps, 720p@120fps, HDR1080p@30fps, 720p@120fps
Front camera5 MP, f/2.0, 1/4.0", 1.4µm5 MP, f/2.0
Body
Weight136 g133 g
Thickness7.9 mm7.8 mm
Height147 mm139.3 mm
Width72.6 mm70.8 mm
MaterialsGlass front (Gorilla Glass 3), plastic back, plastic frame—
SIMNano-SIMNano-SIM, Micro-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesNo
Bluetooth4.24.1
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, hotspot
USBUSB Type-C 2.0USB Type-C
InfraredNoYes

LG Nexus 5X JSON

GET/api/values/clean/getspecs/LG/Nexus%205X
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/LG/Nexus%205X' \
-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("LG", "Nexus 5X")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("LG", "Nexus 5X");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("LG", "Nexus 5X");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448471,
  "manufacturer": "LG",
  "model": "Nexus 5X",
  "network": "GSM / CDMA / HSPA / LTE",
  "announceDate": "2015, September. Released 2015, October",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8992 Snapdragon 808",
  "androidVersion": "Android 6.0 (Marshmallow), upgradable to Android 8.0 (Oreo)",
  "battery_raw": "Li-Po 2700 mAh, non-removable",
  "cpu_raw": "Hexa-core (4x1.4 GHz Cortex-A53 & 2x1.8 GHz Cortex-A57)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.2 inches, 74.9 cm<sup>2</sup> (~70.2% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 418",
  "internal_raw": "16GB 2GB RAM, 32GB 2GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED dual-tone flash, HDR, panorama",
  "mainCameraSpecs_raw": "12.3 MP, f/2.0, 26mm (wide), 1/2.3\", 1.55µm",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, 720p@120fps, HDR",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "5 MP, f/2.0, 1/4.0\", 1.4µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/lg-nexus-5x-.jpg",
  "colors": [
    "Carbon",
    "Quartz",
    "Ice"
  ],
  "variants": [
    {
      "id": 501122,
      "model_number": "Nexus 5X"
    },
    {
      "id": 501123,
      "model_number": "H791"
    }
  ],
  "normalized_specs": {
    "id": 448476,
    "display": {
      "id": 448476,
      "size_inches": 5.2,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3, oleophobic coating"
    },
    "processor": {
      "id": 448476,
      "total_cores": 6,
      "max_clock_speed_ghz": 1.8
    },
    "memory_options": {
      "id": 448476,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        16,
        32
      ],
      "has_card_slot": false,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 448476,
      "capacities_mah": [
        2700
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448476,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448476,
      "height_mm": 147,
      "width_mm": 72.6,
      "thickness_mm": 7.9,
      "weight_g": 136,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448476,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448476,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448476,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448476,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Mi 4s JSON

GET/api/values/clean/getspecs/Xiaomi/Mi%204s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Mi%204s' \
-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 4s")
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 4s");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Mi 4s");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448252,
  "manufacturer": "Xiaomi",
  "model": "Mi 4s",
  "network": "GSM / CDMA / HSPA / LTE",
  "announceDate": "2016, February. Released 2016, March",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8992 Snapdragon 808",
  "androidVersion": "Android 5.1 (Lollipop), upgradable to 7.0 (Nougat), MIUI 10",
  "battery_raw": "Li-Ion 3260 mAh, non-removable",
  "cpu_raw": "Hexa-core (4x1.4 GHz Cortex-A53 &amp; 2x1.8 GHz Cortex-A57)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~69.9% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 418",
  "internal_raw": "64GB 3GB RAM",
  "mainCameraFeatures": "Dual-LED dual-tone flash, panorama, HDR",
  "mainCameraSpecs_raw": "13 MP, f/2.0, PDAF",
  "mainVideoSpecs": "1080p@30fps, 720p@120fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.0",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC2, 40% in 60 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-mi-4s.jpg",
  "colors": [
    "Black",
    "White",
    "Gold",
    "Pink"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 448257,
    "display": {
      "id": 448257,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448257,
      "total_cores": 6,
      "max_clock_speed_ghz": 1.8
    },
    "memory_options": {
      "id": 448257,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        64
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 448257,
      "capacities_mah": [
        3260
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448257,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448257,
      "height_mm": 139.3,
      "width_mm": 70.8,
      "thickness_mm": 7.8,
      "weight_g": 133,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM",
        "Micro-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448257,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448257,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "hotspot"
      ],
      "bluetooth_version": 4.1,
      "bluetooth_features": [
        "A2DP"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448257,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448257,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons