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

HTC U Ultra vs Xiaomi Mi 5s

Xiaomi Mi 5s leads on 2 of the 3 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.

HTC U Ultra

HTC U Ultra

2017 · Qualcomm MSM8996 Snapdragon 821
VS
Xiaomi Mi 5s

Xiaomi Mi 5s

2016 · Qualcomm MSM8996 Snapdragon 821
SpecificationHTC U UltraXiaomi Mi 5s
Release
Announced2017, January 12. Released 2017, February 212016, September. Released 2016, October
StatusDiscontinuedDiscontinued
Display
Size5.7 in5.15 in
PanelSuper LCD5IPS LCD
ResolutionSuper LCD5IPS LCD
ProtectionCorning Gorilla Glass 5 (64 GB version) Sapphire crystal glass (128 GB version)To be confirmed
Platform
ChipsetQualcomm MSM8996 Snapdragon 821Qualcomm MSM8996 Snapdragon 821
CPUQuad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)
Cores44
Max clock2.15 GHz2.15 GHz
GPUAdreno 530Adreno 530
OSAndroid 7.0 (Nougat), upgradable to Android 8.0 (Oreo)Android 6.0 (Marshmallow), upgradable to 7.0 (Nougat), MIUI 10
Memory
RAM options4 GB3 GB / 4 GB
Storage options64 GB / 128 GB64 GB / 128 GB
microSD slotYesNo
Battery
Capacity3000 mAh3200 mAh
Wired charging18 W18 W
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution12 MP12 MP
Rear camera12 MP, f/1.8, 26mm (wide), 1/2.3", 1.55µm, PDAF, OIS12 MP, f/2.0, 1/2.3", 1.55µm, PDAF
Rear video4K@30fps (24-bit/192kHz audio), 720p@120fps4K@30fps, 1080p@120fps
Front camera16 MP, f/2.0, 27mm (wide), 1/3.06", 1.0µm4 MP, f/2.0, 1/3", 2µm
Body
Weight170 g145 g
Thickness8 mm8.3 mm
Height162.4 mm145.6 mm
Width79.8 mm70.3 mm
MaterialsGlass front (Gorilla Glass 5 or Sapphire crystal), glass back, aluminum frameGlass front, aluminum back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackNoYes
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

HTC U Ultra JSON

GET/api/values/clean/getspecs/HTC/U%20Ultra
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/U%20Ultra' \
-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("HTC", "U Ultra")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("HTC", "U Ultra");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("HTC", "U Ultra");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454788,
  "manufacturer": "HTC",
  "model": "U Ultra",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, January 12. Released 2017, February 21",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8996 Snapdragon 821",
  "androidVersion": "Android 7.0 (Nougat), upgradable to Android 8.0 (Oreo)",
  "battery_raw": "Li-Ion 3000 mAh, non-removable",
  "cpu_raw": "Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)",
  "displayResolution_raw": "Super LCD5",
  "displaySize_raw": "5.7 inches, 90.3 cm<sup>2</sup> (~69.7% screen-to-body ratio)",
  "displayType_raw": "Super LCD5",
  "gpu": "Adreno 530",
  "internal_raw": "64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED dual-tone flash, panorama",
  "mainCameraSpecs_raw": "12 MP, f/1.8, 26mm (wide), 1/2.3\", 1.55µm, PDAF, OIS",
  "mainVideoSpecs": "4K@30fps (24-bit/192kHz audio), 720p@120fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 27mm (wide), 1/3.06\", 1.0µ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/htc-u-ultra.jpg",
  "colors": [
    "Brilliant Black",
    "Cosmetic Pink",
    "Ice White",
    "Sapphire Blue"
  ],
  "variants": [
    {
      "id": 509461,
      "model_number": "U Ultra"
    },
    {
      "id": 509462,
      "model_number": "U-1u"
    },
    {
      "id": 509463,
      "model_number": "2PZF1"
    }
  ],
  "normalized_specs": {
    "id": 454793,
    "display": {
      "id": 454793,
      "size_inches": 5.7,
      "panel_type": "Super LCD5",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5 (64 GB version) Sapphire crystal glass (128 GB version)"
    },
    "processor": {
      "id": 454793,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.15
    },
    "memory_options": {
      "id": 454793,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 454793,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454793,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454793,
      "height_mm": 162.4,
      "width_mm": 79.8,
      "thickness_mm": 8,
      "weight_g": 170,
      "build_materials": [
        "Glass front (Gorilla Glass 5 or Sapphire crystal)",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 454793,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz audio"
      ]
    },
    "connectivity": {
      "id": 454793,
      "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 3.1",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 454793,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454793,
      "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