APIs / LLM Prices API
Tokens
LLM Prices API
What every major model costs per million tokens
Published input and output price for each tracked model, with the page it was verified against. Free, no key.
{
"unit": "usd_per_million_tokens",
"tier": "standard",
"models": [
{
"lab": "…",
"model_id": "…",
"input_per_mtok": …,
"output_per_mtok": …,
"verified_date": "…"
}
]
}$0Every API, every field
No keyCall it straight away
1,000Requests a day per IP
DailyHow often it updates
Fields
| Field | Type | What it is |
|---|---|---|
| models[].lab | string | The lab that publishes the model |
| models[].model_id | string | The lab’s own model id |
| models[].input_per_mtok | number | USD per million input tokens, standard tier |
| models[].output_per_mtok | number | USD per million output tokens |
| models[].verified_against | url | The official page the price was read from |
| models[].verified_date | date | When it was last checked by hand |
Calls to try
Good to knowLatest; per-model history on the site. Formats: JSON, CSV. Please credit “Data: Price of Compute, priceofcompute.com”.
What people build with it
Model choicePick a model on price, and see when it changes
Cost modelsPrice a workload across labs
TrackingA dated record of token prices
Related APIs
Hosts
Inference API
GET/api/v1/inference/{model}
One open model, priced at every host that serves it
"host": "…" "input_per_mtok": … "output_per_mtok": …
Daily · JSON, CSVDocs ›
Family
Index Family API
GET/api/v1/index-family
An index for every GPU and a blended token index, in one call
"sku": "L40S", "value": … "change_30d_pct": … "blended_usd_per_mtok": …
Daily · JSON, CSVDocs ›