Cloudflare Workers AI
Free QuotasRun open models on Cloudflare's global network. Workers AI includes 10,000 free neurons per day on every account, no credit card required, shared across the free catalog: GPT-OSS 120B and 20B, Qwen3.8 27B, Gemma 4 26B, Llama 3.3 70B and 4 Scout, Mistral Small 3.1, Nemotron 3 Super, plus Whisper and FLUX image generation. The newest GLM-5.x, Kimi K2.6/K2.7 and DeepSeek V4 models now require a paid billing method. Requests need your account ID in the URL.
Rate Limit
Max Context
Cost
$0
.00
Quick Start
API Endpoint
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/
Cloudflare Workers AI at a glance
-
Free tier: Permanent free tier
-
Sign-up: No credit card needed
-
Limits: Varies by model
-
Models: 22 free models listed
Example: Making Your First Request
import requests
ACCOUNT_ID = "YOUR_ACCOUNT_ID"
API_TOKEN = "YOUR_API_TOKEN"
response = requests.post(
f"https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/meta/llama-3.1-8b-instruct",
headers={"Authorization": f"Bearer {API_TOKEN}"},
json={
"messages": [
{"role": "user", "content": "What is Workers AI?"}
]
}
)
print(response.json()["result"]["response"])
Free Models
| Model Name | ID | Context | Capabilities |
|---|---|---|---|
| FLUX.2 Dev (image) |
@cf/black-forest-labs/flux-2-dev
|
N/A |
|
| Whisper Large v3 Turbo |
@cf/openai/whisper-large-v3-turbo
|
N/A |
|
| EuroLLM 9B |
@cf/utter-project/eurollm-9b-it
|
N/A |
|
| Apertus v1.5 8B |
@cf/swiss-ai/apertus-v1.5-8b
|
N/A |
|
| Granite 4.0 H Micro |
@cf/ibm-granite/granite-4.0-h-micro
|
N/A |
|
| Gemma SEA-LION v4 27B |
@cf/aisingapore/gemma-sea-lion-v4-27b-it
|
N/A |
|
| DeepSeek R1 Distill Qwen 32B |
@cf/deepseek-ai/deepseek-r1-distill-qwen-32b
|
N/A |
|
| Qwen2.5 Coder 32B |
@cf/qwen/qwen2.5-coder-32b-instruct
|
N/A |
|
| QwQ 32B |
@cf/qwen/qwq-32b
|
N/A |
|
| Llama 3.2 11B Vision |
@cf/meta/llama-3.2-11b-vision-instruct
|
N/A |
|
| Llama 3.1 8B Instruct (fp8) |
@cf/meta/llama-3.1-8b-instruct-fp8
|
N/A |
|
| Llama 3.3 70B Instruct (fp8 fast) |
@cf/meta/llama-3.3-70b-instruct-fp8-fast
|
24,000 Context |
|
| Nemotron 3 Super 120B A12B |
@cf/nvidia/nemotron-3-120b-a12b
|
256,000 Context |
|
| Qwen3.8 27B |
@cf/qwen/qwen3.8-27b
|
262,000 Context |
|
| GLM 4.7 Flash |
@cf/zai-org/glm-4.7-flash
|
Long context |
|
| Mistral Small 3.1 24B |
@cf/mistralai/mistral-small-3.1-24b-instruct
|
128,000 Context |
|
| Qwen3 30B A3B |
@cf/qwen/qwen3-30b-a3b-fp8
|
32,000 Context |
|
| Gemma 4 26B A4B |
@cf/google/gemma-4-26b-a4b-it
|
Long context |
|
| Llama 4 Scout 17B |
@cf/meta/llama-4-scout-17b-16e-instruct
|
131,000 Context |
|
| GPT OSS 20B |
@cf/openai/gpt-oss-20b
|
128,000 Context |
|
| GPT OSS 120B |
@cf/openai/gpt-oss-120b
|
128,000 Context |
|
| Llama 3.2 3B Instruct |
@cf/meta/llama-3.2-3b-instruct
|
128,000 |
|
Current Limits
Request Limits
-
Rate LimitVaries by model
-
Daily Limit10,000 neurons/day
Token Limits
Throughput
Monthly Cap
Key Features
Common Use Cases
Serverless AI applications
Edge-first AI products
Low-latency global chatbots
Image classification and generation
Content moderation at the edge
Known Limitations
- 10,000 neurons/day cap (varies per model)
- Larger models consume more neurons per request
- No fine-tuning support
- Some models have limited context windows
- Beta models may change
Quick Start Guide
Sign up at https://dash.cloudflare.com/
Go to AI > Workers AI
Get your Account ID from the dashboard
Create an API Token with Workers AI permissions
Use the REST API or Workers bindings
Frequently Asked Questions
How do I get an API key?
Getting your Cloudflare Workers AI API key is simple:
- Visit the official Cloudflare Workers AI website
- Sign up for a free account (no credit card required)
- Navigate to the API section in your dashboard
- Generate your API key and start using it immediately
Are there free quotas?
Yes! Cloudflare Workers AI offers a generous free tier with no credit card required. Check the provider's website for current terms and conditions regarding free tier availability and duration.
What happens if I exceed the free limits?
If you reach the rate limit, your requests will be temporarily throttled. The limits reset automatically after the specified time period. You can always monitor your usage in the provider's dashboard.
Is my data secure?
Cloudflare Workers AI takes security seriously. All API communications are encrypted via HTTPS. Check their privacy policy and terms of service for detailed information about data handling and retention policies.
Make your first call to Cloudflare Workers AI
Create a key on the official site and make your first call with the examples on this page. Free limits can change, so check them before you ship.