Point it at any provider.
OpenCLI is provider-agnostic. Sign in with a subscription or an API key, switch models mid-session, and add any OpenAI-compatible endpoint. This catalogue reflects the latest release.
OpenAI
ChatGPT subscription (OAuth) or API key
The GPT-5 family over the Responses and Chat Completions APIs. A ChatGPT Plus, Pro, Team, or Enterprise subscription signs in over OAuth. An API key unlocks the full public catalogue.
Anthropic
Claude subscription (OAuth) or API key
The Claude 4 family over the Messages API, with adaptive extended thinking on the newest models. A Claude Pro or Max subscription signs in over OAuth after a terms acknowledgement.
OpenAI-compatible
Custom base URL and key in config.json
Any OpenAI-compatible endpoint, hosted or local. Declare a base URL, key, and context limit under providers in config.json and address it as provider/model.
The current catalogue
Context windows are approximate. Retired ids auto-migrate to their current equivalent on startup, so an existing config keeps working across releases.
OpenAI
Default. Largest OpenAI context window.
Extended reasoning for hard agent tasks.
Previous frontier, stable.
Fast and cheaper, strong for routine code.
Latency-sensitive, cheapest.
Earlier frontier, still selectable.
Earlier frontier, still selectable.
Anthropic
Adaptive extended thinking.
Adaptive extended thinking.
Adaptive extended thinking.
Prior Opus generation.
Adaptive extended thinking.
Prior Sonnet generation.
Fastest, lowest cost.
Reasoning levels
The same effort scale works across providers. The newest Claude models think adaptively at the top of the range.
OpenAI-compatible endpoints
Declare a base URL, key, and context limit under providers in config.json, then address the model as provider/model.
{
"providers": {
"groq": {
"base_url": "https://api.groq.com/openai/v1",
"api_key": "...",
"context_limit": 131072
}
}
}Model availability changes between releases. The catalogue in the binary is always the source of truth.
Read the source