Models & APIs / Cloudflare Workers AI API pricing Verified 12 Nov 2026, 12:00 UTC Source developers.cloudflare.com/workers-ai/platform/pricing

Cloudflare Workers AI API pricing

by Cloudflare Workers AIper 1M tokens
$0.30 / 1M outputgpt-oss-20b (Cloudflare) · the cheapest model

Cloudflare Workers AI API costs $0.045–$1.40 per 1M input tokens and $0.30–$4.40 per 1M output tokens. Output tokens cost several times more than input, so long answers drive the bill. Cloudflare Workers AI sells API access only; there is no chat subscription.

Cheapest output$0.30gpt-oss-20b (Cloudflare) · per 1M
Top model$4.40GLM-5.3 (Cloudflare) · per 1M output

Every model, per 1M tokens

USD list price, before batch or volume discounts
ModelInputOutputCached inputContext
Llama 3.3 70B Instruct (Cloudflare)$0.293$2.253——
Llama 3.1 8B Instruct FP8 Fast (Cloudflare)$0.045$0.384——
Llama 4 Scout 17B 16E (Cloudflare)$0.27$0.85——
gpt-oss-120b (Cloudflare)$0.35$0.75——
gpt-oss-20b (Cloudflare)$0.20$0.30——
DeepSeek V4 Pro 0813 (Cloudflare)$1.32$3.96$0.044—
DeepSeek V4.1 Flash 1017 (Cloudflare)$0.30$1.20$0.006—
GLM-5.3 (Cloudflare)$1.40$4.40$0.26—
GLM-5.3 Flash (Cloudflare)$0.15$0.50$0.03—
Kimi K2.6 (Cloudflare)$0.95$4.00$0.16—
Kimi K2.7 Code (Cloudflare)$0.95$4.00$0.19—
Qwen3.8 27B (Cloudflare)$0.45$3.20——
Nemotron 3 120B A12B (Cloudflare)$0.50$1.50——
Gemma 4 26B A4B (Cloudflare)$0.10$0.30——
Mistral Small 3.1 24B (Cloudflare)$0.351$0.555——
Bill estimate

What will you pay?

$5.80
per month on GLM-5.3 (Cloudflare)

Other model APIs

Compare all models →
Prices from developers.cloudflare.com/workers-ai/platform/pricing How we collect prices Some links are affiliate links; they never change the prices or the order shown. Disclosure