PromptSpend
- No match
Machine translation — the English original is authoritative.
The Story
Every LLM cost calculator goes stale the moment a vendor reprices. PromptSpend re-checks its catalog every morning against vendor pages, flags disagreements instead of averaging over them, and shows the source URL and confirmation date on every number.
Paste a real prompt or set your scale, compare up to four models side by side, and see the monthly cost — plus the two numbers every calculator gets wrong: compounding chat history and hidden reasoning tokens.
I built it because every pricing calculator I found was a snapshot — someone hard-codes a dozen prices, and within a few months the whole thing is quietly wrong. So here the pricing pipeline is the product: it re-fetches from independent sources each morning, cross-checks them, and either commits a clean update or opens a pull request for a human. There is also a public API, an MCP server for coding agents, and a VS Code extension that prices the model on the line of code that calls it.
Free, no account, open source.
AI Overview
AI-generatedEvery cost comparison tool becomes obsolete the moment vendors adjust their pricing. PromptSpend addresses this fundamental problem by treating the pricing pipeline itself as the core product rather than treating price data as static information to collect once.
The calculator supports 78 LLM models including GPT and Claude, allowing side-by-side comparison of up to four models at a time. Users can input real prompts or specify their usage scale to see monthly cost projections. The platform targets developers and technical teams making model selection decisions.
What distinguishes PromptSpend from existing calculators is its automated approach to freshness. The system re-checks pricing information every morning against vendor pages, flagging discrepancies instead of simply averaging different sources. Each price quote includes the source URL and confirmation date, providing verifiable attribution that existing calculators typically omit.
The tool also addresses two cost factors that most calculators ignore or get wrong. The first is compounding chat history—each message in a conversation includes previous messages, yet calculators often treat input costs as linear. The second is hidden reasoning tokens, which affect models that perform internal reasoning steps before generating output. These technical details significantly impact real-world costs at scale.
PromptSpend offers three access points beyond the web calculator. A public API lets developers integrate pricing lookups programmatically. An MCP server makes the tool available to coding agents, enabling AI assistants to check costs while writing code. A VS Code extension shows pricing information inline on the line of code that calls a model.
The pricing model is transparent: the tool is free, requires no account to use, and operates under an open source license. The founder chose this model deliberately, framing the continuously-updated pricing data as the key value proposition. Rather than monetizing access to price information or user data, the focus remains on the open source infrastructure itself being valuable to the ecosystem.
For teams running multiple LLM models in production or evaluating model choices, the combination of automated pricing accuracy and technical cost details addresses real friction in AI infrastructure decisions.
Founder Diary
DevlogThe maker hasn't posted a diary entry yet.
Key Features
Multi-Model Comparison
Supports 78 LLM models with side-by-side comparison of up to four models simultaneously.
Automated Pricing Freshness
Re-checks pricing every morning against vendor pages and flags discrepancies.
Compounding Chat History
Calculates costs accounting for previous messages included in each API call.
Hidden Reasoning Tokens
Accounts for internal reasoning steps in models that affect actual usage costs.
Multiple Integration Methods
Offers web calculator, public API, MCP server, and VS Code extension.
Verifiable Attribution
Includes source URLs and confirmation dates for price transparency.
Use Cases
-
1
Developers making model selection
Compare costs across 78 models to inform architecture decisions.
-
2
Technical teams evaluating infrastructure
Project monthly costs and ROI for different model choices.
-
3
Production deployment teams
Access updated pricing for models in active use to optimize spending.
-
4
AI coding assistants
Use the MCP server to check model costs while generating code.
FAQ
How often is pricing data updated on PromptSpend? ▾
What LLM models does PromptSpend support? ▾
Is PromptSpend free to use? ▾
Can I use PromptSpend outside the web calculator? ▾
Pricing
Free and open source with no account requirement, monetized through ecosystem value rather than user access.
Tech Stack & Tags
Discussion
No comments yet — be the first!
Join the conversation — sign up to comment.
Sign up free