Re:Up to date prices for LLM APIs all in one place
by NitpickLawyer on Friday July 25, 2025 @10:08AM
(#44683306)
> The only place I am aware of is going to these provider's individual website pages to check the price per token.
Openrouter is a good alternative. Added bonus that you can also see where the open models come in, and can make an educated guess on the true cost / size of a model, and how likely it is it's currently subsidised.
Re:Up to date prices for LLM APIs all in one place
by danenania on Friday July 25, 2025 @12:04PM
(#44684750)
OpenRouter also has an endpoint for listing models (with pricing info) in its api: https://openrouter.ai/docs/overview/models
A limitation though, at least the last time I checked, is that you only get a single provider returned per model. That’s fine for the major commercial models that all have the same pricing on each provider, but makes it hard to rely on for open source models, which tend to have many providers offering them at different price points (sometimes very different price points—like 5x or 10x difference).
Re:Up to date prices for LLM APIs all in one place
by aaronharnly on Friday July 25, 2025 @09:50AM
(#44683111)
Can you gather historical information as well? I did a bit of spelunking of the Wayback Machine to gather a partial dataset for OpenAI, but mine is incomplete. Future planning is well-informed by understanding the trends — my rough calculation was that within a model family, prices drop by about 40-80% per 12 months.
Re:Up to date prices for LLM APIs all in one place
by alexellman on Friday July 25, 2025 @09:58AM
(#44683206)
Yeah I am planning on setting up automatic scraping and just having my own database. Maybe could add historical data beyond as well but just gonna save all my own data for now
Re:Up to date prices for LLM APIs all in one place
by ashwindharne on Friday July 25, 2025 @10:29AM
(#44683532)
KV caching is priced and managed quite differently between providers as well. Seeing as it becomes a huge chunk of the actual tokens used, wondering if there's an easy way to compare across providers.
To solve this inconvenience I spent a few hours making pricepertoken.com which has the latest model's up-to-date prices all in one place.
Thinking about adding image models too especially since you have multiple options (fal, replicate) to use the same model and the prices are not always the same.