Skip to content

MODEL SELECTION / API WORKBENCH

AI API Cost Calculator

Know your usage. Choose your model.

One workload, different bills. Scale a single request to a month and compare model cost with task performance.

↗ Pricing sources & check dates included◷ 30 days / month◇ Calculated in your browser

01 / Set your workload

Pick an illustrative scenario, then adjust your usage.

Missing cache prices use the standard input rate. Cache writes are extra.

Monthly requests
3,000
Monthly input tokens
4,500,000
Monthly output tokens
2,400,000

How many tokens is that?

Rough heuristic: ~1 token per CJK character, or 4 other characters per token. Use the provider’s tokenizer for exact counts.

≈ 0 Token · 0 characters

CURRENT FILTERS · LOWEST ESTIMATE

$1.30

/ month

DeepSeek V4 Flash Preview

Lower cost does not guarantee a better fit. Evaluate with your own tasks.

Same usage × 12 months $15.62

Lowest estimate, broken down

Uncached input
$0.63
Cached input
$0.00
Output
$0.67

02 / Compare models

Current task leaderboard and supplemental models only; not every model on the market.

Currency

Exchange rate date: 2026-10-16

58 models · 33 priced · USD / million tokens

  1. DeepSeek V4 Flash Preview

    DeepSeek · Task rank #63 · Score 18.8

    $1.30

    / month

    Input $0.14Cached $0.0028Output $0.28
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $0.63
    Cached input
    $0.00
    Output
    $0.67

    Per request: $0.000434

  2. GLM-5.3 Flash

    Z.ai · Task rank #39 · Score 43.2

    $1.54

    / month

    Input $0.12Cached $0.034399Output $0.42
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $0.54
    Cached input
    $0.00
    Output
    $1.01

    Per request: $0.000514

  3. DeepSeek V4 Pro Preview

    DeepSeek · Task rank #46 · Score 36.1

    $4.05

    / month

    Input $0.44Cached $0.003625Output $0.87
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $1.96
    Cached input
    $0.00
    Output
    $2.09

    Per request: $0.001349

  4. DeepSeek V4.1 Flash

    DeepSeek · Task rank #29 · Score 54.6

    $4.23

    / month

    Input $0.30Cached $0.006Output $1.20
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $1.35
    Cached input
    $0.00
    Output
    $2.88

    Per request: $0.00141

  5. DeepSeek V4 Flash 0731

    DeepSeek · Task rank #53 · Score 29.4

    $5.25

    / month

    Input $0.45Cached $0.014956Output $1.35
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $2.02
    Cached input
    $0.00
    Output
    $3.23

    Per request: $0.00175

  6. Qwen3.8 27 B

    Alibaba · Task rank #59 · Score 23.4

    $6.33

    / month

    Input $0.45Cached $0.089737Output $1.79
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $2.02
    Cached input
    $0.00
    Output
    $4.31

    Per request: $0.002109

  7. Gemini 3.7 Flash

    Google · Task rank #6 · Score 79.3

    $12.38

    / month

    Input $0.75Cached $0.075Output $3.75
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $3.38
    Cached input
    $0.00
    Output
    $9.00

    Per request: $0.004125

  8. Gemini 3.8 Flash

    Google · Task rank #9 · Score 77.3

    $12.38

    / month

    Input $0.75Cached $0.075Output $3.75
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $3.38
    Cached input
    $0.00
    Output
    $9.00

    Per request: $0.004125

  9. Gemini 3.6 Flash

    Google · Task rank #25 · Score 58.5

    $12.38

    / month

    Input $0.75Cached $0.075Output $3.75
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $3.38
    Cached input
    $0.00
    Output
    $9.00

    Per request: $0.004125

  10. GLM-5.2

    Z.ai · Task rank #38 · Score 43.2

    $15.43

    / month

    Input $1.20Cached $0.30Output $4.19
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $5.38
    Cached input
    $0.00
    Output
    $10.05

    Per request: $0.005145

  11. DeepSeek V4 Pro 0813

    DeepSeek · Task rank #32 · Score 52.2

    $15.75

    / month

    Input $1.35Cached $0.044869Output $4.04
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $6.06
    Cached input
    $0.00
    Output
    $9.69

    Per request: $0.00525

  12. Muse Spark 1.3

    Meta · Task rank #12 · Score 74.7

    $15.83

    / month

    Input $1.25Cached —Output $4.25
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $5.63
    Cached input
    $0.00
    Output
    $10.20

    Per request: $0.005275

Cost vs. performance: the frontier

Cost–performance frontier

Models on the frontier have no alternative with a lower cost and an equal or better score.Adjust your usage to see how the trade-offs change.

105090$0.00$4.50$29.20$165.00Task score ↑Estimated monthly cost → (USD)
DeepSeek V4 Flash Preview$1.30 / month · Score 18.8

On the current frontier. Evaluate it with your actual tasks.

Per million tokens: Input $0.14 · Cache $0.0028 · Output $0.28

Task scores are comparative indices, not accuracy or success rates. The cost axis is logarithmic. Only models with complete pricing are compared.

How is the bill calculated?

Monthly cost = [input tokens × (cache miss rate × input price + cache hit rate × cache price) + output tokens × output price] × daily requests × days ÷ 1,000,000.

Text token costs only. Include billed reasoning tokens in output usage. Excludes tools, search, images, audio, cache writes, tax, subscriptions, tiered prices and batch discounts. Missing prices are never treated as zero. Annual figures multiply the same monthly usage by 12.