Specs comparison
Samsung Galaxy A51 vs Samsung Galaxy M21s
Samsung Galaxy A51 leads on 5 of the 7 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.
| Specification | Samsung Galaxy A51 | Samsung Galaxy M21s |
|---|---|---|
| Release | ||
| Announced | 2019, December 12. Released 2019, December 16 | 2020, November 06. Released 2020, November 06 |
| Status | Discontinued | Discontinued |
| Display | ||
| Size | 6.5 in | 6.4 in |
| Panel | Super AMOLED | Super AMOLED |
| Peak brightness | — | 420 nits |
| Resolution | Super AMOLED | Super AMOLED, 420 nits (peak) |
| Protection | Corning Gorilla Glass 3 | Corning Gorilla Glass 3 |
| Platform | ||
| Chipset | Exynos 9611 | Exynos 9611 |
| CPU | Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53) | Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53) |
| Cores | 8 | 8 |
| Max clock | 2.3 GHz | 2.3 GHz |
| GPU | Mali-G72 MP3 | Mali-G72 MP3 |
| OS | Android 10, upgradable to Android 13, One UI 5 | Android 10, One UI 2.5 |
| AnTuTu | 113051 (v7) | — |
| Geekbench | 5401 (v4.4) | — |
| Memory | ||
| RAM options | 4 GB / 6 GB / 8 GB | 4 GB / 6 GB |
| Storage options | 64 GB / 128 GB / 256 GB | 64 GB / 128 GB |
| Storage tech | UFS 2.0 | eMMC 5.1 |
| microSD slot | Yes | Yes |
| Battery | ||
| Capacity | 4000 mAh | 6000 mAh |
| Wired charging | 15 W | 15 W |
| Wireless charging | No | No |
| Cameras | ||
| Rear lenses | 3 | 2 |
| Main resolution | 48 MP | 64 MP |
| Rear camera | 48 MP, f/2.0, 26mm (wide), 1/2.0", 0.8µm, PDAF, 12 MP, f/2.2, 123˚ (ultrawide), 5 MP (macro), Auxiliary lens | 64 MP, f/1.8, 26mm (wide), 1/1.72", 0.8µm, PDAF, 8 MP, f/2.2, 12mm (ultrawide), 1/4.0", 1.12µm, Auxiliary lens |
| Rear video | 4K@30fps, 1080p@30/120fps; gyro-EIS | 4K@30fps, 1080p@30fps, gyro-EIS |
| Front camera | 32 MP, f/2.2, 26mm (wide), 1/2.8", 0.8µm | 32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm |
| Body | ||
| Weight | 172 g | 191 g |
| Thickness | 7.9 mm | 8.9 mm |
| Height | 158.5 mm | 159.2 mm |
| Width | 73.6 mm | 75.1 mm |
| Materials | Glass front (Gorilla Glass 3), plastic back, plastic frame | Glass front (Gorilla Glass 3), plastic back, plastic frame |
| SIM | Nano-SIM | Nano-SIM |
| Sound and connectivity | ||
| Stereo speakers | No | No |
| 3.5 mm jack | Yes | Yes |
| NFC | Yes | No |
| Bluetooth | 5 | 5 |
| Wi-Fi | Wi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct | Wi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct |
| USB | USB Type-C 2.0 | USB Type-C 2.0 |
| Infrared | No | No |
Samsung Galaxy A51 JSON
GET/api/values/clean/getspecs/Samsung/Galaxy%20A51
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A51' \ -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("Samsung", "Galaxy A51")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 A51");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Samsung", "Galaxy A51");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 450973,
"manufacturer": "Samsung",
"model": "Galaxy A51",
"network": "GSM / HSPA / LTE",
"announceDate": "2019, December 12. Released 2019, December 16",
"status": "Discontinued",
"chipset": "Exynos 9611",
"androidVersion": "Android 10, upgradable to Android 13, One UI 5",
"battery_raw": "Li-Po 4000 mAh, non-removable",
"cpu_raw": "Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53)",
"displayResolution_raw": "Super AMOLED",
"displaySize_raw": "6.5 inches, 102.0 cm<sup>2</sup> (~87.4% screen-to-body ratio)",
"displayType_raw": "Super AMOLED",
"gpu": "Mali-G72 MP3",
"internal_raw": "64GB 4GB RAM, 64GB 6GB RAM, 128GB 4GB RAM, 128GB 6GB RAM, 128GB 8GB RAM, 256GB 6GB RAM, 256GB 8GB RAM",
"mainCameraFeatures": "LED flash, panorama, HDR",
"mainCameraSpecs_raw": "48 MP, f/2.0, 26mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n12 MP, f/2.2, 123˚ (ultrawide)<br>\n5 MP (macro)<br>\nAuxiliary lens",
"mainVideoSpecs": "4K@30fps, 1080p@30/120fps; gyro-EIS",
"selfieCameraFeatures": "HDR",
"selfieCameraSpecs_raw": "32 MP, f/2.2, 26mm (wide), 1/2.8\", 0.8µm",
"selfieVideoSpecs": "4K@30fps, 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-a51-sm-a515.jpg",
"colors": [
"Prism Crush Black",
"Prism Crush White",
"Prism Crush Blue",
"Prism Crush Pink"
],
"variants": [
{
"id": 504393,
"model_number": "SM-A515F"
},
{
"id": 504394,
"model_number": "SM-A515F/DSN"
},
{
"id": 504395,
"model_number": "SM-A515F/DS"
},
{
"id": 504396,
"model_number": "SM-A515F/DST"
},
{
"id": 504397,
"model_number": "SM-A515F/DSM"
},
{
"id": 504398,
"model_number": "SM-A515F/N"
},
{
"id": 504399,
"model_number": "SM-A515U"
},
{
"id": 504400,
"model_number": "SM-A515U1"
},
{
"id": 504401,
"model_number": "SM-A515W"
},
{
"id": 504402,
"model_number": "SM-A515X"
},
{
"id": 504403,
"model_number": "SM-S515DL"
}
],
"normalized_specs": {
"id": 450978,
"display": {
"id": 450978,
"size_inches": 6.5,
"panel_type": "Super AMOLED",
"refresh_rate_hz": 0,
"peak_brightness_nits": 0,
"protection_type": "Corning Gorilla Glass 3"
},
"processor": {
"id": 450978,
"total_cores": 8,
"max_clock_speed_ghz": 2.3
},
"memory_options": {
"id": 450978,
"available_ram_gb": [
4,
6,
8
],
"available_storage_gb": [
64,
128,
256
],
"has_card_slot": true,
"storage_technology": "UFS 2.0"
},
"battery_and_charging": {
"id": 450978,
"capacities_mah": [
4000
],
"max_wired_charging_w": 15,
"has_wireless_charging": false
},
"cameras": {
"id": 450978,
"main_lenses_count": 3,
"max_main_resolution_mp": 48,
"selfie_lenses_count": 1
},
"physical": {
"id": 450978,
"height_mm": 158.5,
"width_mm": 73.6,
"thickness_mm": 7.9,
"weight_g": 172,
"build_materials": [
"Glass front (Gorilla Glass 3)",
"plastic back",
"plastic frame"
],
"sim_options": [
"Nano-SIM"
],
"ip_rating": "",
"is_water_resistant": false
},
"sound": {
"id": 450978,
"has_stereo_speakers": false,
"has_jack_35mm": true,
"audio_quality_features": []
},
"connectivity": {
"id": 450978,
"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": true
},
"benchmarks": {
"id": 450978,
"antutu_score": "113051 (v7)",
"geekbench_score": "5401 (v4.4)",
"measured_display_brightness_nits": 636,
"measured_loudspeaker_lufs": -28.6,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 450978,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}Samsung Galaxy M21s JSON
GET/api/values/clean/getspecs/Samsung/Galaxy%20M21s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20M21s' \ -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("Samsung", "Galaxy M21s")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 M21s");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Samsung", "Galaxy M21s");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 450920,
"manufacturer": "Samsung",
"model": "Galaxy M21s",
"network": "GSM / HSPA / LTE",
"announceDate": "2020, November 06. Released 2020, November 06",
"status": "Discontinued",
"chipset": "Exynos 9611",
"androidVersion": "Android 10, One UI 2.5",
"battery_raw": "Li-Po 6000 mAh",
"cpu_raw": "Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53)",
"displayResolution_raw": "Super AMOLED, 420 nits (peak)",
"displaySize_raw": "6.4 inches, 100.5 cm<sup>2</sup> (~84.1% screen-to-body ratio)",
"displayType_raw": "Super AMOLED, 420 nits (peak)",
"gpu": "Mali-G72 MP3",
"internal_raw": "64GB 4GB RAM, 128GB 6GB RAM",
"mainCameraFeatures": "LED flash, panorama, HDR",
"mainCameraSpecs_raw": "64 MP, f/1.8, 26mm (wide), 1/1.72\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 12mm (ultrawide), 1/4.0\", 1.12µm<br>\nAuxiliary lens",
"mainVideoSpecs": "4K@30fps, 1080p@30fps, gyro-EIS",
"selfieCameraFeatures": "HDR",
"selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µ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-m21s.jpg",
"colors": [
"Blue",
"Black"
],
"variants": [
{
"id": 504151,
"model_number": "SM-F415F"
},
{
"id": 504152,
"model_number": "SM-F415F/DS"
}
],
"normalized_specs": {
"id": 450925,
"display": {
"id": 450925,
"size_inches": 6.4,
"panel_type": "Super AMOLED",
"refresh_rate_hz": 0,
"peak_brightness_nits": 420,
"protection_type": "Corning Gorilla Glass 3"
},
"processor": {
"id": 450925,
"total_cores": 8,
"max_clock_speed_ghz": 2.3
},
"memory_options": {
"id": 450925,
"available_ram_gb": [
4,
6
],
"available_storage_gb": [
64,
128
],
"has_card_slot": true,
"storage_technology": "eMMC 5.1"
},
"battery_and_charging": {
"id": 450925,
"capacities_mah": [
6000
],
"max_wired_charging_w": 15,
"has_wireless_charging": false
},
"cameras": {
"id": 450925,
"main_lenses_count": 2,
"max_main_resolution_mp": 64,
"selfie_lenses_count": 1
},
"physical": {
"id": 450925,
"height_mm": 159.2,
"width_mm": 75.1,
"thickness_mm": 8.9,
"weight_g": 191,
"build_materials": [
"Glass front (Gorilla Glass 3)",
"plastic back",
"plastic frame"
],
"sim_options": [
"Nano-SIM"
],
"ip_rating": "",
"is_water_resistant": false
},
"sound": {
"id": 450925,
"has_stereo_speakers": false,
"has_jack_35mm": true,
"audio_quality_features": []
},
"connectivity": {
"id": 450925,
"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": false,
"has_infrared": false,
"has_radio": false,
"usb_type": "USB Type-C 2.0",
"usb_has_otg": false
},
"benchmarks": {
"id": 450925,
"antutu_score": "",
"geekbench_score": "",
"measured_display_brightness_nits": 0,
"measured_loudspeaker_lufs": 0,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 450925,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}
