API Documentation
Access daily LLM pricing data programmatically
Base URL: https://inferencepriceindex.com
GET /v1/index/latest
Get the most recent index values for all tiers (Frontier, Efficient, Open).
curl https://inferencepriceindex.com/v1/index/latest
Returns: JSON object containing index values, model counts, computation timestamp, and individual model rates.
GET /v1/index/{date}
Get index values for a specific date. Date format: YYYY-MM-DD.
curl https://inferencepriceindex.com/v1/index/2026-01-03
Returns: JSON object with historical index data for the specified date.
GET /v1/indices
List all available index dates in the system.
curl https://inferencepriceindex.com/v1/indices
Returns: JSON array of available dates, useful for historical analysis.
GET /v1/observations/{date}
Get raw pricing observations for a specific date. Includes individual model pricing data.
curl https://inferencepriceindex.com/v1/observations/2026-01-03
Returns: Detailed pricing observations for all tracked models on the specified date.
GET /v1/methodology
Get the current index methodology configuration. Explains how models are categorized and averaged.
curl https://inferencepriceindex.com/v1/methodology
Returns: Methodology document describing tier definitions, calculation methods, and data sources.
Response Format
All endpoints return JSON. Successful responses use HTTP 200. Errors return appropriate HTTP status codes with error messages.
Rate Limits
No authentication required. Fair use policy applies. Please cache responses appropriately and avoid excessive requests.