Cloudflare Workers AI API pricing

23 models · USD per 1M tokens · verified 2026-10-23

Cloudflare Workers AI serves 23 of the models we track, 23 of them open-weights. The cheapest is Llama 3.2 1B Instruct at $0.027 input and $0.201 output per million tokens. For 8 of these models, Cloudflare Workers AI is the cheapest tracked host.

// models on Cloudflare Workers AI

modellabin $/1Mout $/1Mctxvs best price
Llama 3.2 1B Instruct BESTMeta$0.027$0.20160Kbest
Qwen3 30B A3b fp8 BESTAlibaba (Qwen)$0.0509$0.33532.8Kbest
Llama 3.2 3B Instruct BESTMeta$0.0509$0.33580Kbest
Gemma 4 26B A4B ITGoogle$0.10$0.30262.1K+9.1%
Llama-3.1-8B-InstructMeta$0.152$0.28716.4K+575.3%
Llama 3.2 11B Vision Instruct BESTMeta$0.0485$0.676128Kbest
GPT OSS 20BOpenAI$0.20$0.30131.1K+291.3%
GLM-5.3-FlashX BESTZ.AI (Zhipu)$0.15$0.501M−59.7%
Llama Guard 3 8B BESTMeta$0.484$0.03131.1Kbest
Mistral Small 3.1 24BMistral$0.351$0.555128K+168%
Llama 4 Scout 17BMeta$0.27$0.85327.7K+176.7%
GPT OSS 120BOpenAI$0.35$0.75131.1K+540.1%
DeepSeek V4 Flash 0731DeepSeek$0.44$1.321.05M+633.3%
Qwen2.5 Coder 32B Instruct BESTAlibaba (Qwen)$0.66$1.0032.8Kbest
Qwq 32B BESTAlibaba (Qwen)$0.66$1.0024Kbest
Llama 3.3 70B TurboMeta$0.293$2.253131.1K+405.2%
Qwen3.8 27BAlibaba (Qwen)$0.45$3.20262.1K+46.8%
DeepSeek R1 (Turbo)DeepSeek$0.497$4.88164K+38.5%
Kimi K2.6Moonshot AI$0.95$4.00262.1Kbest
Kimi K2.7 Code HighSpeedMoonshot AI$0.95$4.00262.1K−50%
DeepSeek V4 Pro (0813)DeepSeek$1.32$3.961.05M+100%
GLM-5.2Z.AI (Zhipu)$1.40$4.401Mbest
GLM-5.3Z.AI (Zhipu)$1.40$4.401Mbest

// how to read this page

Prices are Cloudflare Workers AI's base-tier list prices per million tokens. "vs best price" compares Cloudflare Workers AI's blended price (3 × input + output) / 4 with the lowest price we track for the same model, whether it comes from the lab's own API or another host. Open each model for its full price history and every host that serves it.