How Much To Run AI
See what it costs to self-host an AI model — and how that stacks up against a commercial API.
Sign in to rate this tool.
Overview

How Much To Run AI lets you compare the cost of running an open‑weight language model on your own hardware with the price of a commercial API. The tool focuses on text workloads and includes calculators for image, video and decision tasks, though the main example is a large language model.
The calculator starts by asking you to pick an open‑weight LLM such as Kimi, GLM, DeepSeek or Qwen. It then requires a few inputs: whether the hardware is owned or rented, the average whole‑machine power in watts, the running time in hours, and your local electricity price per kWh. If you own the machine, the calculator includes only electricity costs; equipment purchase, depreciation, labor and cloud rent are excluded. For cloud–rented hardware, the rent already contains electricity. The calculator limits monthly time to 744 hours and hourly power to 10,000 W to keep the numbers realistic.
Once the inputs are entered, the tool produces a detailed cost report. The report shows the VRAM requirement, hardware selection, electricity usage, labor estimate and a comparison with the hosted API pricing. For example, it calculates that the DeepSeek‑V4.1‑Flash (749 B parameters, 1 M context window) requires more VRAM than the largest single GPU instance available, so local deployment is not feasible without multiple GPUs. The VRAM formula uses the chosen precision (FP16 equals 2 bytes/param, INT4 equals 0.5 bytes/param) and adds a runtime headroom multiplier. The electricity cost is calculated as power (kW) × running hours × rate × PUE, with default PUE omitted unless the user supplies it.
The tool allows you to vary depreciation periods, salary ranges for an AI operations engineer, and system cost multipliers, making it a simple planning aid. It does not provide live pricing data or automatic integration with cloud providers; you must manually input up‑to‑date rates. Also, the exact model license information comes from the official repository, such as the MIT license for DeepSeek‑V4.1‑Flash, and the tool states that the VRAM estimate is based on the September 10 checkpoint.
Key features
- Compare self‑hosted vs. Commercial API costs
- Supports text, image, video and decision workloads
- Accepts custom power, time, and electricity rates
- Shows VRAM, hardware, electricity, labor and API cost breakdown
- Uses open‑weight LLMs like Kimi, GLM, DeepSeek, Qwen
- Provides model‑specific data such as parameter count and context window
Details
- Pricing
- Free
- Category
- Development
Suggest an edit
Sign in to suggest an edit.
Pros and cons
Pros
- Intuitive input fields for power, time and cost
- Detailed cost breakdown allows transparent budgeting
- Includes multiple model choices with parameter data
- Allows manual adjustment of depreciation, salaries and PUE
Cons
- No live cloud pricing or automatic integration
- Limited to workloads with available performance data
- Requires manual input for electricity rates
- No published pricing for the tool itself

