LLM Providers
DAIV supports the following LLM providers:
- OpenRouter (default)
- OpenAI
- Anthropic
- Google Gemini
You can mix providers — for example, use OpenRouter for the main agent and a direct provider for a specific model override.
How models are specified
Models use a prefix system to identify the provider:
| Prefix | Provider | Example |
|---|---|---|
openrouter: |
OpenRouter | openrouter:anthropic/claude-sonnet-4.6 |
claude |
Anthropic (direct) | claude-sonnet-4.6 |
gpt-, o4 |
OpenAI (direct) | gpt-5.3-codex |
gemini |
Google Gemini (direct) | gemini-2.5-pro-preview-05-06 |
DAIV resolves the provider automatically from the model name. No extra configuration is needed beyond setting the API key for the provider you want to use.
Default models
| Role | Model | Provider |
|---|---|---|
| Main agent | Claude Sonnet 4.6 | OpenRouter |
| Max mode | Claude Opus 4.6 | OpenRouter |
| Explore subagent | Claude Haiku 4.5 | OpenRouter |
| Fallback | GPT 5.3 Codex | OpenRouter |
All defaults route through OpenRouter, so only OPENROUTER_API_KEY is required for a basic setup. Override models per repository in .daiv.yml — see Repository Config.
OpenRouter
OpenRouter is the default provider for DAIV. It provides access to models from multiple vendors with built-in fallback support.
Setup:
- Obtain an API key from OpenRouter Settings
- Set the environment variable:
Text Only
Model format:
Use the openrouter: prefix followed by the model name from OpenRouter:
OpenAI
Setup:
- Obtain an API key from OpenAI
- Set the environment variable:
Text Only
Model format:
Use the model name from OpenAI directly (no prefix needed):
Anthropic
Setup:
- Obtain an API key from Anthropic
- Set the environment variable:
Text Only
Model format:
Use the model name from Anthropic directly (no prefix needed):
Warning
We love Anthropic, but unfortunately their API is very unstable and often returns errors. Also, the rate limits could be exceeded very quickly.
Google Gemini
Setup:
- Obtain an API key from AI Studio
- Set the environment variable:
Text Only
Model format:
Use the model name from Gemini directly (no prefix needed):