Cloudflare Workers AI API pricing

20 models · USD per 1M tokens · verified 2026-11-15

Cloudflare Workers AI serves 20 of the models we track, 20 of them open-weights. The cheapest is Gemma 4 26B A4B IT at $0.10 input and $0.30 output per million tokens. For 4 of these models, Cloudflare Workers AI is the cheapest tracked host.

// models on Cloudflare Workers AI

modellabin $/1Mout $/1Mctxvs best price
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-Flash BESTZ.AI (Zhipu)$0.15$0.501Mbest
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.1 Flash 1017DeepSeek$0.30$1.201.05M+100%
DeepSeek V4 Flash 0731DeepSeek$0.44$1.321.05M+633.3%
Qwen2.5 Coder 32B Instruct BESTAlibaba (Qwen)$0.66$1.0032.8Kbest
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 CodeMoonshot AI$0.95$4.00262.1Kbest
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.