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

Google Pixel 5a 5G vs Xiaomi Redmi K30i 5G

Xiaomi Redmi K30i 5G leads on 6 of the 8 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.

Google Pixel 5a 5G

Google Pixel 5a 5G

2021 · Qualcomm SM7250 Snapdragon 765G 5G
VS
Xiaomi Redmi K30i 5G

Xiaomi Redmi K30i 5G

2020 · Qualcomm SM7250 Snapdragon 765G 5G
SpecificationGoogle Pixel 5a 5GXiaomi Redmi K30i 5G
Release
Announced2021, August 172020, May 25. Released 2020, June 07
StatusAvailable. Released 2021, August 26Discontinued
Display
Size6.34 in6.67 in
PanelOLEDIPS LCD
Refresh rate—120 Hz
ResolutionOLED, HDRIPS LCD, 120Hz, HDR10
ProtectionCorning Gorilla Glass 3Corning Gorilla Glass 5
Platform
ChipsetQualcomm SM7250 Snapdragon 765G 5GQualcomm SM7250 Snapdragon 765G 5G
CPUOcta-core (1x2.4 GHz Kryo 475 Prime & 1x2.2 GHz Kryo 475 Gold & 6x1.8 GHz Kryo 475 Silver)Octa-core (1x2.4 GHz Kryo 475 Prime & 1x2.2 GHz Kryo 475 Gold & 6x1.8 GHz Kryo 475 Silver)
Cores88
Max clock2.4 GHz2.4 GHz
GPUAdreno 620Adreno 620
OSAndroid 11, upgradable to Android 14Android 10, MIUI 11
AnTuTu291303 (v8) GeekBench: 1337 (v5.1) GFXBench: 19fps (ES 3.1 onscreen)—
Geekbench1337 (v5.1) GFXBench: 19fps (ES 3.1 onscreen)—
Memory
RAM options6 GB6 GB / 8 GB
Storage options128 GB128 GB / 256 GB
Storage tech—UFS 2.1
microSD slotNoNo
Battery
Capacity4680 mAh4500 mAh
Wired charging18 W30 W
Wireless chargingNoNo
Cameras
Rear lenses23
Main resolution16 MP48 MP
Rear camera12.2 MP, f/1.7, 27mm, (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS, 16 MP, f/2.2, 119˚ (ultrawide), 1.0µm48 MP, f/1.9, (wide), 1/2.0", 0.8µm, PDAF, 8 MP, f/2.2, 120˚ (ultrawide), 1/4.0", 1.12µm, 2 MP (macro), Auxiliary lens
Rear video4K@30/60fps, 1080p@30/60/120/240fps; gyro-EIS4K@30fps, 1080p@30fps; gyro-EIS
Front camera8 MP, f/2.0, 24mm (wide), 1.12µm20 MP, f/2.2, 27mm (wide), 1/3.4", 0.8µm, 2 MP, f/2.4, 1/5.0", 1.75µm, depth sensor
Body
Weight183 g208 g
Thickness8.8 mm8.8 mm
Height156.2 mm165.3 mm
Width73.2 mm76.6 mm
IP ratingIP67—
MaterialsGlass front (Gorilla Glass 3), aluminum frame, aluminum backGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesNo
3.5 mm jackYesYes
NFCYesYes
Bluetooth55.1
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 3.1USB Type-C 2.0
InfraredNoYes

Google Pixel 5a 5G JSON

GET/api/values/clean/getspecs/Google/Pixel%205a%205G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%205a%205G' \
-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("Google", "Pixel 5a 5G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Google", "Pixel 5a 5G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Google", "Pixel 5a 5G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452212,
  "manufacturer": "Google",
  "model": "Pixel 5a 5G",
  "network": "GSM / HSPA / EVDO / LTE / 5G",
  "announceDate": "2021, August 17",
  "status": "Available. Released 2021, August 26",
  "chipset": "Qualcomm SM7250 Snapdragon 765G 5G",
  "androidVersion": "Android 11, upgradable to Android 14",
  "battery_raw": "Li-Po 4680 mAh",
  "cpu_raw": "Octa-core (1x2.4 GHz Kryo 475 Prime & 1x2.2 GHz Kryo 475 Gold & 6x1.8 GHz Kryo 475 Silver)",
  "displayResolution_raw": "OLED, HDR",
  "displaySize_raw": "6.34 inches, 97.0 cm<sup>2</sup> (~84.9% screen-to-body ratio)",
  "displayType_raw": "OLED, HDR",
  "gpu": "Adreno 620",
  "internal_raw": "128GB 6GB RAM",
  "mainCameraFeatures": "LED flash, Pixel Shift, Auto-HDR, panorama",
  "mainCameraSpecs_raw": "12.2 MP, f/1.7, 27mm, (wide), 1/2.55\", 1.4µm, dual pixel PDAF, OIS<br>\n16 MP, f/2.2, 119˚ (ultrawide), 1.0µm",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/120/240fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "8 MP, f/2.0, 24mm (wide), 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, PD2.0",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/google-pixel-5a-5g.jpg",
  "colors": [
    "Mostly Black"
  ],
  "variants": [
    {
      "id": 506072,
      "model_number": "G1F8F"
    },
    {
      "id": 506073,
      "model_number": "G4S1M"
    }
  ],
  "normalized_specs": {
    "id": 452217,
    "display": {
      "id": 452217,
      "size_inches": 6.34,
      "panel_type": "OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 452217,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.4
    },
    "memory_options": {
      "id": 452217,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 452217,
      "capacities_mah": [
        4680
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452217,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452217,
      "height_mm": 156.2,
      "width_mm": 73.2,
      "thickness_mm": 8.8,
      "weight_g": 183,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "aluminum frame",
        "aluminum back"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP67",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452217,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452217,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "QZSS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 452217,
      "antutu_score": "291303 (v8)  GeekBench: 1337 (v5.1)  GFXBench: 19fps (ES 3.1 onscreen)",
      "geekbench_score": "1337 (v5.1)  GFXBench: 19fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 861,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452217,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Redmi K30i 5G JSON

GET/api/values/clean/getspecs/Xiaomi/Redmi%20K30i%205G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Redmi%20K30i%205G' \
-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", "Redmi K30i 5G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Redmi K30i 5G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Redmi K30i 5G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448142,
  "manufacturer": "Xiaomi",
  "model": "Redmi K30i 5G",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2020, May 25. Released 2020, June 07",
  "status": "Discontinued",
  "chipset": "Qualcomm SM7250 Snapdragon 765G 5G",
  "androidVersion": "Android 10, MIUI 11",
  "battery_raw": "Li-Po 4500 mAh",
  "cpu_raw": "Octa-core (1x2.4 GHz Kryo 475 Prime &amp; 1x2.2 GHz Kryo 475 Gold &amp; 6x1.8 GHz Kryo 475 Silver)",
  "displayResolution_raw": "IPS LCD, 120Hz, HDR10",
  "displaySize_raw": "6.67 inches, 107.4 cm<sup>2</sup> (~84.8% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, 120Hz, HDR10",
  "gpu": "Adreno 620",
  "internal_raw": "128GB 6GB RAM, 128GB 8GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "48 MP, f/1.9, (wide), 1/2.0\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 120˚ (ultrawide), 1/4.0\", 1.12µm<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "20 MP, f/2.2, 27mm (wide), 1/3.4\", 0.8µm<br>\n2 MP, f/2.4, 1/5.0\", 1.75µm, depth sensor",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "30W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-redmi-k30i-5g-.jpg",
  "colors": [
    "Blue",
    "White",
    "Red",
    "Purple"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 448147,
    "display": {
      "id": 448147,
      "size_inches": 6.67,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 448147,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.4
    },
    "memory_options": {
      "id": 448147,
      "available_ram_gb": [
        6,
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 448147,
      "capacities_mah": [
        4500
      ],
      "max_wired_charging_w": 30,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448147,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 2
    },
    "physical": {
      "id": 448147,
      "height_mm": 165.3,
      "width_mm": 76.6,
      "thickness_mm": 8.8,
      "weight_g": 208,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448147,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 448147,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.1,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448147,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448147,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons