Electricity cost of a local model: the price per million tokens, worked out
GuideBy Lucas Matías García TorresUpdated Data checked 6 min read
Reviewed on . How we work.

Short answer
The electricity cost of a local model is watts ÷ (3.6 × tokens per second) kWh per million tokens, times your price per kWh. A computer drawing 300 W at 25 tokens per second uses 3.33 kWh per million tokens, €0.94 at the EU average household price of €0.2832 per kWh (Eurostat, first half of 2026), about twice the $0.50 per million output tokens of GPT-6 Luna or Claude Haiku 5.5 and a fifth of GPT-6.1 Terra's $5.
Prices and limits change often: check the vendor's page before you pay. How we make money.
The electricity cost of a local model comes down to three numbers: how many watts your computer draws while it generates text, how many tokens per second it produces, and what you pay per kilowatt-hour. This guide turns them into a price per million tokens with one formula and two ready-made tables, lists the rated power of NVIDIA's current graphics cards and compares the result with what an API charges. Prices and specifications were checked on October 28, 2026; the speeds in the tables are inputs for you to replace with your own, not measurements.
The formula
A million tokens at 25 tokens per second takes 40,000 seconds, about 11 hours. If the computer draws 300 watts during that time, it uses 3.33 kWh. In general:
- Energy per million tokens (kWh) = watts ÷ (3.6 × tokens per second)
- Cost per million tokens = energy × your price per kWh
The 3.6 comes from converting seconds to hours and watts to kilowatts. Everything else depends on your hardware, your model and your tariff.
Ready reckoner: energy per million generated tokens
Table: kWh to generate one million tokens, by power drawn and speed (our calculation)
| Speed | Computer drawing 150 W | 300 W | 600 W |
|---|---|---|---|
| 10 tokens per second | 4.17 kWh | 8.33 kWh | 16.67 kWh |
| 25 tokens per second | 1.67 kWh | 3.33 kWh | 6.67 kWh |
| 50 tokens per second | 0.83 kWh | 1.67 kWh | 3.33 kWh |
| 100 tokens per second | 0.42 kWh | 0.83 kWh | 1.67 kWh |
Multiply the figure that matches your setup by your own price per kWh. To give a reference, Eurostat's average household electricity price in the EU for the first half of 2026 was €0.2832 per kWh with all taxes, for homes using 2,500 to 4,999 kWh a year. At that price the same table becomes:
Table: electricity cost per million generated tokens at the EU average household price, €0.2832 per kWh (Eurostat, first half of 2026)
| Speed | 150 W | 300 W | 600 W |
|---|---|---|---|
| 10 tokens per second | €1.18 | €2.36 | €4.72 |
| 25 tokens per second | €0.47 | €0.94 | €1.89 |
| 50 tokens per second | €0.24 | €0.47 | €0.94 |
| 100 tokens per second | €0.12 | €0.24 | €0.47 |
Speed matters as much as power: a computer drawing twice the watts costs the same per token if it also generates twice as fast.
What to use for watts
NVIDIA publishes a total graphics power for each card, the power the card is designed to draw. It is a ceiling for the card alone, not a measurement of a running computer.
Table: rated power of NVIDIA GeForce RTX 50 series cards (NVIDIA specification pages, checked October 28, 2026)
| Card | Total graphics power | Power supply NVIDIA recommends for the whole system |
|---|---|---|
| GeForce RTX 5090 | 575 W | 1,000 W |
| GeForce RTX 5080 | 360 W | 850 W |
| GeForce RTX 5070 Ti | 300 W | 750 W |
| GeForce RTX 5070 | 250 W | 650 W |
| GeForce RTX 5060 Ti | 180 W | 600 W |
| GeForce RTX 5060 | 145 W | 550 W |
The last column is the size of power supply NVIDIA asks for, not what the computer uses, so do not put it in the formula. For a real figure, measure. On NVIDIA cards, nvidia-smi --query-gpu=power.draw --format=csv reports the last measured power draw of the whole board in watts, so run it while the model is answering. The processor, memory, drives and the power supply's own losses come on top; a plug-in power meter between the wall and the computer measures all of it at once.
What to use for speed
The best number is one you measure. Ollama's API returns eval_count, the number of tokens in the answer, and eval_duration, the time spent generating it in nanoseconds; Ollama's documentation says to divide the first by the second and multiply by 10^9 to get tokens per second. The same response includes prompt_eval_count and prompt_eval_duration for the time spent reading your prompt, which also uses electricity and can be priced with the same formula.
If you have not bought the hardware yet, our guide to the best GPU for local LLMs explains how memory bandwidth sets a ceiling on speed. Real speeds are lower than that ceiling, so a cost worked out at the ceiling is the lowest you could pay, not what you will pay. How much memory a model needs to run at all is in our guide to how much VRAM an LLM needs.
A worked example
Take a computer with a GeForce RTX 5070 Ti and assume, for the example, that the whole machine draws 300 W while generating and produces 40 tokens per second. Then:
- Energy per million tokens: 300 ÷ (3.6 × 40) = 2.08 kWh
- Cost per million tokens at €0.2832 per kWh: €0.59
- Two hours of generation a day for 30 days: 300 W × 2 h × 30 = 18 kWh, or €5.10 a month
The second number is the one most people feel on the bill. Leaving the computer on all day for occasional questions adds the hours when it sits idle, which this formula does not count.
How it compares with an API
On October 28, 2026, OpenAI listed GPT-6 Luna and Anthropic listed Claude Haiku 5.5 at $0.50 per million output tokens and $0.10 per million input tokens, and OpenAI's GPT-6.1 Terra at $5 per million output tokens. At the European Central Bank's reference rate of the same day, $1.1133 to the euro, $0.50 is about €0.45 and $5 about €4.49.
So the electricity for a local model drawing 300 W at 25 tokens per second, €0.94 per million tokens at the EU average price, costs about twice the output price of the cheapest API models and about a fifth of a mid-range one. The comparison has three catches:
- The models are not the same. What fits on a single consumer card is usually smaller than the models served by an API, so check that it does your job before comparing prices.
- The hardware is not free. The tables count electricity only; the price of the graphics card and the computer comes on top.
- An API has no idle cost. You pay only for tokens, while a local machine costs money for every hour it stays on.
What a local model gives you in return is that your data stays on your computer, there are no rate limits and it works offline. For the API side of the comparison, see our guide to LLM API pricing.
Ways to cut the cost
- Pick a model that generates faster. A smaller model, or a more compressed version of the same one, produces more tokens per second for the same watts; our explainer on quantization covers the trade-off in quality.
- Cap the card's power.
nvidia-smi -plsets a maximum power limit in watts, within the minimum and maximum the card reports, and needs administrator rights. A lower cap usually costs some speed, so measure tokens per second again before and after. - Turn it off when it is idle. Sleep or shut down the computer when nobody is using the model.
- Run long jobs when power is cheap. On an hourly tariff, batch work such as summarising a folder of documents can wait for the cheapest hours.
How we checked
On October 28, 2026 we read NVIDIA's specification pages for the GeForce RTX 5090, 5080, 5070 family and 5060 family, NVIDIA's nvidia-smi documentation, Ollama's API documentation, Eurostat's household electricity prices (dataset nrg_pc_204, updated October 19, 2026), the European Central Bank's euro reference rate, and the API price pages of OpenAI and Anthropic. The tables and the example are our own calculations. We did not measure power draw or speed on our own hardware.
What we checked
- GeForce RTX 5090: total graphics power 575 W; required system power 1,000 W. (NVIDIA, )
- GeForce RTX 5080: total graphics power 360 W; required system power 850 W. (NVIDIA, )
- GeForce RTX 5070 Ti: total graphics power 300 W, required system power 750 W; GeForce RTX 5070: 250 W and 650 W. (NVIDIA, )
- GeForce RTX 5060 Ti: total graphics power 180 W, required system power 600 W; GeForce RTX 5060: 145 W and 550 W. (NVIDIA, )
- nvidia-smi: power.draw is the last measured power draw for the entire board, in watts; -pl, --power-limit specifies the maximum power limit in watts, between the minimum and maximum power limit reported by nvidia-smi, and requires root. (NVIDIA, )
- Ollama API: eval_count is the number of tokens in the response and eval_duration the time in nanoseconds spent generating it; tokens per second = eval_count / eval_duration × 10^9; prompt_eval_count and prompt_eval_duration cover the prompt. (Ollama (GitHub docs), )
- Eurostat household electricity prices, band 2,500 to 4,999 kWh a year, first half of 2026: EU average €0.2832 per kWh with all taxes and €0.2027 excluding taxes (dataset updated October 19, 2026). (Eurostat, )
- Euro foreign exchange reference rate on October 28, 2026: 1 euro = 1.1133 US dollars. (European Central Bank, )
- OpenAI Standard prices per million tokens: GPT-6 Luna $0.10 input and $0.50 output; GPT-6.1 Terra $1 input and $5 output. (OpenAI, )
- Claude Haiku 5.5: $0.10 per million input tokens for prompts up to 100,000 tokens and $0.50 per million output tokens. (Anthropic, )
What may change
- Electricity prices change every half year in Eurostat's data and every hour on dynamic tariffs, API prices change without notice and new graphics cards bring new power ratings. This page is reviewed every quarter.
Frequently asked questions
How much electricity does a local LLM use?
It depends on the power your computer draws while generating and on its speed. Energy per million tokens is watts divided by 3.6 times tokens per second: a machine drawing 300 W at 25 tokens per second uses 3.33 kWh per million tokens, and 150 W at 50 tokens per second uses 0.83 kWh.
How do I calculate the cost per million tokens of a local model?
Measure the power the computer draws while answering and the tokens per second it produces, divide the watts by 3.6 times the speed to get kWh per million tokens, and multiply by your price per kWh. At the EU average of €0.2832 per kWh, 3.33 kWh costs about €0.94.
Does a GeForce RTX 5090 use 1,000 watts?
No. NVIDIA rates the RTX 5090's total graphics power at 575 W. The 1,000 W figure is the size of power supply NVIDIA recommends for the whole computer, not what it consumes. To know the real draw, measure it with nvidia-smi or a plug-in power meter.
How do I measure my GPU's power draw?
On an NVIDIA card, run nvidia-smi --query-gpu=power.draw --format=csv while the model is generating: it reports the last measured power draw of the whole board in watts. For the whole computer, including processor and power supply losses, use a plug-in power meter at the wall.
How do I measure tokens per second with Ollama?
Ollama's API returns eval_count, the number of tokens in the answer, and eval_duration, the generation time in nanoseconds. Divide eval_count by eval_duration and multiply by one billion to get tokens per second, as Ollama's own API documentation explains.
Sources
- GeForce RTX 5090: full specifications (total graphics power and required system power), NVIDIA. Accessed October 28, 2026.
- GeForce RTX 5080: full specifications (total graphics power and required system power), NVIDIA. Accessed October 28, 2026.
- GeForce RTX 5070 family: full specifications of the RTX 5070 Ti and RTX 5070 (total graphics power and required system power), NVIDIA. Accessed October 28, 2026.
- GeForce RTX 5060 family: full specifications of the RTX 5060 Ti and RTX 5060 (total graphics power and required system power), NVIDIA. Accessed October 28, 2026.
- nvidia-smi documentation: power.draw query and the -pl power limit option, NVIDIA. Accessed October 28, 2026.
- Ollama API reference: eval_count, eval_duration and how to calculate tokens per second, Ollama (GitHub docs). Accessed October 28, 2026.
- Electricity prices for household consumers, bi-annual data (nrg_pc_204), band 2,500 to 4,999 kWh, first half of 2026, Eurostat. Accessed October 28, 2026.
- Euro foreign exchange reference rates: US dollar (USD), 28 October 2026, European Central Bank. Accessed October 28, 2026.
- OpenAI API pricing: Standard table for GPT-6 Luna, GPT-6.1 Terra and GPT-6.1 Sol, OpenAI. Accessed October 28, 2026.
- Claude API pricing: Haiku 5.5 and Sonnet 5.5, cache multipliers and the newer tokenizer, Anthropic. Accessed October 28, 2026.
Spotted an error or an outdated price? Tell us and we will fix it.
Change history
- : First published. Checked against NVIDIA's specification pages and nvidia-smi documentation, Ollama's API documentation, Eurostat's household electricity prices, the ECB reference rate and the API price pages of OpenAI and Anthropic on October 28, 2026.
Next review: .
Part of our Local Models & Hardware guide.
Keep reading
- Best GPU for local LLMs: what fits in each VRAM tier
Best GPU for local LLMs: which models fit in 8, 12, 16, 24 and 32 GB of VRAM, how memory bandwidth limits speed and which GPUs Ollama supports.
- How much VRAM do you need to run an LLM locally?
Work out how much GPU memory a local LLM needs from its size, quantization and context length. Our formula is checked against 13 real model files.
- How to run an LLM locally on Windows, Mac or Linux
Install Ollama, pick a model that fits your memory, chat with it, check it runs on the GPU and connect other apps, with the official commands for each OS.
- LLM API pricing compared, with a cost calculator
API prices for OpenAI, Anthropic, Google and DeepSeek models per million tokens, plus a calculator with caching, batch discounts and tokenizer differences.
- Are local LLMs private? What Ollama, LM Studio and llama.cpp send online
Local LLM privacy explained: what stays on your computer with Ollama, LM Studio and llama.cpp, what goes online and how to keep everything offline.
- Speculative decoding explained: faster local models with a draft model
Speculative decoding speeds up a local model with a small draft model and no change to its answers. How it works, published speed-ups and how to turn it on.
Other topics

Assistants & Chatbots
21 guides

LLM APIs & Costs
16 guides

Agents & Automation
13 guides

Language Models Explained
18 guides