Reference
Supported vendors
Vendor adapters, model configuration files, and API key variables supported by clai.
On this page
Every vendor integration lives in internal/vendors/<vendor>/ and implements clai’s streaming chat and tool-calling interfaces.
Vendor matrix
| Vendor | Environment variable | Streaming | Tool calling | Notes |
|---|---|---|---|---|
| Anthropic | ANTHROPIC_API_KEY |
Yes | Yes | Supports Claude 4 / 3.7 / 3.5 families and extended thinking configs. |
| OpenAI | OPENAI_API_KEY |
Yes | Yes | Supports GPT and reasoning model series, plus DALL-E / image generation. |
GEMINI_API_KEY |
Yes | Yes | Supports Gemini text, multimodal, photo, and video models. | |
| Mistral | MISTRAL_API_KEY |
Yes | Yes | Supports Mistral and Codestral models. |
| DeepSeek | DEEPSEEK_API_KEY |
Yes | Yes | Supports DeepSeek chat and reasoning models. |
| XAI | XAI_API_KEY |
Yes | Yes | Supports Grok models. |
| OpenRouter | OPENROUTER_API_KEY |
Yes | Yes | Unified routing to hundreds of hosted models. |
| Ollama | (local endpoint) | Yes | Yes | Connects to a local Ollama daemon with no cloud API key required. |
Use clai setup 0 to browse and configure model files for any vendor.