
statlyte — live LLM pricing
io.github.richardwilkinson9由 GitHub 帳號 richardwilkinson9 發布v0.1.1更新於 Oct 24, 2026
Live LLM pricing, context windows and model ids, read from each vendor's own page every 3 hours.
概覽
一個本機 MCP 伺服器,為助理提供 13 家供應商、159 個 LLM 的即時 API 價格、上下文視窗和模型 ID,每三小時更新。
- 可以做什麼
- 列出各供應商的模型及其 ID 和上下文視窗,並依 statlyte ID 或供應商 API ID 查詢單一模型的價格,包括快取讀取費率和按分鐘或字元計費的非 token 音訊價格。估算指定輸入輸出 token 量的成本,並依指定工作負載的每月成本排序模型。回報供應商已公布但尚未生效的調價及其生效日期。網路不可用時改用內建快照或離線模式。
- 適用情境
- 適合助理需要目前模型價格或上下文上限、而非憑記憶的數字時使用,例如估算某項工作負載的成本、依價格比較模型,或確認已公布的漲價是否影響所用模型。
- 執行需求
- 透過 stdio 在本機執行,通常以 npx 啟動,需要 Node.js 和網路存取。不需 API 金鑰、帳號或環境變數;離線選項僅使用內建快照。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 statlyte — live LLM pricing,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
statlyte
Live pricing, context windows and identifiers for every major LLM API — so you can stop hardcoding a model table that goes stale.
Every app that touches an LLM ends up with something like this pasted into it:
Then a model is retired, a new one lands, an introductory rate expires, and your cost dashboard is quietly lying to you. This package fetches the current numbers instead.
- 159 models across 13 providers — Anthropic, OpenAI, Google, xAI, DeepSeek, Mistral, Together AI, Voyage AI, Groq, Cohere, Fireworks AI, Deepgram, AssemblyAI
- Read from each vendor's own published pricing page, every three hours, with the source URL recorded
- Zero dependencies. Node, Bun, Deno, Cloudflare Workers, browser
- Bundled snapshot fallback, so a flaky network never throws in your request path
- MIT. The data is free and the API needs no key
Use it
Everything is cached in-process for six hours. Pass { offline: true } to any call to
use only the bundled snapshot and never touch the network.
Audio/transcription models (Deepgram, OpenAI Whisper/TTS) aren't priced per token — they carry
m.nonTokenPrice ({ unit: 'per_minute' | 'per_million_characters', amount }) instead, and
m.prices is {}. costOf() throws a clear error rather than silently returning 0 if you call
it on one of these; check m.nonTokenPrice first, or filter on m.prices.input != null.
Fail your build when a price is about to change
The genuinely useful trick. scheduledChanges() returns increases vendors have announced
but not yet applied — so you can find out at build time rather than on the invoice:
MCP server
An assistant's training data goes stale on prices within weeks, and a guessed number is worse than no number. This gives your agent the current figures:
Other MCP clients
Tools: list_models, get_model_pricing, estimate_cost, cheapest_for_workload,
scheduled_price_changes.
Also listed in the official MCP Registry as
io.github.richardwilkinson9/statlyte.
Or just take the JSON
No install, no key, CORS open:
The raw dataset also lives in this repo as models.json and
changes.json, updated by commit — so you can diff it, pin it, or vendor it.
Where the numbers come from
A job re-reads each provider's published pricing page every three hours. When a figure differs from the last one on file it writes a new observation with a timestamp and the URL it was read from. Nothing is inferred and nothing is estimated: if a price isn't published, it isn't listed.
Two honest caveats:
- These are list prices. Negotiated, enterprise, regional and committed-spend rates differ, sometimes a lot. Confirm with the vendor before making a commercial decision.
- Cheaper is not the same as substitutable. This records what models cost, not what
they can do.
rankByCostwill happily tell you an 8B model is cheaper than a frontier one. That is arithmetic, not advice.
Found a figure that disagrees with a vendor's page? The vendor is right and we're wrong — open an issue and it gets fixed on the next run.
The rest of it
statlyte.com has the human-facing side: a change log, a calculator that puts two models head to head at your own volume, and a calendar of announced changes. Free, no account.
MIT licensed. Attribution appreciated, not required.
來源:README.md,提交 045e235
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分