Getting started
Model ids & variants
Learn how api14 model ids are written in the provider/model format and what the :free, :online, :nitro and :floor variants change for each request.
Model ids on api14 use the form provider/model, for example openai/gpt-5-mini. Pass the id in the model field of any request.
{ "model": "anthropic/claude-sonnet-4.5" }
Finding model ids
- Browse the models page, every model with its id, prices, context length and capabilities.
- Call
GET /modelsfrom code; filter by category with?category=image. See Models.
Some examples:
| Category | Example ids |
|---|---|
| Text | openai/gpt-5-mini, anthropic/claude-sonnet-4.5, google/gemini-2.5-pro, deepseek/deepseek-chat |
| Image | openai/gpt-5.4-image-2, google/gemini-2.5-flash-image |
| Video | google/veo-3.1-fast, openai/sora-2-pro |
| Speech (TTS) | openai/gpt-4o-mini-tts |
| Transcription | openai/whisper-1, openai/gpt-4o-transcribe |
| Embeddings | openai/text-embedding-3-small |
| Rerank | cohere/rerank-v3.5 |
Ids are case sensitive. An unknown or disabled id returns 404 model_not_found.
Variants
A variant is a suffix after a colon that changes how the request is served. Variants work with the same base model; the base model's availability and allowlist rules apply.
| Suffix | Effect |
|---|---|
:free | The free endpoint of a model, where one exists. Free endpoints have stricter upstream rate limits. |
:online | Adds web search results to the prompt. See Web search. |
:nitro | Routes to the fastest providers (highest throughput). |
:floor | Routes to the cheapest providers. |
{ "model": "openai/gpt-5-mini:online" }
:nitro and :floor are shortcuts for provider sorting, the same as provider: { sort: "throughput" } and provider: { sort: "price" }. See Provider routing & fallbacks.
Model fallbacks
Send a models array to try other models when the first one fails or is unavailable:
{
"model": "anthropic/claude-sonnet-4.5",
"models": ["openai/gpt-5-mini", "google/gemini-2.5-flash"],
"messages": [{ "role": "user", "content": "Hello" }]
}
Every model in the list must be available and allowed for your key and plan, otherwise the request is rejected before it is sent. The response's model field tells you which one answered, and you pay that model's price.
Allowlists and plans
- A key with a model allowlist can only use the listed ids; other ids return
403 model_not_allowed. - Every plan, Free included, covers all model categories, video and music/audio among them. A plan limited to certain categories returns
403 plan_requiredfor the rest. See Pricing & billing.
Model changes
The catalog updates automatically. New models appear on their own; removed models return 404 model_not_found. Pin exact ids in production and use models fallbacks for resilience.