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

Samsung Galaxy A21s vs Samsung Galaxy M12

Samsung Galaxy A21s leads on 3 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.

Samsung Galaxy A21s

Samsung Galaxy A21s

2020 · Exynos 850
VS
Samsung Galaxy M12

Samsung Galaxy M12

2021 · Exynos 850
SpecificationSamsung Galaxy A21sSamsung Galaxy M12
Release
Announced2020, May 15. Released 2020, June 022021, April 19
StatusDiscontinuedAvailable. Released 2021, April 30
Display
Size6.5 in6.5 in
PanelPLS LCDPLS LCD
Refresh rate—90 Hz
ResolutionPLS LCDPLS LCD, 90Hz
Platform
ChipsetExynos 850Exynos 850
CPUOcta-core (4x2.0 GHz Cortex-A55 & 4x2.0 GHz Cortex-A55)Octa-core (4x2.0 GHz Cortex-A55 & 4x2.0 GHz Cortex-A55)
Cores88
Max clock2 GHz2 GHz
GPUMali-G52Mali-G52
OSAndroid 10, upgradable to Android 12, One UI 4.1Android 11, One UI Core 3.1
AnTuTu107157 (v8) GeekBench: 1100 (v5.1) GFXBench: 11fps (ES 3.1 onscreen)—
Geekbench1100 (v5.1) GFXBench: 11fps (ES 3.1 onscreen)—
Memory
RAM options2 GB / 3 GB / 4 GB / 6 GB3 GB / 4 GB
Storage options32 GB / 64 GB / 128 GB32 GB / 64 GB / 128 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity5000 mAh5000 mAh
Wired charging15 W15 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution48 MP48 MP
Rear camera48 MP, f/2.0, 26mm (wide), 1/2.0", 0.8µm, PDAF, 8 MP, f/2.2, 123˚ (ultrawide), 1/4.0", 1.12µm, 2 MP (macro), Auxiliary lens48 MP, f/2.0, (wide), 1/2.0", 0.8µm, PDAF, 5 MP, f/2.2, 123˚ (ultrawide), 2 MP (macro), Auxiliary lens
Rear video1080p@30fps1080p@30fps
Front camera13 MP, f/2.2, (wide), 1/3.1", 1.12µm8 MP, f/2.2, (wide)
Body
Weight192 g212 g
Thickness8.9 mm9.7 mm
Height163.7 mm164 mm
Width75.3 mm75.9 mm
MaterialsGlass front, plastic frame, plastic backGlass front, plastic back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesYes
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 b/g/n, Wi-Fi Direct
USBUSB Type-C 2.0USB Type-C 2.0
InfraredNoNo

Samsung Galaxy A21s JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20A21s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A21s' \
-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("Samsung", "Galaxy A21s")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Samsung", "Galaxy A21s");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy A21s");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450945,
  "manufacturer": "Samsung",
  "model": "Galaxy A21s",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, May 15. Released 2020, June 02",
  "status": "Discontinued",
  "chipset": "Exynos 850",
  "androidVersion": "Android 10, upgradable to Android 12, One UI 4.1",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (4x2.0 GHz Cortex-A55 & 4x2.0 GHz Cortex-A55)",
  "displayResolution_raw": "PLS LCD",
  "displaySize_raw": "6.5 inches, 102.0 cm<sup>2</sup> (~82.8% screen-to-body ratio)",
  "displayType_raw": "PLS LCD",
  "gpu": "Mali-G52",
  "internal_raw": "32GB 2GB RAM, 32GB 3GB RAM, 32GB 4GB RAM, 64GB 3GB RAM, 64GB 4GB RAM, 64GB 6GB RAM, 128GB 2GB RAM, 128GB 3GB RAM, 128GB 4/6GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "48 MP, f/2.0, 26mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 123˚ (ultrawide), 1/4.0\", 1.12µm<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "13 MP, f/2.2, (wide), 1/3.1\", 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-a21s-.jpg",
  "colors": [
    "Black",
    "White",
    "Blue",
    "Red"
  ],
  "variants": [
    {
      "id": 504240,
      "model_number": "SM-A217F"
    },
    {
      "id": 504241,
      "model_number": "SM-A217F/DS"
    },
    {
      "id": 504242,
      "model_number": "SM-A217F/DSN"
    },
    {
      "id": 504243,
      "model_number": "SM-A217M"
    },
    {
      "id": 504244,
      "model_number": "SM-A217M/DS"
    },
    {
      "id": 504245,
      "model_number": "SM-A217N"
    }
  ],
  "normalized_specs": {
    "id": 450950,
    "display": {
      "id": 450950,
      "size_inches": 6.5,
      "panel_type": "PLS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 450950,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 450950,
      "available_ram_gb": [
        2,
        3,
        4,
        6
      ],
      "available_storage_gb": [
        32,
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 450950,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450950,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450950,
      "height_mm": 163.7,
      "width_mm": 75.3,
      "thickness_mm": 8.9,
      "weight_g": 192,
      "build_materials": [
        "Glass front",
        "plastic frame",
        "plastic back"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450950,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450950,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 450950,
      "antutu_score": "107157 (v8)  GeekBench: 1100 (v5.1)  GFXBench: 11fps (ES 3.1 onscreen)",
      "geekbench_score": "1100 (v5.1)  GFXBench: 11fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 490,
      "measured_loudspeaker_lufs": -30,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450950,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Samsung Galaxy M12 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20M12
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20M12' \
-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("Samsung", "Galaxy M12")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Samsung", "Galaxy M12");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy M12");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450899,
  "manufacturer": "Samsung",
  "model": "Galaxy M12",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2021, April 19",
  "status": "Available. Released 2021, April 30",
  "chipset": "Exynos 850",
  "androidVersion": "Android 11, One UI Core 3.1",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (4x2.0 GHz Cortex-A55 &amp; 4x2.0 GHz Cortex-A55)",
  "displayResolution_raw": "PLS LCD, 90Hz",
  "displaySize_raw": "6.5 inches, 102.0 cm<sup>2</sup> (~81.9% screen-to-body ratio)",
  "displayType_raw": "PLS LCD, 90Hz",
  "gpu": "Mali-G52",
  "internal_raw": "32GB 3GB RAM, 32GB 4GB RAM, 64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "48 MP, f/2.0, (wide), 1/2.0\", 0.8µm, PDAF<br>\n5 MP, f/2.2, 123˚ (ultrawide)<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "8 MP, f/2.2, (wide)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-m12.jpg",
  "colors": [
    "Black",
    "Blue",
    "Green"
  ],
  "variants": [
    {
      "id": 504045,
      "model_number": "SM-M127F"
    },
    {
      "id": 504046,
      "model_number": "SM-M127F/DSN"
    },
    {
      "id": 504047,
      "model_number": "SM-M127N"
    }
  ],
  "normalized_specs": {
    "id": 450904,
    "display": {
      "id": 450904,
      "size_inches": 6.5,
      "panel_type": "PLS LCD",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 450904,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 450904,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        32,
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 450904,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450904,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450904,
      "height_mm": 164,
      "width_mm": 75.9,
      "thickness_mm": 9.7,
      "weight_g": 212,
      "build_materials": [
        "Glass front",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450904,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450904,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 450904,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450904,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons