Filo

花费Cost

缓存、花费和预算Cache, cost and spend

编程 Agent 的钱,大头不在你看得见的那几句话,而在每轮重新发的那一长串上下文。缓存命中了便宜,没命中就是整段重写。Filo 把这件事摆到眼前,并替你做几件能省钱的事。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

状态栏一直显示当前线程的上下文占用、缓存命中率和花费。用订阅的,还有 Claude Code、Codex、Antigravity 的额度条;用中转的,显示余额。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

提示缓存几分钟没用就过期,下一句话就得整段重写。缓存快过期时,Filo 把上一次请求再发一遍,让缓存被读到而续上,只在这比之后整段重写更便宜时才发。Claude Code 的保温在它自己的进程里发,所以订阅和 API key 都适用;Codex 的保温只用于 API key 渠道。空闲多久以后不再保温可以设,5 到 60 分钟,默认 30。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

线程长了,Filo 在一轮结束时、缓存还热着的时候压缩,而不是等到上下文撑满、缓存也冷了再压。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

钱花在哪Where the money went

花费页从各家 Agent 自己的会话记录现算,不另记一份。价格用 OpenRouter 公开的标价,订阅也按标价折算,让你知道这些用量值多少钱。打开网络面板,还能看到 Agent 发出的每个请求:哪次没命中缓存、花了多少、上下文涨了多少。网络面板默认关着,它的证书只放进 Agent 的环境,不装进系统钥匙串。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

一个地址加一个 API key 就是某个 Agent 的一个渠道,多个渠道组成一组,前一个失败就自动换下一个。切换只在 Agent 还没收到任何输出时发生,不改写请求。订阅登录不进组:订阅只给它自己的 Agent 用。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.

一行命令装上,用你已有的 AgentOne command, with the agents you already have下载装上,用你已有的 AgentDownload Filo, with the agents you already have

curl -fsSL https://filoapp.dev/install.sh | bash

下载 Windows 安装程序Download for Windows.exe

在终端里运行 · Apple Silicon · macOS 11 及以上Run it in Terminal · Apple Silicon · macOS 11 or later·下载 .dmgDownload .dmg·安装说明Install notes

在终端里运行 · x64 / arm64 · 不需要 rootRun it in a terminal · x64 / arm64 · no root needed·下载 AppImageDownload AppImage·安装说明Install notes

Windows 10 / 11 x64 · 首次运行若弹窗,点「更多信息 → 仍要运行」Windows 10 / 11 x64 · if SmartScreen asks once, click More info → Run anyway·PowerShell 安装与说明PowerShell & install notes