Use Claude, GPT, Gemini or any hosted model
Dial works with Anthropic, OpenAI, Google Gemini, OpenRouter, Groq, Mistral, DeepSeek and any OpenAI-compatible endpoint. Bring an API key or sign in with a subscription, switch models mid-session, and give cheaper models the helper jobs.
Connect a provider
The quickest way is an environment variable. Dial reads ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY, GROQ_API_KEY, MISTRAL_API_KEY and DEEPSEEK_API_KEY:
export ANTHROPIC_API_KEY=sk-ant-...
dialOr set it up inside Dial: on first run choose Hosted provider, or open /providers (Alt-P or F4) at any time. Pick a provider, then Use API key or Use sign-in or subscription where both exist. Keys you enter are kept in Dial's private user directory and sent only to that provider's own address.
Other bundled providers, such as Together or Fireworks, need only their own key in the environment. For anything else, add an OpenAI-compatible endpoint in /providers.
Use a Claude or ChatGPT subscription
In /providers, choose Anthropic → Sign in with Claude subscription, or the ChatGPT/Codex provider, and finish sign-in in your browser. OpenRouter's browser sign-in creates an API key for you.
Pin the billing route per provider so it never switches behind your back:
[providers.anthropic]
auth = "api-key" # or "oauth" for the Claude subscriptionWith oauth, an expired or rejected sign-in fails instead of falling back to API billing. Be aware: the Claude subscription route identifies itself as Claude Code. It isn't an official integration, may break the provider's terms and can stop working; Dial warns while you use it. Pick API-key authentication if you don't accept that.
Pick and switch models
/models (F2 on macOS, Alt-M elsewhere) lists every model your providers offer, with badges for vision, tools and reasoning. Enter selects one as the main model. It applies to this session at once and becomes the default for new ones; other open sessions keep theirs.
- Star favourites, then
Alt-]orF8cycles through them. /effortsets reasoning effort on models that support it, andCtrl-Tshows or hides the reasoning.dial -m MODELpicks a model for one launch, anddial modelslists them from the shell.- A model that declares no tool support is flagged: Dial won't send it tools, so pick a tool-capable model for coding.
Give helpers cheaper models
Dial hands some work to helpers: quick lookups, reviews, plans and subagents. /roles (Alt-R or F3) assigns a model to each role:
| Role | Used for |
|---|---|
small | scouts and quick lookups |
task | implementation workers |
coach | planning and stronger advice, including plan mode |
tester | reviewers and test runners |
An unassigned role falls back along a chain and finally to your main model. Press Ctrl-B in the picker to save an assignment globally or for this project only. In config:
[model_roles]
small = { provider = "openai", model = "gpt-4o-mini" }
task = { provider = "anthropic", model = "claude-sonnet-4-5", thinking = "medium" }Back-up models when a provider fails
When a provider is rate-limited, out of quota or down, Dial can move to a back-up model and return when the cooldown ends. /model backups edits the chain with a preview, or set it in config:
[retry.fallback_chains]
default = ["openrouter/anthropic/claude-sonnet-4-5"]
"openai/*" = ["gpt-4o-mini"]retry.fallback_on chooses which failures trigger it ("usage-limit" for quota only), and a request already in flight is never switched. Details are in model routing.
Watch the cost
/cost shows the session's token use and estimated list-price cost, and /context shows how full the context window is. Prices are estimates from Dial's catalog, not invoices, and subscription use isn't priced as API spend. Running models yourself costs nothing per token: see local models.
The full reference is dial's provider documentation.