Bundled providers
| Provider | ID | Notes |
|---|---|---|
| Anthropic | anthropic | Claude models |
| OpenAI | openai | GPT and o-series models |
| Google AI | google | Gemini models |
| AWS Bedrock | amazon-bedrock | Requires AWS credentials |
| Azure OpenAI | azure | Requires Azure deployment |
| xAI | xai | Grok models |
| Groq | groq | Fast inference |
| Mistral | mistral | Mistral and Codestral |
| Cohere | cohere | Command models |
| DeepInfra | deepinfra | Multi-model hosting |
| Cerebras | cerebras | Fast inference |
| OpenRouter | openrouter | Multi-provider routing |
| Perplexity | perplexity | Search-augmented models |
| TogetherAI | togetherai | Open-source model hosting |
| Vercel | vercel | Vercel AI Gateway |
| GitLab | gitlab | GitLab Duo |
| GitHub Copilot | copilot | GitHub Copilot models |
| Antigravity | antigravity | Antigravity managed models |
| Google Vertex | google-vertex | Google Cloud Vertex AI |
Provider config
Configure providers inconfig.yaml under the provider key:
Provider options
| Field | Type | Default | Description |
|---|---|---|---|
apiKey | string | — | API key (supports {env:VAR} interpolation) |
baseURL | string | — | Base URL override for API requests |
enterpriseUrl | string | — | GitHub Enterprise URL (Copilot provider only) |
setCacheKey | boolean | — | Enable prompt cache key |
timeout | number | false | 300000 | Request timeout in ms, or false to disable |
Model configuration
models: per-model configuration includingvariants(reasoning effort levels, can be disabled withdisabled: true)
Provider config files
Provider-specific config can be stored in separate files:- Global:
~/.config/0x0/providers/<provider-id>.yaml - Project:
.0x0/providers/<provider-id>.yaml
.yaml) becomes the provider ID. These files use the same schema as the
provider.<id> config section and are merged at the appropriate precedence level.
Setting the default model
provider-id/model-id. This can be overridden per-agent or via the --model CLI
flag.
A separate small_model field sets the model used for lightweight tasks like title generation:
Authentication
Manage provider credentials:~/.config/0x0/auth.json.
Listing models
models_url or models_path in config to override the source.