GET /v1/models: if the catalog lists it, model: "<author>/<slug>" works here.
Example ids: anthropic/claude-sonnet-5, deepseek/deepseek-v4.1-flash, google/gemini-3.8-flash, and openai/gpt-6-luna.
Some models also have variant ids in the catalog, such as a :free or :batch suffix; use them exactly as listed. Append :online to a model id to add web search, the same as the web plugin. See fallbacks and advanced options.
List models with prices
id, name, context_length, supported modalities and parameters, and so on) and carries a predev object with its prices in credits:
predev field.
The catalog refreshes every 15 minutes. The x-predev-catalog-age response header reports seconds since the last refresh. Catalog reads are free and not rate-limited.
Other catalog endpoints: /v1/models/count, /v1/embeddings/models, /v1/images/models, and /v1/videos/models. See the catalog reference.
Pick a model in code
Filter the catalog rather than hard-coding assumptions about price or context length:Invalid ids
An id the catalog does not serve returns a4xx error in the OpenAI error shape. The message keeps what the model service said about the request; check the id against GET /v1/models. See errors.
Send several ids in models to fall back automatically. See fallbacks and advanced options.
