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

OnePlus 6T McLaren vs Sony Xperia XZ2 Compact

OnePlus 6T McLaren leads on 8 of the 9 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.

OnePlus 6T McLaren

OnePlus 6T McLaren

2018 · Qualcomm SDM845 Snapdragon 845
VS
Sony Xperia XZ2 Compact

Sony Xperia XZ2 Compact

2018 · Qualcomm SDM845 Snapdragon 845
SpecificationOnePlus 6T McLarenSony Xperia XZ2 Compact
Release
Announced2018, December 11. Released 2018, December 132018, February. Released 2018, April
StatusDiscontinuedDiscontinued
Display
Size6.41 in5 in
PanelOptic AMOLEDIPS LCD
ResolutionOptic AMOLEDIPS LCD, HDR BT.2020
ProtectionCorning Gorilla Glass 6Corning Gorilla Glass 5
Platform
ChipsetQualcomm SDM845 Snapdragon 845Qualcomm SDM845 Snapdragon 845
CPUOcta-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)Octa-core (4x2.7 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)
Cores88
Max clock2.8 GHz2.7 GHz
GPUAdreno 630Adreno 630
OSAndroid 9.0 (Pie), upgradable to Android 10, OxygenOS 10Android 8.0 (Oreo), upgradable to Android 10
AnTuTu292716 (v7) GeekBench: 9005 (v4.4)265326 (v7)
Geekbench9005 (v4.4)8487 (v4.4)
Memory
RAM options10 GB4 GB
Storage options256 GB64 GB
Storage techUFS 2.1UFS 2.1
microSD slotNoYes
Battery
Capacity3700 mAh2870 mAh
Wired charging30 W18 W
Wireless chargingNoNo
Cameras
Rear lenses31
Main resolution20 MP19 MP
Rear camera16 MP, f/1.7, 25mm (wide), 1/2.6", 1.22µm, PDAF, OIS, 20 MP (16 MP effective), f/1.7, 25mm (wide), 1/2.8", 1.0µm, PDAF19 MP, f/2.0, 25mm (wide), 1/2.3", 1.22µm, predictive PDAF
Rear video4K@30/60fps, 1080p@30/60/240fps, 720p@480fps, Auto HDR, gyro-EIS4K@30fps, 1080p@60fps, 1080p@30fps (gyro-EIS), 1080p@960fps
Front camera16 MP, f/2.0, 25mm (wide), 1/3.06", 1.0µm5 MP, f/2.2, 23mm (wide), 1/5.0"
Body
Weight185 g168 g
Thickness8.2 mm12.1 mm
Height157.5 mm135 mm
Width74.8 mm65 mm
IP rating—IP68
MaterialsGlass front (Gorilla Glass 6), glass back, aluminum frameGlass front (Gorilla Glass 5), plastic back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoYes
3.5 mm jackNoNo
NFCYesYes
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA
USBUSB Type-C 2.0USB Type-C 3.1
InfraredNoNo

OnePlus 6T McLaren JSON

GET/api/values/clean/getspecs/OnePlus/6T%20McLaren
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/OnePlus/6T%20McLaren' \
-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("OnePlus", "6T McLaren")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("OnePlus", "6T McLaren");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("OnePlus", "6T McLaren");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450698,
  "manufacturer": "OnePlus",
  "model": "6T McLaren",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, December 11. Released 2018, December 13",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM845 Snapdragon 845",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 10, OxygenOS 10",
  "battery_raw": "Li-Po 3700 mAh, non-removable",
  "cpu_raw": "Octa-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)",
  "displayResolution_raw": "Optic AMOLED",
  "displaySize_raw": "6.41 inches, 100.9 cm<sup>2</sup> (~85.6% screen-to-body ratio)",
  "displayType_raw": "Optic AMOLED",
  "gpu": "Adreno 630",
  "internal_raw": "256GB 10GB RAM",
  "mainCameraFeatures": "Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "16 MP, f/1.7, 25mm (wide), 1/2.6\", 1.22µm, PDAF, OIS<br>\n20 MP (16 MP effective), f/1.7, 25mm (wide), 1/2.8\", 1.0µm, PDAF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/240fps, 720p@480fps, Auto HDR, gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 25mm (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps, gyro-EIS",
  "sensors": "",
  "charging_raw": "30W wired, 50% in 20 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/oneplus-6t-mclaren-edition.jpg",
  "colors": [
    "Speed Orange"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 450703,
    "display": {
      "id": 450703,
      "size_inches": 6.41,
      "panel_type": "Optic AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 6"
    },
    "processor": {
      "id": 450703,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.8
    },
    "memory_options": {
      "id": 450703,
      "available_ram_gb": [
        10
      ],
      "available_storage_gb": [
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 450703,
      "capacities_mah": [
        3700
      ],
      "max_wired_charging_w": 30,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450703,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 20,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450703,
      "height_mm": 157.5,
      "width_mm": 74.8,
      "thickness_mm": 8.2,
      "weight_g": 185,
      "build_materials": [
        "Glass front (Gorilla Glass 6)",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450703,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "Dirac HD sound"
      ]
    },
    "connectivity": {
      "id": 450703,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "aptX HD",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 450703,
      "antutu_score": "292716 (v7)  GeekBench: 9005 (v4.4)",
      "geekbench_score": "9005 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450703,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia XZ2 Compact JSON

GET/api/values/clean/getspecs/Sony/Xperia%20XZ2%20Compact
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20XZ2%20Compact' \
-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("Sony", "Xperia XZ2 Compact")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Sony", "Xperia XZ2 Compact");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia XZ2 Compact");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457279,
  "manufacturer": "Sony",
  "model": "Xperia XZ2 Compact",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, February. Released 2018, April",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM845 Snapdragon 845",
  "androidVersion": "Android 8.0 (Oreo), upgradable to Android 10",
  "battery_raw": "Li-Ion 2870 mAh, non-removable",
  "cpu_raw": "Octa-core (4x2.7 GHz Kryo 385 Gold &amp; 4x1.7 GHz Kryo 385 Silver)",
  "displayResolution_raw": "IPS LCD, HDR BT.2020",
  "displaySize_raw": "5.0 inches, 64.5 cm<sup>2</sup> (~73.5% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, HDR BT.2020",
  "gpu": "Adreno 630",
  "internal_raw": "64GB 4GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "19 MP, f/2.0, 25mm (wide), 1/2.3\", 1.22µm, predictive PDAF",
  "mainVideoSpecs": "4K@30fps, 1080p@60fps, 1080p@30fps (gyro-EIS), 1080p@960fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.2, 23mm (wide), 1/5.0\"",
  "selfieVideoSpecs": "1080p@30fps (gyro-EIS)",
  "sensors": "",
  "charging_raw": "18W wired, QC3",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-xz2-compact-.jpg",
  "colors": [
    "Black",
    "White Silver",
    "Moss Green",
    "Coral Pink"
  ],
  "variants": [
    {
      "id": 511326,
      "model_number": "H8324"
    },
    {
      "id": 511327,
      "model_number": "H8314"
    },
    {
      "id": 511328,
      "model_number": "SO-05K"
    }
  ],
  "normalized_specs": {
    "id": 457284,
    "display": {
      "id": 457284,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 457284,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.7
    },
    "memory_options": {
      "id": 457284,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        64
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 457284,
      "capacities_mah": [
        2870
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457284,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 19,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457284,
      "height_mm": 135,
      "width_mm": 65,
      "thickness_mm": 12.1,
      "weight_g": 168,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457284,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 457284,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "aptX HD",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457284,
      "antutu_score": "265326 (v7)",
      "geekbench_score": "8487 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457284,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons