711
Dictionary

Cost Per Token

The unit economics of LLM APIs.

1 min readupdated 2026-07-04

/ quick answer

Providers price separately for input and output tokens, usually per million. Output is typically 3-5x more expensive than input, so long context is cheap but long answers are not. The unit economics of LLM APIs.

The unit economics of LLM APIs. Providers price separately for input and output tokens, usually per million. Output is typically 3-5x more expensive than input, so long context is cheap but long answers are not. In practice: GPT-4o mini: $0.15/M input, $0.60/M output — a $0.001 support answer at 2k in + 500 out.
Definition
Providers price separately for input and output tokens, usually per million. Output is typically 3-5x more expensive than input, so long context is cheap but long answers are not.
Example
GPT-4o mini: $0.15/M input, $0.60/M output — a $0.001 support answer at 2k in + 500 out.

/ frequently asked

What is Cost Per Token?

Providers price separately for input and output tokens, usually per million. Output is typically 3-5x more expensive than input, so long context is cheap but long answers are not.

What is an example of Cost Per Token?

GPT-4o mini: $0.15/M input, $0.60/M output — a $0.001 support answer at 2k in + 500 out.

Why does Cost Per Token matter?

The unit economics of LLM APIs.

What should I learn after Cost Per Token?

Open the related workflows and prompts further down this page: they show how this idea is applied in a real task, step by step.

/ continue exploring

Related concepts

The vocabulary this page depends on.

  • →Token Budgeting

    Token budgeting is the strategic allocation and management of token usage within large language model (LLM) operations to control costs and optimize performance.

  • →AI Cost Control

    AI cost control is the practice of monitoring, analyzing, and managing the financial expenditures associated with developing, deploying, and operating artificial intelligence systems.

  • →Token Budget

    A token budget is a predefined limit on the number of tokens an AI application or specific request can consume within a given period or for a single interaction. It is a critical mechanism for controlling costs and managing resource allocation for Large Language Model (LLM) usage.

  • →AI Router

    A layer that picks the cheapest capable model for each request, saving cost and latency.

all dictionary →

Related workflows

Turn this into a repeatable process.

all workflows →

Related tool stacks

The tools that run it in production.

all tool stacks →

Comparisons & alternatives

Pick between the options.

all comparisons →

Long-form guides on this topic