Cloudflare Workers AI API pricing
Model AggregatorCloudflare Workers AI runs open models (Llama, Qwen, Mistral, Gemma, GPT-OSS, plus embeddings and speech) on Cloudflare's global edge network, billed per token in USD (also denominated in Neurons).
Compare the published API prices listed for Cloudflare Workers AI. Open a model for its available pricing tiers, source and conditions, or use the cost planner to estimate your own workload.
Cloudflare Workers AI API cost examples
1,000 requests, each using 1,000 input tokens and 200 billed text output tokens: 1M input and 200K output tokens in total.
| Model | Input / 1M tokens | Output / 1M tokens | Estimated cost | Pricing conditions |
|---|---|---|---|---|
| @cf/ibm-granite/granite-4.0-h-microCloudflare Workers AI | $0.017 | $0.112 | $0.0394 | Region not specifiedView official pricing |
| @cf/meta/llama-3.2-1b-instructCloudflare Workers AI | $0.027 | $0.201 | $0.0672 | Region not specifiedView official pricing |
| @cf/meta/llama-3.2-3b-instructCloudflare Workers AI | $0.0509 | $0.335 | $0.1179 | Region not specifiedView official pricing |
| @cf/qwen/qwen3-30b-a3b-fp8Cloudflare Workers AI | $0.0509 | $0.335 | $0.1179 | Region not specifiedView official pricing |
| @cf/zai-org/glm-5.3-flashCloudflare Workers AI | $0.03 | $0.5 | $0.13 | Region not specifiedView official pricing |
| @cf/zai-org/glm-4.7-flashCloudflare Workers AI | $0.0605 | $0.4 | $0.1405 | Region not specifiedView official pricing |
Estimates in USD use standard processing, uncached input and the displayed base input tier. Regional rates, longer prompts, thinking tokens and other billable usage can change the final cost. Models can differ in capabilities.
Calculate costs for your workload →