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
36,000,000
Monthly output tokens
4,500,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

$6.19

/ month

GLM-5.3 Flash

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

Same usage × 12 months $74.30

Lowest estimate, broken down

Uncached input
$4.31
Cached input
$0.00
Output
$1.88

02 / Compare models

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

Currency

Exchange rate date: 2026-10-16

35 models · 28 priced · USD / million tokens

  1. GLM-5.3 Flash

    Z.ai · Task rank #22 · Score 62.4

    $6.19

    / month

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

    Per request: $0.002064

  2. DeepSeek V4.1 Flash

    DeepSeek · Task rank #37 · Score 19.2

    $16.20

    / month

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

    Per request: $0.0054

  3. DeepSeek V4 Flash 0731

    DeepSeek · Task rank #16 · Score 74.3

    $22.21

    / month

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

    Per request: $0.007403

  4. Qwen3.8 27 B

    Alibaba · Task rank #28 · Score 39.3

    $24.23

    / month

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

    Per request: $0.008076

  5. Gemini 3.7 Flash

    Google · Task rank #5 · Score 99.2

    $43.88

    / month

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

    Per request: $0.014625

  6. Gemini 3.8 Flash

    Google · Task rank #9 · Score 94.8

    $43.88

    / month

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

    Per request: $0.014625

  7. Gemini 3.6 Flash

    Google · Task rank #30 · Score 36.7

    $43.88

    / month

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

    Per request: $0.014625

  8. GLM-5.2

    Z.ai · Task rank #32 · Score 30.4

    $61.92

    / month

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

    Per request: $0.02064

  9. Muse Spark 1.3

    Meta · Task rank #27 · Score 45.5

    $64.13

    / month

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

    Per request: $0.021375

  10. DeepSeek V4 Pro 0813

    DeepSeek · Task rank #29 · Score 37.5

    $66.63

    / month

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

    Per request: $0.02221

  11. GLM-5.3

    Z.ai · Task rank #14 · Score 81.4

    $70.20

    / month

    Input $1.40Cached $0.26Output $4.40
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $50.40
    Cached input
    $0.00
    Output
    $19.80

    Per request: $0.0234

  12. Qwen3.8 Max

    Alibaba · Task rank #11 · Score 86.0

    $88.84

    / month

    Input $1.79Cached —Output $5.38
    Price checked 2026-09-26Official pricing ↗
    Cost breakdown
    Uncached input
    $64.61
    Cached input
    $0.00
    Output
    $24.23

    Per request: $0.029613

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.

1055100$0.00$7.37$69.03$585.00Task score ↑Estimated monthly cost → (USD)
GLM-5.3 Flash$6.19 / month · Score 62.4

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

Per million tokens: Input $0.12 · Cache $0.034399 · Output $0.42

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.