
statlyte — live LLM pricing
io.github.richardwilkinson9Published by GitHub account richardwilkinson9v0.1.1Updated Oct 24, 2026
Live LLM pricing, context windows and model ids, read from each vendor's own page every 3 hours.
Overview
A local MCP server that gives an assistant live LLM API pricing, context windows and model ids for 159 models across 13 providers, refreshed every three hours.
- What you can do
- List models across providers with their ids and context windows, and look up pricing for a specific model by statlyte id or vendor API id, including cache-read rates and non-token audio pricing. Estimate the cost of a given input/output token volume, and rank models by monthly cost for a stated workload. Report price changes vendors have announced but not yet applied, with effective dates. Fall back to a bundled snapshot or an offline mode when the network is unavailable.
- When to use it
- Useful when an assistant needs current model prices or context limits rather than remembered figures, for example to estimate the cost of a workload, compare models by price, or check whether an announced price rise affects models you use.
- Requirements
- Runs locally over stdio, typically started with npx, so Node.js and network access are needed. No API key, account or environment variables are required; an offline option uses only the bundled snapshot.
Installation
In SourceWeft
- Open statlyte — live LLM pricing in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 045e235
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts