statlyte — live LLM pricing

v0.1.1
io.github.richardwilkinson9/statlyte Checked 4 days ago Published 3 months ago

Live LLM pricing, context windows and model ids, read from each vendor's own page every 3 hours.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_models

List 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.

ParameterTypeDescription
includeRetiredbooleanInclude deprecated and retired models
providerstringe.g. anthropic, openai, google, mistral

get_model_pricing

Current published pricing and specs for one model. Accepts a statlyte id (anthropic/claude-opus-5) or a vendor API id (gpt-5-mini).

ParameterTypeDescription
model *string

estimate_cost

Cost in USD of a call or workload against one model, given raw token counts.

ParameterTypeDescription
model *string
cacheReadnumber
inputnumberinput tokens
outputnumberoutput tokens

cheapest_for_workload

Rank every generally-available model by what a monthly token volume would cost. Use to answer "what is the cheapest model for this workload".

ParameterTypeDescription
inputPerMonthnumberinput tokens per month
limitnumber
outputPerMonthnumberoutput tokens per month

scheduled_price_changes

Price changes vendors have announced for a future date, with the old and new figures. Check before committing to a model.