ModelsCompareBest forBenchmarksStatusPricingAPI
Developers

Free JSON API for LLM data

The same data that powers this site: 164 models across 23 providers, every benchmark score with its source URL, official pricing, and live status from official provider feeds. No API key. CORS enabled. Cached at the edge.

No key requiredCORS: *JSON, pretty-printedAttribution requested
Quick start

Two lines to your first result

# shell
curl "https://llmmetric.com/v1/models/gpt-6-astra"

# browser / node
const r = await fetch("https://llmmetric.com/v1/compare?a=gpt-6-astra&b=claude-fable-5-1");
const { data } = await r.json();
console.log(data.shared); // [{ benchmark, a: { score, sourceUrl }, b: { ... }, winner }]
Reference

Endpoints

EndpointReturnsQueryCacheTry
/v1/modelsEvery model with specs, pricing and cited benchmark scores.?provider=openai&limit=501hGET ↗
/v1/models/{id}One model, plus its provider record.1hGET ↗
/v1/benchmarksScores grouped by benchmark, sorted by coverage.?name=swe1hGET ↗
/v1/pricingInput, output and cached-input prices per 1M tokens, with source URL.1hGET ↗
/v1/statusCurrent state, 30-day uptime and latency for every probed provider.60sGET ↗
/v1/status/{provider}One provider with daily uptime history and recent incidents.60sGET ↗
/v1/compareTwo models side by side on every benchmark they share.?a={id}&b={id}1hGET ↗
Response shape

Every response is { data, meta }. meta carries the source, attribution guidance and generatedAt. Lists also include count.

Sourcing

Each benchmark score has sourceUrl and measuredAt; each price has sourceUrl and updatedAt. If we cannot cite it, it is not in the API.

Limits

No key is required. Please cite llmmetric.com; upstream records remain subject to their source terms. Cache responses on your side when you can.

Built by Respan
Need to actually call these models?

Respan's gateway gives you every provider behind one OpenAI-compatible endpoint (https://api.respan.ai/api), with failover, tracing and evals. Free tier, no card.

Methodology and data rules: llmmetric.com/methodology.