Cloudflare Workers AI free allocation
Cloudflare Workers AI Free API tier
The catch: 10,000 Neurons a day is small, and on Workers Free calls simply fail once it is used up until 00:00 UTC; the largest new models need a paid billing method.
| Access | Free API tier |
|---|---|
| Free limits | 10,000 Neurons per day free on both Workers Free and Workers Paid; limits reset daily at 00:00 UTC. On Workers Free there is no overage: further calls fail with an error until the reset. On Workers Paid, usage above 10,000 Neurons/day costs $0.011 per 1,000 Neurons. @cf/openai/gpt-oss-20b is priced at 18,182 Neurons per M input tokens and 27,273 Neurons per M output tokens (so the daily allocation is roughly 0.37M output tokens on that model; derived). Rate limits: text generation 300 requests/min (models that require Workers Paid: 20 requests/min per model), text embeddings 3,000 requests/min, ASR 720/min, text-to-image 720/min. These models need a paid billing method: @cf/moonshotai/kimi-k2.6, kimi-k2.7-code, @cf/zai-org/glm-5.2, glm-5.3, glm-5.3-flash, @cf/deepseek-ai/deepseek-v4-flash-0731, deepseek-v4-pro-0813. |
| Modality | text, image, audio, embeddings |
| Credit card | – |
| Commercial use | Allowed |
| Trains on your data | No |
| Licence or terms | Cloudflare Self-Serve Subscription Agreement (plus each model's own licence) |
| Context window | 128,000 tokens |
| Model id | @cf/openai/gpt-oss-20b |
| Base URL | https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1 |
| Last checked | 2 Oct 2026 |
How to use Workers AI models
It speaks the OpenAI API at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1, so the OpenAI SDK you already use works once you change the base URL and key.
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai/v1/chat/completions -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"model":"@cf/openai/gpt-oss-20b","messages":[{"role":"user","content":"Hello"}]}'I want to use the free AI model "Workers AI models" from Cloudflare (model id: @cf/openai/gpt-oss-20b) in my project. Please: 1. Check the provider docs and give me the exact steps to get a free API key. 2. Give me a minimal working example that reads the key from an environment variable. 3. Tell me the real free limits and any catch (commercial use, card, data use). Listed limits: 10,000 Neurons a day, reset at 00:00 UTC. 4. If the same provider has a more generous free option, mention it.
Before you ship on it
- 10,000 Neurons a day is small, and on Workers Free calls simply fail once it is used up until 00:00 UTC; the largest new models need a paid billing method.
- No non-commercial restriction found, and the pricing page includes the same 10,000 Neurons/day on the paid Workers Paid plan. Workers AI is covered by Cloudflare's Self-Serve Subscription Agreement; the data-usage page…
- Free tiers are shared capacity: treat the limits as a ceiling, not a promise, and keep a paid fallback.
Questions
Is Cloudflare Workers AI free allocation free?
Yes. Cloudflare offers it as free api tier, with these limits: 10,000 Neurons a day, reset at 00:00 UTC.
Can I use Cloudflare Workers AI free allocation commercially?
Yes, under Cloudflare Self-Serve Subscription Agreement (plus each model's own licence). Check the current terms before you ship.
How do I start with Cloudflare Workers AI free allocation?
It speaks the OpenAI API at https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1, so the OpenAI SDK you already use works once you change the base URL and key.
Source: developers.cloudflare.com/workers-ai/platform/pricing/, checked 2 Oct 2026.