openai/gpt-4.1 for anthropic/claude-sonnet-4 or google/gemini-2.5-pro and everything else stays the same.
Listing available models
capabilities (tools, vision, streaming, structured output, thinking) and provider_info (status, upstream API).
See Response Schemas for the full
ListModelsResponse shape.Provider format
Models use the formatprovider/model-name:
| Provider | Example |
|---|---|
| OpenAI | openai/gpt-4.1 |
| Anthropic | anthropic/claude-sonnet-4 |
google/gemini-2.5-pro | |
| xAI | xai/grok-3 |
| DeepSeek | deepseek/deepseek-r1 |
| Mistral | mistral/mistral-large-latest |
Read more
Quickstart
Install the SDK and make your first call
BYOK
Bring your own provider API keys
Tools
Give models the ability to call functions
Streaming
Stream responses token by token