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
Huawei P40 4G
Announced 2021, February 26

Huawei P40 4G specifications

The Huawei P40 4G was announced in 2021, February 26. It has a 6.1-inch OLED display, Kirin 990 chipset, 4 GB / 8 GB RAM, 3,800 mAh battery, 50 MP main camera. Every value below comes from one call to the Device Specs API and is returned as typed JSON, ready for comparison engines, catalogs and AI agents.

Normalized specification sheet

Display

Size6.1 inches
PanelOLED
Resolution (raw)OLED

Platform

ChipsetKirin 990
CPUOcta-core (2x2.86 GHz Cortex-A76 & 2x2.09 GHz Cortex-A76 & 4x1.86 GHz Cortex-A55)
Cores8
Max clock2.86 GHz
GPUMali-G76 MP16
OSAndroid 10, EMUI, no Google Play Services

Memory and storage

RAM options4 GB / 8 GB
Storage options128 GB
Storage techUFS 3.0
microSD slotNo
Configurations (raw)128GB 4GB RAM, 128GB 8GB RAM

Battery and charging

Capacity3800 mAh
Wired charging5 W
Wireless chargingNo
Charging (raw)22.5W wired

Cameras

Rear lenses3
Max rear resolution50 MP
Rear camera (raw)50 MP, f/1.9, 23mm (wide), 1/1.28", 1.22µm, multi-directional PDAF, OIS, 8 MP, f/2.4, 80mm (telephoto), PDAF, OIS, 3x optical zoom, 16 MP, f/2.2, 17mm (ultrawide), AF
Rear video4K@30/60fps, 1080p@30/60fps, 720p@960fps; gyro-EIS
Front lenses1
Front camera (raw)32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm, IR TOF 3D, (biometrics sensor only)
Front video4K@30/60fps, 1080p@30/60fps

Body

Dimensions148.9 × 71.1 × 8.5 mm
Weight175 g
MaterialsGlass front, glass back, aluminum frame
SIMNano-SIM, eSIM
IP ratingIP53
ColoursFrost Silver, Dark Blue

Sound

Stereo speakersNo
3.5 mm jackNo

Connectivity

NetworkGSM / HSPA / LTE
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct
Bluetooth5.1, A2DP, LE
PositioningGPS, GLONASS, BDS, GALILEO, QZSS, NavIC
NFCYes
InfraredNo
FM radioNo
USBUSB Type-C 3.1
USB OTGYes

Benchmarks and EU label

Identity and pricing

Announced2021, February 26
StatusAvailable. Released 2021, February 26
Model numbersANA-AL00
GET /api/values/clean/getspecs/Huawei/P40%204G200 OK
{
  "id": 452584,
  "manufacturer": "Huawei",
  "model": "P40 4G",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2021, February 26",
  "status": "Available. Released 2021, February 26",
  "chipset": "Kirin 990",
  "androidVersion": "Android 10, EMUI, no Google Play Services",
  "battery_raw": "Li-Po 3800 mAh",
  "cpu_raw": "Octa-core (2x2.86 GHz Cortex-A76 & 2x2.09 GHz Cortex-A76 & 4x1.86 GHz Cortex-A55)",
  "displayResolution_raw": "OLED",
  "displaySize_raw": "6.1 inches, 91.3 cm<sup>2</sup> (~86.3% screen-to-body ratio)",
  "displayType_raw": "OLED",
  "gpu": "Mali-G76 MP16",
  "internal_raw": "128GB 4GB RAM, 128GB 8GB RAM",
  "mainCameraFeatures": "Leica optics, color spectrum sensor, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 23mm (wide), 1/1.28\", 1.22µm, multi-directional PDAF, OIS<br>\n8 MP, f/2.4, 80mm (telephoto), PDAF, OIS, 3x optical zoom<br>\n16 MP, f/2.2, 17mm (ultrawide), AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, 720p@960fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µm<br>\nIR TOF 3D, (biometrics sensor only)",
  "selfieVideoSpecs": "4K@30/60fps, 1080p@30/60fps",
  "sensors": "",
  "charging_raw": "22.5W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-p40-4g.jpg",
  "colors": [
    "Frost Silver",
    "Dark Blue"
  ],
  "variants": [
    {
      "id": 507320,
      "model_number": "ANA-AL00"
    }
  ],
  "normalized_specs": {
    "id": 452589,
    "display": {
      "id": 452589,
      "size_inches": 6.1,
      "panel_type": "OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452589,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.86
    },
    "memory_options": {
      "id": 452589,
      "available_ram_gb": [
        4,
        8
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 452589,
      "capacities_mah": [
        3800
      ],
      "max_wired_charging_w": 5,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452589,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452589,
      "height_mm": 148.9,
      "width_mm": 71.1,
      "thickness_mm": 8.5,
      "weight_g": 175,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP53",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452589,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452589,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.1,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS",
        "NavIC"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452589,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452589,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Reproduce this response

GET/api/values/clean/getspecs/Huawei/P40%204G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/P40%204G' \
-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("Huawei", "P40 4G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "P40 4G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "P40 4G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);

The JSON above is the live API response for this device, unmodified.

Get a free API key

Compare the P40 4G

More Huawei phones

All 557 Huawei devices →

Other phones with the Kirin 990

All 10 devices →