List models

List all available models including pricing, context window, and provider info.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

List of models.
model_namestring
Model name.
max_context_windowinteger
Max context window.
input_costdouble

Cost per 1M input tokens (USD).

output_costdouble

Cost per 1M output tokens (USD).

rate_limitinteger
Rate limit.
providerobject

Errors

401
Unauthorized Error