Specs comparison
Huawei P50 Pro vs Xiaomi 12
On the 8 metrics where both phones differ and a direction is meaningful, the two devices split evenly. Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.
| Specification | Huawei P50 Pro | Xiaomi 12 |
|---|---|---|
| Release | ||
| Announced | 2021, July 29 | 2021, December 28 |
| Status | Available. Released 2021, August 12 | Available. Released 2021, December 31 |
| Launch price (USD) | — | $370 |
| Display | ||
| Size | 6.6 in | 6.28 in |
| Panel | OLED | AMOLED |
| Refresh rate | 120 Hz | 120 Hz |
| Peak brightness | — | 1,100 nits |
| Resolution | OLED, 1B colors, 120Hz | AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak) |
| Protection | — | Corning Gorilla Glass Victus |
| Platform | ||
| Chipset | Kirin 9000 , Qualcomm SM8350 Snapdragon 888 4G (5 nm) | Qualcomm SM8450 Snapdragon 8 Gen 1 |
| CPU | Octa-core (1x3.13 GHz Cortex-A77 & 3x2.54 GHz Cortex-A77 & 4x2.05 GHz Cortex-A55), Octa-core (1x2.84 GHz Cortex-X1 & 3x2.42 GHz Cortex-A78 & 4x1.80 GHz Cortex-A55) | Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510) |
| Cores | 8 | 8 |
| Max clock | 3.13 GHz | 3 GHz |
| GPU | Mali-G78 MP24, Adreno 660 | Adreno 730 |
| OS | HarmonyOS 2.0 (China), EMUI 14.2 (Europe), no Google Play Services | Android 12, MIUI 13 |
| AnTuTu | 793876 (v8) | 985115 (v9) GeekBench: 3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen) |
| Geekbench | 3145 (v5.1) GFXBench: 44fps (ES 3.1 onscreen) | 3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen) |
| Memory | ||
| RAM options | 8 GB / 12 GB | 8 GB / 12 GB |
| Storage options | 128 GB / 256 GB / 512 GB | 128 GB / 256 GB |
| Storage tech | — | UFS 3.1 |
| microSD slot | No | No |
| Battery | ||
| Capacity | 4360 mAh | 4500 mAh |
| Wired charging | 66 W | 67 W |
| Wireless charging | Yes | Yes |
| Cameras | ||
| Rear lenses | 4 | 3 |
| Main resolution | 64 MP | 50 MP |
| Rear camera | 50 MP, f/1.8, 23mm (wide), PDAF, OIS, 64 MP, f/3.5, 90mm (periscope telephoto), PDAF, OIS, 3.5x optical zoom, 7x lossless zoom, 13 MP, f/2.2, 13mm (ultrawide), AF, 40 MP, f/1.6, 23mm (B/W), AF | 50 MP, f/1.9, 26mm (wide), 1/1.56", 1.0µm, PDAF, OIS, 13 MP, f/2.4, 12mm, 123˚ (ultrawide), 1/3.06", 1.12µm, 5 MP, f/2.4, 50mm (telephoto macro), AF |
| Rear video | 4K@30/60fps, 1080p@30/60fps, 1080p@960fps; gyro-EIS | 8K@24fps (HDR), 4K@30/60fps (HDR10+), 1080p@30/120/240/960fps, 720p@1920fps, gyro-EIS |
| Front camera | 13 MP, f/2.4, (wide), AF | 32 MP, f/2.5, 26mm (wide), 0.7µm |
| Body | ||
| Weight | 195 g | 179 g |
| Thickness | 8.5 mm | 8.2 mm |
| Height | 158.8 mm | 152.7 mm |
| Width | 72.8 mm | 69.9 mm |
| IP rating | IP68 | — |
| Materials | Glass front, glass back, aluminum frame | Glass front (Gorilla Glass Victus), glass back (Gorilla Glass 5), aluminum frame |
| SIM | Nano-SIM | Nano-SIM |
| Sound and connectivity | ||
| Stereo speakers | Yes | Yes |
| 3.5 mm jack | No | No |
| NFC | Yes | Yes |
| Bluetooth | 5.2 | 5.2 |
| Wi-Fi | Wi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct | Wi-Fi 802.11 a/b/g/n/ac/6 or 6e (market dependent), dual-band, Wi-Fi Direct |
| USB | USB Type-C 3.1 | USB Type-C 2.0 |
| Infrared | Yes | Yes |
Huawei P50 Pro JSON
GET/api/values/clean/getspecs/Huawei/P50%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/P50%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 DeviceSpecsClientclient = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")device = client.get_specs("Huawei", "P50 Pro")print(device["normalized_specs"]["display"])TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");const device = await client.getSpecs("Huawei", "P50 Pro");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Huawei", "P50 Pro");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 452568,
"manufacturer": "Huawei",
"model": "P50 Pro",
"network": "GSM / CDMA / HSPA / CDMA2000 / LTE",
"announceDate": "2021, July 29",
"status": "Available. Released 2021, August 12",
"chipset": "Kirin 9000 <br>Qualcomm SM8350 Snapdragon 888 4G (5 nm)",
"androidVersion": "HarmonyOS 2.0 (China), EMUI 14.2 (Europe), no Google Play Services",
"battery_raw": "Li-Po 4360 mAh",
"cpu_raw": "Octa-core (1x3.13 GHz Cortex-A77 & 3x2.54 GHz Cortex-A77 & 4x2.05 GHz Cortex-A55)<br>Octa-core (1x2.84 GHz Cortex-X1 & 3x2.42 GHz Cortex-A78 & 4x1.80 GHz Cortex-A55)",
"displayResolution_raw": "OLED, 1B colors, 120Hz",
"displaySize_raw": "6.6 inches, 105.4 cm<sup>2</sup> (~91.2% screen-to-body ratio)",
"displayType_raw": "OLED, 1B colors, 120Hz",
"gpu": "Mali-G78 MP24<br>Adreno 660",
"internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 512GB 8GB RAM, 512GB 12GB RAM",
"mainCameraFeatures": "Laser AF, color spectrum sensor, Leica optics, dual-LED flash, panorama, HDR",
"mainCameraSpecs_raw": "50 MP, f/1.8, 23mm (wide), PDAF, OIS<br>\n64 MP, f/3.5, 90mm (periscope telephoto), PDAF, OIS, 3.5x optical zoom, 7x lossless zoom<br>\n13 MP, f/2.2, 13mm (ultrawide), AF<br>\n40 MP, f/1.6, 23mm (B/W), AF",
"mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, 1080p@960fps; gyro-EIS",
"selfieCameraFeatures": "Panorama, HDR",
"selfieCameraSpecs_raw": "13 MP, f/2.4, (wide), AF",
"selfieVideoSpecs": "4K@30fps, 1080p@30/60/240fps",
"sensors": "",
"charging_raw": "66W wired\n50W wireless\nReverse wireless charging",
"price_usd": 0,
"price_eur": 0,
"price_gbp": 0,
"imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-p50-pro.jpg",
"colors": [
"Golden Black",
"Cocoa Gold",
"Pearl White",
"Charm Pink"
],
"variants": [
{
"id": 507296,
"model_number": "JAD-AL50"
},
{
"id": 507297,
"model_number": "JAD-LX9"
},
{
"id": 507298,
"model_number": "JAD-AL00"
},
{
"id": 507299,
"model_number": "JAD-AL80"
}
],
"normalized_specs": {
"id": 452573,
"display": {
"id": 452573,
"size_inches": 6.6,
"panel_type": "OLED",
"refresh_rate_hz": 120,
"peak_brightness_nits": 0,
"protection_type": ""
},
"processor": {
"id": 452573,
"total_cores": 8,
"max_clock_speed_ghz": 3.13
},
"memory_options": {
"id": 452573,
"available_ram_gb": [
8,
12
],
"available_storage_gb": [
128,
256,
512
],
"has_card_slot": false,
"storage_technology": ""
},
"battery_and_charging": {
"id": 452573,
"capacities_mah": [
4360
],
"max_wired_charging_w": 66,
"has_wireless_charging": true
},
"cameras": {
"id": 452573,
"main_lenses_count": 4,
"max_main_resolution_mp": 64,
"selfie_lenses_count": 1
},
"physical": {
"id": 452573,
"height_mm": 158.8,
"width_mm": 72.8,
"thickness_mm": 8.5,
"weight_g": 195,
"build_materials": [
"Glass front",
"glass back",
"aluminum frame"
],
"sim_options": [
"Nano-SIM"
],
"ip_rating": "IP68",
"is_water_resistant": true
},
"sound": {
"id": 452573,
"has_stereo_speakers": true,
"has_jack_35mm": false,
"audio_quality_features": []
},
"connectivity": {
"id": 452573,
"wlan_features": [
"Wi-Fi 802.11 a/b/g/n/ac/6",
"dual-band",
"Wi-Fi Direct"
],
"bluetooth_version": 5.2,
"bluetooth_features": [
"A2DP",
"LE"
],
"positioning_tech": [
"GPS",
"GLONASS",
"BDS",
"GALILEO",
"QZSS",
"NavIC"
],
"has_nfc": true,
"has_infrared": true,
"has_radio": false,
"usb_type": "USB Type-C 3.1",
"usb_has_otg": true
},
"benchmarks": {
"id": 452573,
"antutu_score": "793876 (v8)",
"geekbench_score": "3145 (v5.1) GFXBench: 44fps (ES 3.1 onscreen)",
"measured_display_brightness_nits": 754,
"measured_loudspeaker_lufs": -27.3,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 452573,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}Xiaomi 12 JSON
GET/api/values/clean/getspecs/Xiaomi/12
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/12' \ -H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ -H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClientclient = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")device = client.get_specs("Xiaomi", "12")print(device["normalized_specs"]["display"])TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");const device = await client.getSpecs("Xiaomi", "12");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Xiaomi", "12");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 448031,
"manufacturer": "Xiaomi",
"model": "12",
"network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
"announceDate": "2021, December 28",
"status": "Available. Released 2021, December 31",
"chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
"androidVersion": "Android 12, MIUI 13",
"battery_raw": "Li-Po 4500 mAh",
"cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)",
"displayResolution_raw": "AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)",
"displaySize_raw": "6.28 inches, 95.2 cm<sup>2</sup> (~89.2% screen-to-body ratio)",
"displayType_raw": "AMOLED, 68B colors, 120Hz, Dolby Vision, HDR10+, 1100 nits (peak)",
"gpu": "Adreno 730",
"internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM",
"mainCameraFeatures": "Color spectrum sensor, Dual-LED dual-tone flash, HDR, panorama",
"mainCameraSpecs_raw": "50 MP, f/1.9, 26mm (wide), 1/1.56\", 1.0µm, PDAF, OIS<br>\n13 MP, f/2.4, 12mm, 123˚ (ultrawide), 1/3.06\", 1.12µm<br>\n5 MP, f/2.4, 50mm (telephoto macro), AF",
"mainVideoSpecs": "8K@24fps (HDR), 4K@30/60fps (HDR10+), 1080p@30/120/240/960fps, 720p@1920fps, gyro-EIS",
"selfieCameraFeatures": "HDR, panorama",
"selfieCameraSpecs_raw": "32 MP, f/2.5, 26mm (wide), 0.7µm",
"selfieVideoSpecs": "1080p@30/60fps, 720p@120fps, HDR",
"sensors": "",
"charging_raw": "67W wired, PD3.0, QC4, 100% in 39 min\n50W wireless, 100% in 53 min\n10W reverse wireless",
"price_usd": 369.99,
"price_eur": 232.52,
"price_gbp": 249.99,
"imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-12.jpg",
"colors": [
"Gray",
"Blue",
"Purple",
"Green"
],
"variants": [
{
"id": 500345,
"model_number": "2201123G"
},
{
"id": 500346,
"model_number": "2201123C"
}
],
"normalized_specs": {
"id": 448036,
"display": {
"id": 448036,
"size_inches": 6.28,
"panel_type": "AMOLED",
"refresh_rate_hz": 120,
"peak_brightness_nits": 1100,
"protection_type": "Corning Gorilla Glass Victus"
},
"processor": {
"id": 448036,
"total_cores": 8,
"max_clock_speed_ghz": 3
},
"memory_options": {
"id": 448036,
"available_ram_gb": [
8,
12
],
"available_storage_gb": [
128,
256
],
"has_card_slot": false,
"storage_technology": "UFS 3.1"
},
"battery_and_charging": {
"id": 448036,
"capacities_mah": [
4500
],
"max_wired_charging_w": 67,
"has_wireless_charging": true
},
"cameras": {
"id": 448036,
"main_lenses_count": 3,
"max_main_resolution_mp": 50,
"selfie_lenses_count": 1
},
"physical": {
"id": 448036,
"height_mm": 152.7,
"width_mm": 69.9,
"thickness_mm": 8.2,
"weight_g": 179,
"build_materials": [
"Glass front (Gorilla Glass Victus)",
"glass back (Gorilla Glass 5)",
"aluminum frame"
],
"sim_options": [
"Nano-SIM"
],
"ip_rating": "",
"is_water_resistant": false
},
"sound": {
"id": 448036,
"has_stereo_speakers": true,
"has_jack_35mm": false,
"audio_quality_features": [
"24-bit/192kHz Hi-Res audio Tuned by Harman Kardon Snapdragon Sound"
]
},
"connectivity": {
"id": 448036,
"wlan_features": [
"Wi-Fi 802.11 a/b/g/n/ac/6 or 6e (market dependent)",
"dual-band",
"Wi-Fi Direct"
],
"bluetooth_version": 5.2,
"bluetooth_features": [
"A2DP",
"LE",
"aptX HD",
"aptX Adaptive"
],
"positioning_tech": [
"GPS",
"GLONASS",
"BDS",
"GALILEO",
"QZSS",
"NavIC"
],
"has_nfc": true,
"has_infrared": true,
"has_radio": false,
"usb_type": "USB Type-C 2.0",
"usb_has_otg": true
},
"benchmarks": {
"id": 448036,
"antutu_score": "985115 (v9) GeekBench: 3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)",
"geekbench_score": "3652 (v5.1) GFXBench: 75fps (ES 3.1 onscreen)",
"measured_display_brightness_nits": 896,
"measured_loudspeaker_lufs": -25.3,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 448036,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}
