CORE CONCEPTS
Providers and models
Uno works with twenty providers out of the box, plus any gateway that speaks OpenAI's or Anthropic's format. You connect one inside Uno: paste a key, pick a model, and the chat opens.
uno with no key and it walks you through connecting; later, /switch in the chat or uno switch in the terminal changes provider without a restart.Connecting the first time
When Uno finds no key, it opens setup instead of stopping. Nothing typed there goes to a model.
- Paste an API key. Uno names the provider from the key's shape (
sk-ant-Anthropic,sk-or-OpenRouter,gsk_Groq and so on) or asks which it is for, then checks the key with a call that costs nothing. A key that works goes straight on to the model list; choosing a model opens the chat, whose first line says where you are connected. - Use a free model. Kilo Gateway's free models need no key at all. Google AI Studio, OpenRouter's
:freemodels, Cerebras, Groq and Logfare need a free key; each shows its limits in one line, and choosing one opens the page where the key is made.
A key that works but has no credit or is over a limit is saved with a warning. A provider Uno can't reach offers to save anyway or try again. Esc goes back one step.
The providers
| Provider | Name for /switch | Key | Free use |
|---|---|---|---|
| Anthropic | anthropic | ANTHROPIC_API_KEY | no |
| OpenAI | openai | OPENAI_API_KEY | no |
| Google AI Studio | gemini | GEMINI_API_KEY or GOOGLE_API_KEY | free tier |
| OpenRouter | openrouter | OPENROUTER_API_KEY | :free models |
| DeepSeek | deepseek | DEEPSEEK_API_KEY | no |
| Z.ai (GLM) | zai | ZAI_API_KEY | no |
| Moonshot (Kimi) | moonshot | MOONSHOT_API_KEY | no |
| MiniMax | minimax | MINIMAX_API_KEY | no |
| Alibaba Qwen (Model Studio) | qwen | DASHSCOPE_API_KEY | no |
| xAI (Grok) | xai | XAI_API_KEY | no |
| Mistral | mistral | MISTRAL_API_KEY | free Experiment tier |
| Groq | groq | GROQ_API_KEY | free, tight limits |
| Cerebras | cerebras | CEREBRAS_API_KEY | free trial |
| Cloudflare Workers AI | cloudflare | CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID | 10K Neurons a day |
| Kilo Gateway | kilo | none | free models, no key |
| Logfare | logfare | LOGFARE_API_KEY | free, but it logs your prompts |
| Ollama | ollama | none | local |
| LM Studio | lmstudio | none | local |
| llama.cpp server | llamacpp | none | local |
| vLLM | vllm | none | local |
Logfare logs every request, and your prompts include your code, so Uno says so and asks for a yes before saving its key. Don't use it for private or client work. Free models are slower and weaker at using tools than paid ones. Gemini support is built but not yet tested against the live service.
Switching later
/switch # in the chat: the providers with a key, then Add a provider and Custom gateway
/switch deepseek # straight to a provider with a key, or to its key step
/model # the current provider's models; /model <name> still works
uno switch [provider] # the same steps from the terminal
uno providers # every provider, and where its key is found
uno providers --remove groq # take out a key uno switch saved
A switch takes effect from the next turn, with no restart. In the /switch list, d on a saved provider removes its key after a yes. uno -p never opens setup: with no key it says to run uno switch and exits 1.
Where keys live
Keys you paste are saved in ~/.config/uno/.env, readable by you only (mode 600), never in the OS keychain. Keys are read from the environment first, then a .env in the folder you run uno in, then ~/.config/uno/.env. If a shell variable or the project's .env hides a key you just saved, Uno says which variable to unset and how to come back to the conversation with uno --resume.
A key is sent only to its own provider's address. It never reaches the model, the session file, your prompt history, memory or the screen (it shows as its first 6 and last 4 characters), and it is never passed to hooks, MCP servers, helper processes or shell commands.
Custom gateways
Bifrost, LiteLLM, TrueFoundry, Portkey, a Cloudflare AI Gateway or any other gateway that speaks OpenAI's or Anthropic's format: choose Custom gateway in /switch and fill in its address, the format it speaks, a key and any extra headers. It is saved in your own settings.json like this:
{
"provider": "my-bifrost",
"providers": {
"my-bifrost": {
"wire": "chat",
"base_url": "http://localhost:8080/v1",
"headers": { "x-bf-vk": "${BIFROST_VK}" },
"model": "openai/gpt-6-luna"
}
}
}
wire is chat (Chat Completions), responses (OpenAI Responses) or anthropic; auth is bearer (the default), x-api-key, api-key or x-goog-api-key. The key goes in UNO_<NAME>_API_KEY (here UNO_MY_BIFROST_API_KEY), and ${VAR} in a header or address is filled from your .env. Set "free": true for an in-house gateway that costs nothing, and "effort": true when the gateway passes the reasoning-effort field on (see below). Gateways are read from your own settings only: a project's settings can't add one or change an address, even when trusted, so a cloned repository can't send your key to its own server.
Reasoning effort
--effort or the effort setting (low to max) is sent in each format's own field, and only where it is known to be taken, since an unknown field can make a server refuse the request:
- Anthropic:
output_config.effort. All five levels on the Claude 5 family and Opus 4.7/4.8; Opus 4.6 and Sonnet 4.6 take noxhigh(sent ashigh); Opus 4.5 stops athigh. Opus 4.6–4.8 and Sonnet 4.6 think only when asked, so adaptive thinking is turned on with it. Sonnet 4.5, Haiku 4.5 and older models are sent nothing. - OpenAI:
reasoning.effort(Chat Completions:reasoning_effort).xhighandmaxbecomexhighon GPT-5.2 and later,highbefore; a level a model doesn't take is raised to its lowest (GPT-5 Pro:high); models without reasoning (GPT-4 and the like) are sent nothing. - Google AI Studio:
thinkingConfig, asthinkingLevelon Gemini 3 and later andthinkingBudgeton Gemini 2.5. - A provider moved to another host with
--base-url(a proxy or shim) is sent nothing. - Everyone else (DeepSeek, Z.ai, Moonshot, MiniMax, Qwen, OpenRouter, Groq, local servers, …) is sent nothing, and so is a custom gateway unless its profile says
"effort": true.
Prices and the spend cap
The spend record, and a spending cap if you set one, need a price for every model. Uno ships a price list from models.dev and refreshes it once a day in the background; set "models": { "refresh": false } to turn that off. A refreshed price never goes below the shipped one. Local models and free models count as $0; a model with no known price is charged at a high rate so it can't slip past the cap.
Examples
uno --model claude-haiku-4-5 # cheap and quick
uno --provider deepseek --model deepseek-v4-pro # a provider and model for this run
uno --provider ollama --model qwen3 # a local server
uno --provider openai-compat --base-url http://gpu-box:8000/v1 --model qwen3 # any other server
Use cases
Try Uno for free
No card, no key: Kilo Gateway's free models are enough to see how Uno works.
uno # then Use a free modelCheap model for chores
Renames, docs, small tests: a small model does them for a fraction of the price.
uno --model claude-haiku-4-5 -p "add docstrings to src/util"Keep code on your machine
Point Uno at a model server on your own machine or network.
uno --provider ollama --model qwen3No vendor SDKs. Four wire formats cover nearly every provider, so a new provider is a row in one table, not a new adapter, and the binary stays about 3 MB. Pasted keys go in a mode-600 file rather than the keychain, because sandboxed commands can't read that file.