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 G6 vs Xiaomi Mi 5s

LG G6 leads on 5 of the 6 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 G6

LG G6

2017 · Qualcomm MSM8996 Snapdragon 821
VS
Xiaomi Mi 5s

Xiaomi Mi 5s

2016 · Qualcomm MSM8996 Snapdragon 821
SpecificationLG G6Xiaomi Mi 5s
Release
Announced2017, February 26. Released 2017, April 072016, September. Released 2016, October
StatusDiscontinuedDiscontinued
Display
Size5.7 in5.15 in
PanelIPS LCDIPS LCD
ResolutionIPS LCD, HDR10, Dolby VisionIPS LCD
ProtectionCorning Gorilla Glass 3To be confirmed
Platform
ChipsetQualcomm MSM8996 Snapdragon 821Qualcomm MSM8996 Snapdragon 821
CPUQuad-core (2x2.35 GHz Kryo & 2x1.6 GHz Kryo)Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)
Cores44
Max clock2.35 GHz2.15 GHz
GPUAdreno 530Adreno 530
OSAndroid 7.0 (Nougat), upgradable to Android 9.0 (Pie), LG UX 8 UIAndroid 6.0 (Marshmallow), upgradable to 7.0 (Nougat), MIUI 10
AnTuTu158785 (v7) GeekBench: 4175 (v4.4) GFXBench: 8.5fps (ES 3.1 onscreen)—
Geekbench4175 (v4.4) GFXBench: 8.5fps (ES 3.1 onscreen)—
Memory
RAM options4 GB3 GB / 4 GB
Storage options32 GB / 64 GB / 128 GB64 GB / 128 GB
Storage techUFS 2.0—
microSD slotYesNo
Battery
Capacity3300 mAh3200 mAh
Wired charging18 W18 W
Wireless chargingYesNo
Cameras
Rear lenses21
Main resolution13 MP12 MP
Rear camera13 MP, f/1.8, 30mm (standard), 1/3.1", 1.12µm, PDAF, 3-axis OIS, 13 MP, f/2.4, 12mm (ultrawide), no AF12 MP, f/2.0, 1/2.3", 1.55µm, PDAF
Rear video4K@30fps, 1080p@30/60fps, HDR, 24-bit/192kHz stereo sound rec.4K@30fps, 1080p@120fps
Front camera5 MP, f/2.2, 18mm4 MP, f/2.0, 1/3", 2µm
Body
Weight163 g145 g
Thickness7.9 mm8.3 mm
Height148.9 mm145.6 mm
Width71.9 mm70.3 mm
IP ratingIP68—
MaterialsGlass front (Gorilla Glass 3), glass back (Gorilla Glass 5), aluminum frameGlass front, aluminum back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesYes
Bluetooth4.24.2
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, DLNA
USBUSB Type-C 3.1USB Type-C
InfraredNoNo

LG G6 JSON

GET/api/values/clean/getspecs/LG/G6
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/LG/G6' \
-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", "G6")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("LG", "G6");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("LG", "G6");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448427,
  "manufacturer": "LG",
  "model": "G6",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, February 26. Released 2017, April 07",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8996 Snapdragon 821",
  "androidVersion": "Android 7.0 (Nougat), upgradable to Android 9.0 (Pie), LG UX 8 UI",
  "battery_raw": "Li-Po 3300 mAh, non-removable",
  "cpu_raw": "Quad-core (2x2.35 GHz Kryo & 2x1.6 GHz Kryo)",
  "displayResolution_raw": "IPS LCD, HDR10, Dolby Vision",
  "displaySize_raw": "5.7 inches, 84.1 cm<sup>2</sup> (~78.6% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, HDR10, Dolby Vision",
  "gpu": "Adreno 530",
  "internal_raw": "32GB 4GB RAM, 64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, f/1.8, 30mm (standard), 1/3.1\", 1.12µm, PDAF, 3-axis OIS<br>\n13 MP, f/2.4, 12mm (ultrawide), no AF",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60fps, HDR, 24-bit/192kHz stereo sound rec.",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.2, 18mm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC3, 50% in 30 min\nWireless (USA)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/lg-g6-new.jpg",
  "colors": [
    "Astro Black",
    "Ice Platinum",
    "Terra Gold",
    "Marine Blue",
    "Mystic White",
    "Raspberry Rose",
    "Moroccan Blue",
    "Lavender Violet"
  ],
  "variants": [
    {
      "id": 500951,
      "model_number": "H870"
    },
    {
      "id": 500952,
      "model_number": "H870DS"
    },
    {
      "id": 500953,
      "model_number": "H873"
    },
    {
      "id": 500954,
      "model_number": "H870S"
    },
    {
      "id": 500955,
      "model_number": "LGM-G600L"
    },
    {
      "id": 500956,
      "model_number": "H872"
    },
    {
      "id": 500957,
      "model_number": "H871"
    },
    {
      "id": 500958,
      "model_number": "LS993"
    },
    {
      "id": 500959,
      "model_number": "US997"
    },
    {
      "id": 500960,
      "model_number": "vs988"
    },
    {
      "id": 500961,
      "model_number": "VS988"
    },
    {
      "id": 500962,
      "model_number": "LGM-G600K"
    },
    {
      "id": 500963,
      "model_number": "LGM-G600S"
    },
    {
      "id": 500964,
      "model_number": "AS993"
    },
    {
      "id": 500965,
      "model_number": "LGUS997"
    },
    {
      "id": 500966,
      "model_number": "H870AR"
    },
    {
      "id": 500967,
      "model_number": "H872PR"
    },
    {
      "id": 500968,
      "model_number": "H871S"
    },
    {
      "id": 500969,
      "model_number": "H870I"
    }
  ],
  "normalized_specs": {
    "id": 448432,
    "display": {
      "id": 448432,
      "size_inches": 5.7,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 448432,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.35
    },
    "memory_options": {
      "id": 448432,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        32,
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 2.0"
    },
    "battery_and_charging": {
      "id": 448432,
      "capacities_mah": [
        3300
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 448432,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448432,
      "height_mm": 148.9,
      "width_mm": 71.9,
      "thickness_mm": 7.9,
      "weight_g": 163,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 448432,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "32-bit/192kHz audio"
      ]
    },
    "connectivity": {
      "id": 448432,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448432,
      "antutu_score": "158785 (v7)  GeekBench: 4175 (v4.4)  GFXBench: 8.5fps (ES 3.1 onscreen)",
      "geekbench_score": "4175 (v4.4)  GFXBench: 8.5fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448432,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Mi 5s JSON

GET/api/values/clean/getspecs/Xiaomi/Mi%205s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Mi%205s' \
-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 5s")
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 5s");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Mi 5s");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448243,
  "manufacturer": "Xiaomi",
  "model": "Mi 5s",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2016, September. Released 2016, October",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8996 Snapdragon 821",
  "androidVersion": "Android 6.0 (Marshmallow), upgradable to 7.0 (Nougat), MIUI 10",
  "battery_raw": "Li-Ion 3200 mAh, non-removable",
  "cpu_raw": "Quad-core (2x2.15 GHz Kryo &amp; 2x1.6 GHz Kryo)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.15 inches, 73.1 cm<sup>2</sup> (~71.4% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 530",
  "internal_raw": "64GB 3GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "Dual-LED dual-tone flash, panorama",
  "mainCameraSpecs_raw": "12 MP, f/2.0, 1/2.3\", 1.55µm, PDAF",
  "mainVideoSpecs": "4K@30fps, 1080p@120fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "4 MP, f/2.0, 1/3\", 2µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC3",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-mi-5s1.jpg",
  "colors": [
    "Silver",
    "Gray",
    "Gold",
    "Rose Gold"
  ],
  "variants": [
    {
      "id": 500666,
      "model_number": "2015711"
    }
  ],
  "normalized_specs": {
    "id": 448248,
    "display": {
      "id": 448248,
      "size_inches": 5.15,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "To be confirmed"
    },
    "processor": {
      "id": 448248,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.15
    },
    "memory_options": {
      "id": 448248,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": false,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 448248,
      "capacities_mah": [
        3200
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448248,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448248,
      "height_mm": 145.6,
      "width_mm": 70.3,
      "thickness_mm": 8.3,
      "weight_g": 145,
      "build_materials": [
        "Glass front",
        "aluminum back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448248,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448248,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448248,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448248,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons