Token Barometer API
Read-only JSON API for LLM token prices across vendors and hosts, tracked over time.
Full machine-readable spec: /api/openapi.json.
Licence
CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attribution is required; a link back to the page you got the data from on tokenbarometer.com is appreciated but not enforced.
Suggested citation: Token Barometer (https://tokenbarometer.com), data licensed CC BY 4.0.. A link back to
https://tokenbarometer.com/api is appreciated but not required.
Example
curl https://tokenbarometer.com/api/v1/models?vendor=anthropic
Routes
- GET /api/v1/models?vendor=&tier=&open_weights=&q=
- GET /api/v1/models/{slug}
- GET /api/v1/models/{slug}/history?source=&from=&to=
- GET /api/v1/offerings?host=&model=&vendor=&variant=&sort=&order=&page=&per_page=
- GET /api/v1/offerings/{id}/history
- GET /api/v1/providers
- GET /api/v1/providers/{slug}
- GET /api/v1/changes?kind=&provider=&since=&page=
- GET /api/v1/changes/{slug}
- GET /api/v1/meta
- GET /export/offerings.csv
- GET /export/history.csv?model=