CORE CONCEPTS
Context and cost
Every request sends the model the whole conversation again. What you pay depends mostly on how much is sent, and how much of it the provider can reuse from its cache.
What one request holds
Where the money goes
- The standing part. System prompt and tool descriptions: about 1,800 tokens, or about 3,500 with the provider's web search on. Claude Code sends about 46,000.
- Your project's part.
AGENTS.md, the first 100 lines of memory, and the list of skills. Sent once, at the start, then cached. - The conversation. Grows each turn. Tool output is the biggest part: a test log can be thousands of tokens.
How Uno keeps the cache warm
- Nothing early ever changes. The tool list is fixed for the session. Skills, plan mode and reminders arrive as new messages at the end, never as edits to the start.
- Project instructions go in the first user message, not the system prompt, so the system prompt is identical in every project and every session.
- On Anthropic Uno marks cache points on the tools, the system prompt and the newest message. On OpenAI it sends a stable cache key per session. Gemini caches on its own.
- Shortening reuses the cache too: the summary is asked for on the same cached prefix, with the same model.
Every -p run with text output ends with this line on stderr. The cached figure is the part you paid about a tenth for. Illustrative numbers.
Use cases
Cheap long sessions
Stay in one chat for a related run of tasks: each turn reuses the cache from the last.
uno --resumeLeaner still
Turn off provider search when you don't need it. It saves about 1,700 tokens a request on Anthropic.
uno --no-searchAppend-only is a hard rule. Any change to the tools or system prompt mid-session throws the whole cache away, and the next request costs full price. So plan mode is a permission setting rather than a different tool list, MCP servers hide behind two fixed tools, and skills are read as files instead of being added to the prompt.