Guide
The cost to run an LLM depends less on the model name and more on how you run it. A light API workload might be a few dollars a month. A rented GPU left on all month can be hundreds. Local hardware you already own has no token bill, but it is not free. You still pay in hardware, power, and setup. The reason the range is so wide is that these are three different cost models, not three prices for the same thing.
What changes the cost
Before the dollar figure, the shape of the bill is set by how you run the model:
The three main ways to run an LLM
A model API charges by tokens. A rented GPU charges by time. These are two different meters, and local hardware is a third. Comparing them means comparing the meters, not only the sticker price.
Example scenarios
These are illustrative assumptions, not quotes. Your usage and the model you pick move the numbers a lot:
When each one makes sense
Common mistakes
How AIStackPicker estimates it
AIStackPicker keeps the three cost models separate instead of blending them into one number. Token-based API usage is estimated from your assumed usage; a rented GPU is converted to a monthly equivalent at hourly price × 730 hours; local hardware is treated as an up-front machine plus running cost, not a token bill. Every price carries a source and the date it was last checked, so you can see how current each figure is before it drives a recommendation.
FAQ
Is running an LLM locally free?
Local inference has no token bill, but it is not free. You have already paid for the hardware, you pay for power while it runs, and you spend setup time getting it working and fitting the model in memory.
Why is a rented GPU sometimes more than an API?
A rented GPU charges by time, not tokens. Left on all month, its monthly equivalent is the hourly price × 730 hours whether it is busy or idle, so for light use it can cost more than paying an API per token.
Does a longer prompt cost more?
On an API, yes. Longer context means more tokens are processed, so both the input you send and the reply you get back can raise the cost of a single call.
Related guides
Every price is sourced and dated at its row.