# Cost Per Token

- **Canonical URL:** https://getaimath.com/dictionary/cost-per-token/
- **Topics:** [Local AI & Open-Weight Models](https://getaimath.com/dictionary/category/local-ai-and-open-weight-models/), [AI Evaluation & Performance Metrics](https://getaimath.com/dictionary/category/ai-evaluation-and-performance-metrics/)
- **Last updated:** 2026-11-25

## What is Cost Per Token?

**In one sentence:** Cost per token is the price of processing or generating one token, usually quoted per million tokens.

Providers often charge different prices for input and output tokens, and some offer discounts for cached input or batch jobs.

![Local AI vs. Cloud AI: Cooking at Home vs. Ordering Out — Simple two-column cartoon comparing Local AI (running an open-weight model inside your own laptop with total privacy and $0 per question) against Cloud AI (sending questions over the internet to a giant rented kitchen).](https://getaimath.com/diagrams/local-ai-and-open-weight-models.png)
*Napkin Diagram (Local AI & Open-Weight Models): Local AI runs privately on your own computer for free; Cloud AI rents a giant supercomputer over the internet.*

## What is an example of Cost Per Token?

A price of $3 per million input tokens means 1,000 tokens cost $0.003.

## Why does Cost Per Token matter?

It is the basic unit for comparing AI prices.

## Related Concepts

- [Inference Cost](https://getaimath.com/dictionary/inference-cost/): Inference cost is how much it costs to run a model to get answers.
- [Cost Per Request](https://getaimath.com/dictionary/cost-per-request/): Cost per request is how much one call to an AI model costs, based on the tokens it uses and any extra fees.
- [Time Per Output Token (TPOT)](https://getaimath.com/dictionary/time-per-output-token-tpot/): Time Per Output Token is the average time it takes to generate each new token after the first one.
- [Energy Efficiency](https://getaimath.com/dictionary/energy-efficiency/): Energy efficiency is how much useful AI work is done per unit of energy used.
- [Data Privacy](https://getaimath.com/dictionary/data-privacy/): Data privacy is protecting personal information so it is collected, used and shared only in fair and allowed ways.
- [Total Cost of Ownership (TCO)](https://getaimath.com/dictionary/total-cost-of-ownership-tco/): Total cost of ownership is the full cost of an AI system over time, including hardware, software, electricity, staff, maintenance and API fees.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/cost-per-token/)
