// Pay per token, nothing else.
Per token, pay as you go. No subscriptions and no minimums. Pay with an API key against prepaid credit, or per request with x402 in USDC on Base.
// Models
Per 1M tokens, lowest listed price across the providers shown. Tokens per $1 is how many tokens a dollar buys at that price.
deepseek/deepseek-v4-flash-0731
Engy · 1,048,576 token context
input / 1M
$0.045
output / 1M
$0.09
input tokens per $1
22,222,222
output tokens per $1
11,111,111
cached / 1M
$0.009
qwen/qwen3.6-35b-a3b
Engy · 208,192 token context
input / 1M
$0.045
output / 1M
$0.30
input tokens per $1
22,222,222
output tokens per $1
3,333,333
cached / 1M
$0.015
qwen/qwen3.8-27b
Engy · 1,001,536 token context
input / 1M
$0.045
output / 1M
$0.32
input tokens per $1
22,222,222
output tokens per $1
3,125,000
cached / 1M
$0.015
deepseek/deepseek-v4.1-flash
Engy · 1,048,576 token context
input / 1M
$0.06
output / 1M
$0.24
input tokens per $1
16,666,666
output tokens per $1
4,166,666
cached / 1M
$0.006
deepseek/deepseek-v4.1-flash-1017
Engy · 1,048,576 token context
input / 1M
$0.06
output / 1M
$0.24
input tokens per $1
16,666,666
output tokens per $1
4,166,666
cached / 1M
$0.006
z-ai/glm-5.3-flash
Engy · 327,680 token context
input / 1M
$0.135
output / 1M
$0.45
input tokens per $1
7,407,407
output tokens per $1
2,222,222
cached / 1M
$0.027
z-ai/glm-5.2
Engy · 262,144 token context
input / 1M
$0.68
output / 1M
$1.50
input tokens per $1
1,470,588
output tokens per $1
666,666
cached / 1M
$0.18
z-ai/glm-5.3
Engy · 327,680 token context
input / 1M
$0.98
output / 1M
$3.08
input tokens per $1
1,020,408
output tokens per $1
324,675
cached / 1M
$0.18
moonshotai/kimi-k3.1-pro
Engy · 1,113,088 token context
input / 1M
$1.00
output / 1M
$5.00
input tokens per $1
1,000,000
output tokens per $1
200,000
cached / 1M
$0.10
moonshotai/kimi-k3
Engy · 1,113,088 token context
input / 1M
$1.50
output / 1M
$7.50
input tokens per $1
666,666
output tokens per $1
133,333
cached / 1M
$0.15
| model | context | in / 1M | out / 1M | cached / 1M | tokens per $1 in | tokens per $1 out |
|---|---|---|---|---|---|---|
| deepseek/deepseek-v4-flash-0731Engy | 1.05M | $0.045 | $0.09 | $0.009 | 22,222,222 | 11,111,111 |
| qwen/qwen3.6-35b-a3bEngy | 208K | $0.045 | $0.30 | $0.015 | 22,222,222 | 3,333,333 |
| qwen/qwen3.8-27bEngy | 1M | $0.045 | $0.32 | $0.015 | 22,222,222 | 3,125,000 |
| deepseek/deepseek-v4.1-flashEngy | 1.05M | $0.06 | $0.24 | $0.006 | 16,666,666 | 4,166,666 |
| deepseek/deepseek-v4.1-flash-1017Engy | 1.05M | $0.06 | $0.24 | $0.006 | 16,666,666 | 4,166,666 |
| z-ai/glm-5.3-flashEngy | 328K | $0.135 | $0.45 | $0.027 | 7,407,407 | 2,222,222 |
| z-ai/glm-5.2Engy | 262K | $0.68 | $1.50 | $0.18 | 1,470,588 | 666,666 |
| z-ai/glm-5.3Engy | 328K | $0.98 | $3.08 | $0.18 | 1,020,408 | 324,675 |
| moonshotai/kimi-k3.1-proEngy | 1.11M | $1.00 | $5.00 | $0.10 | 1,000,000 | 200,000 |
| moonshotai/kimi-k3Engy | 1.11M | $1.50 | $7.50 | $0.15 | 666,666 | 133,333 |
// Calculator
Pick a model and the tokens. The cost and the x402 ceiling use the same arithmetic as the gateway.
cost of this request
$0.000912
1,096 of these per $1
12,000 prompt · $0.06/M$0.00072
0 cached · $0.006/M$0.00
800 output · $0.24/M$0.000192
paying with x402
you sign a ceiling of$0.001704
and are settled for$0.001
ceiling = prompt × input price + max_tokens × output price, rounded up. Settlement uses the real usage. The minimum is $0.001 per request, the payment facilitator's floor.
Context window: 1,048,576 tokens. Prices are the lowest listed across providers.
// Notes
- - Cached is the rate for prompt tokens served from the provider's cache. It applies automatically. n/a means the provider publishes no cached rate, so cached tokens bill at the input rate.
- - With x402, each request quotes a ceiling (prompt tokens at the input price plus max_tokens at the output price). The upto scheme settles once for the tokens actually used. The exact scheme, for clients that cannot sign upto, takes the whole quote. Set max_tokens to keep it small.
- - The facilitator fee is paid by us and is never added to your price. Amounts round up to 0.000001 USDC.
- - The same catalog is available as JSON at /v1/models.