DocsReferenceModel IDs
Model IDs
Every request names a model. Use the ID exactly as the Models page shows it.
On this page
Find a model ID
Every model on the Models page shows its ID with a copy button. Send the ID, not the display name: deepseek-v4.1-flash, not DeepSeek V4.1 Flash.
List the models your key can use
The list only includes models the key can call. If the key has Model Limits, only those models appear.
Rules
- Copy IDs as shown. Matching ignores case and spaces around the ID, but every other character counts.
- Some IDs contain a slash, such as
kimi/kimi-k3. Keep it. - An unknown ID returns
404 model_not_found, and the message lists the models available to you. - To change models, change only the ID. The base URL and key stay the same.
Built-in defaults
Many tools start with a model ID of their own, which may not exist here. Set the model explicitly:
| Tool | Its default | Set |
|---|---|---|
| Claude Code | An Anthropic model | ANTHROPIC_MODEL |
| Codex | An OpenAI model | model in config.toml |
| Gemini CLI | auto, which picks Google’s own IDs | GEMINI_MODEL |
| Cursor, Cline | None until you add one | The model ID field |
Formats each model accepts
Chat Completions works with every chat model. The other formats depend on the model:
| Models | Chat Completions | Responses | Anthropic Messages | Gemini generateContent |
|---|---|---|---|---|
| Claude | Yes | — | Yes | — |
| GPT | Yes | Yes | — | — |
| Gemini | Yes | — | — | Yes |
| DeepSeek, Qwen, GLM, Kimi, MiniMax and MiMo | Yes | Yes | Yes | — |
Pick a tool whose format your model accepts: Claude Code uses Messages, Codex uses Responses and Gemini CLI uses generateContent. Cursor and Cline use Chat Completions.
Other model types
Besides chat models, the Models page lists embedding models qwen3.7-text-embedding, qwen3.7-text-embedding-flash, text-embedding-v4, which use /v1/embeddings; a rerank model, qwen3.7-text-rerank, which uses /v1/rerank; image models qwen-image-2.0, qwen-image-2.0-pro, qwen-image-3.0, …, which use /v1/images/generations. Nano Banana 2.1 (gemini-nano-banana-2.1) makes images through the Gemini format (generateContent) or Chat Completions instead. On the Gemini format each reply carries two images: the first, marked thought: true, is a draft from its thinking, and the second is the finished image. You are billed for one. Request examples are on the cURL page.