---
title: Claude API Pricing Explained
description: "Understand Claude API pricing: per-token input and output rates, prompt caching, and how apiToken.sale applies a progressive discount of up to 80% off."
url: https://apitoken.sale/docs/learn/claude-api-pricing-explained
language: en
---

# How Claude API pricing works

Claude is billed per token — separately for input and output — with discounts for cached content. apiToken.sale keeps those mechanics identical and layers a discount on top.

## Tokens, input and output

Every request is metered by tokens in (your prompt and context) and tokens out (the model's reply). Output tokens usually cost more than input, and larger models cost more per token.

## Caching and thinking

- Cache writes and cache reads are metered separately, and cache reads are much cheaper.
- Thinking tokens count toward output on reasoning-heavy calls.
- Streaming and non-streaming requests are billed the same way.

## The apiToken.sale discount

Each call is converted to official Anthropic spend, then your discount is subtracted: B2C starts at 60% off and progresses to 80% off as cumulative top-ups grow. Every request is visible in your dashboard with token-level detail.

## Claude API token pricing by model

Larger models cost more per token: Opus is the premium tier, Sonnet is the balanced default, and Haiku is the cheapest. Your discount applies to all of them, so the ranking stays the same but every price is lower.

| Model | Official in / out ($ per 1M) | Here from (−60%) | Best (−80%) |
| --- | --- | --- | --- |
| Claude Opus 4.8 | $5 / $25 | $2 / $10 | $1 / $5 |
| Claude Opus 4.7 | $5 / $25 | $2 / $10 | $1 / $5 |
| Claude Sonnet 5 | $3 / $15 | $1.20 / $6 | $0.60 / $3 |
| Claude Sonnet 4.6 | $3 / $15 | $1.20 / $6 | $0.60 / $3 |
| Claude Haiku 4.5 | $1 / $5 | $0.40 / $2 | $0.20 / $1 |

[Per-model pages with cache rates and context windows](/models)

## Frequently asked questions

### How is the Claude API priced?

Per token, split into input and output, with separate cheaper rates for cache reads. Larger models cost more per token.

### How does the discount apply?

Official spend is calculated first, then your B2C discount (60% up to 80%) is subtracted before it touches your balance.

### How are Claude API tokens priced?

Per token, split into input and output, with cheaper cache reads. apiToken.sale applies your 60–80% discount on top of the official token rates.

---
Get a key: https://apitoken.sale/register
More guides: https://apitoken.sale/docs/learn
