Your website reports 0.30$ for input and that wouldn't make any sense as it would be priced the same as the bigger Flash model.
- Filter by model "power" or price class. I want compare the mini models, the medium models, etc.
- I'd like to see a "blended" cost which does 80% input + 20% output, so I can quickly compare the overall cost.
Great work on this!
[1] https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-fla...
edit: my bad I was wrong shouldnt have responded like this
- for other models there are providers that serve the same model with different prices
- each provider optimizes for different parameters: speed, cost, etc.
- the same model can still be different quantizations
- some providers offer batch pricing (e.g., Grok API does not)
And there are plenty of other parameters to filter over- thinking vs. non-thinking, multi-modal or not, etc. not to even mention benchmarks ranking.
https://artificialanalysis.ai gives a blended cost number which helps with sorting a bit, but a blended cost model for input/output costs are going to change depending on what you're doing.
I'm still holding my breath for a site that has a really nice comparison UI.
Someone please build it!
- An image will take 10x token on gpt-4o-mini vs gpt-4.
- On gemini 2.5 pro output token are token except if you are using structure output, then all character are count as a token each for billing.
- ...
Having the price per token is nice, but what is really needed is to know how much a given query / answer will cost you, as not all token are equals.
It works in your command line and updates a live dashboard on my website (optional). I also aggregate everyone's token usage together and breakdown the models people are using.
The repo is here https://github.com/ellmanalex/pricepertoken-ai-coding-tracke...