statlyte — live LLM pricing MCP server
io.github.richardwilkinson9/statlyte·v0.1.1Live LLM pricing, context windows and model ids, read from each vendor's own page every 3 hours.
0 stars31 downloads/wk
Reviews
Write oneNobody has reviewed statlyte — live LLM pricing yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
statlyte — live LLM pricing tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cheapest_for_workloadRank every generally-available model by what a monthly token volume would cost. Use to answer "what is the cheapest model for this workload".
estimate_costCost in USD of a call or workload against one model, given raw token counts.
get_model_pricingCurrent published pricing and specs for one model. Accepts a statlyte id (anthropic/claude-opus-5) or a vendor API id (gpt-5-mini).
list_modelsList LLM models with current published pricing (USD per million tokens, or nonTokenPrice for audio/image models billed per minute/character/etc), context windows and API identifiers. Optionally filter by provider.
scheduled_price_changesPrice changes vendors have announced for a future date, with the old and new figures. Check before committing to a model.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 41 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How statlyte — live LLM pricing compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 73% of 4,460 AI and agents servers
- Tools
- 5
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 31
- more than 18% of 1,538 AI and agents servers with a package
What its tools let an agent do: 5 read
Install statlyte — live LLM pricing in Claude Code, Cursor or VS Code
Runs npx -y statlyte on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add statlyte -- npx -y statlyte
What the publisher says
From the statlyte — live LLM pricing repository's README, as published. We do not edit it. Read it on GitHub
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:
const PRICES = {
'gpt-4o': { input: 2.5, output: 10 },
'claude-3-5-sonnet': { input: 3, output: 15 },
// …written once, wrong within a month
};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
npm i statlyteUse it
import { getModel, costOf, rankByCost, scheduledChanges } from 'statlyte';
// What does this actually cost me?
await costOf('claude-sonnet-5', { input: 12_000, output: 800 });
// => 0.032
// Look up by statlyte id or the vendor's own API id
const m = await getModel('gpt-5-mini');
m.contextWindow; // 400000
m.prices.input; // 0.25 (USD per million tokens)
m.prices.cache_read; // 0.025
// Cheapest model for a real monthly workload
const ranked = await rankByCost({ inputPerMonth: 620e6, outputPerMonth: 210e6 });
ranked[0].name; // cheapest first
ranked[0].monthlyCost; // USD/month
// Price rises vendors have already announced
await scheduledChanges();
// [{ name: 'Claude Sonnet 5', effectiveOn: '2026-09-01',
// from: { input: 2, output: 10 }, to: { input: 3, output: 15 },
// reason: 'Introductory pricing ends' }]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: 'perminute' | 'permillion_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:
// scripts/check-model-costs.mjs
import { scheduledChanges } from 'statlyte';
const MODELS_WE_USE = ['anthropic/claude-sonnet-5', 'openai/gpt-5-mini'];
const soon = (await scheduledChanges())
.filter((c) => MODELS_WE_USE.includes(c.id))
.filter((c) => new Date(c.effectiveOn) - Date.now() < 60 * 86400_000);
if (soon.length) {
console.error('Price change coming:');
for (const c of soon) {
console.error(` ${c.name} on ${c.effectiveOn}: ` +
`in $${c.from.input}→$${c.to.input}, out $${c.from.output}→$${c.to.output} per MTok`);
}
process.exit(1);
}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:
claude mcp add statlyte -- npx -y statlyteOther MCP clients
{
"mcpServers": {
"statlyte": {
"command": "npx",
"args": ["-y", "statlyte"]
}
}
}Tools: listmodels, getmodelpricing, estimatecost, cheapestforworkload, scheduledpricechanges.
Also listed in the official MCP Registry as io.github.richardwilkinson9/statlyte.
Or just take the JSON
No install, no key, CORS open:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
statlyte — live LLM pricing: common questions
- Is statlyte — live LLM pricing MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the statlyte — live LLM pricing safety report
- How do I install statlyte — live LLM pricing?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does statlyte — live LLM pricing need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is statlyte — live LLM pricing maintained?
- The last commit was 82 days ago (2026-08-14). The latest release is v0.1.1.
- What can I use instead of statlyte — live LLM pricing?
- Servers from other publishers that do the same job: MCP Server for WinDbg Crash Analysis, Watch Skill MCP server and WaveSpeed MCP server.
- How does statlyte — live LLM pricing compare with other AI and agents MCP servers?
- safety score 85/100 (higher than 73% of 4,460 AI and agents servers); tools 5 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to statlyte — live LLM pricing
Same job from other publishers: the closest match first, then the best rated.
- MCP Server for WinDbg Crash AnalysisA Model Context Protocol server for Windows crash dump analysis using WinDbg/CDBnot reviewedEstablishedA
- Watch SkillWatch video and live sessions, keep timestamped evidence, and verify an agent's own work.not reviewedEstablishedB
- WaveSpeedRun any model on the live WaveSpeed catalog: image, video, audio, 3D.not reviewedEstablishedA
- Godot MCPAgent-driven Godot playtesting: editor control, input injection, game-time stepping, live state.not reviewedEstablishedA
- OpenflowkitArchitecture diagrams for your agent: draw on the live OpenFlowKit canvas or edit diagram files.not reviewedEstablishedA