List models
Every model you can call, with live per-token prices. No key needed.
1 min readEdit this page
Every model you can call, with its context window, modalities and current per-token prices. No key needed. Filter with the query parameters.
Query Parameters
provider?string
Filter by provider name (exact match against the model's providers array).
id?string
Filter by model ID (case-insensitive substring match).
input_modality?string
Filter by supported input modality (e.g. text, image).
output_modality?string
Filter by supported output modality.
Response Body
application/json
curl -X GET "https://example.com/v1/models"{ "data": [ { "capabilities": [ "string" ], "description": "string", "hosted": true, "id": "string", "input_modalities": [ "string" ], "latency": { "first_token": { "best_p50_ms": 0, "best_p95_ms": 0, "sample_count": 0, "window_seconds": 0 } }, "max_input_tokens": 0, "max_output_tokens": 0, "name": "string", "open_weights": true, "output_modalities": [ "string" ], "pricing": { "context_tiers": [ { "above_input_tokens": 0, "input_tokens": { "cache_read": 0, "cache_write": 0, "no_cache": 0 }, "output_tokens": { "audio": 0, "image": 0, "reasoning": 0, "text": 0 } } ], "input_tokens": { "cache_read": 0, "cache_write": 0, "no_cache": 0 }, "output_tokens": { "audio": 0, "image": 0, "reasoning": 0, "text": 0 } }, "providers": { "total_online": 0 }, "throughput": { "output_tokens": { "best_p50_tokens_per_second": 0, "best_p95_tokens_per_second": 0, "sample_count": 0, "window_seconds": 0 } } } ]}How is this guide?