Cost
Cache, cost and spend
Most of what a coding agent costs is not the few lines you type but the long context it sends again every turn. A cache hit is cheap; a miss writes the whole thing again. Filo puts that in front of you and does a few things that save money.
Three numbers
The status bar always shows the thread's context, its cache hit rate and its cost. On a subscription it adds quota bars for Claude Code, Codex and Antigravity; on a relay, the balance.
Keeping the cache warm
A prompt cache expires after a few idle minutes, and the next message writes it all again. Shortly before it expires, Filo sends the last request again so the cache is read and kept, only when that costs less than writing it all again later. For Claude Code it is sent from inside Claude Code's own process, so it works on a subscription as well as a key; for Codex, on API-key channels only. How long an idle thread is kept warm is yours to set, 5 to 60 minutes, 30 by default.
Compacting while it is hot
When a thread grows long, Filo compacts it at the end of a turn while the cache is still hot, instead of waiting until the context is full and the cache has gone cold.
Budget and quota
- Set a budget and get a warning when spend runs past it. Claude Code and Codex are warned, not stopped; pi's budget capability does stop.
- When a subscription's limit runs out, Filo notes the reset time and says "continue" for you when it comes.
Where the money went
The cost page works it out from each agent's own session records, with no second copy kept. Prices are OpenRouter's public list prices, subscriptions included, so you see what the usage is worth. Turn on the network panel to see every request the agents send: which missed the cache, what it cost, how the context grew. The panel is off by default, and its certificate goes only into the agents' environment, never your system keychain.
Channels and failover
An address and an API key make a channel for an agent, and several channels form a group that moves to the next when one fails. It only switches before the agent has received any output, and it never rewrites a request. Subscription sign-ins never join a group: a subscription is for its own agent only.
One command, with the agents you already haveDownload Filo, with the agents you already have
curl -fsSL https://filoapp.dev/install.sh | bash