What's free
10,000 Neurons/day, all account plans
Rate limits
30+ models: LLMs (Llama, Mistral, DeepSeek, Qwen...), embeddings, image, audio
The catch
Resets daily at 00:00 UTC; overage on a Workers Paid plan bills at $0.011/1,000 Neurons
Free models · sample
@cf/meta/llama-3.3-70b-instruct-fp8-fast@cf/meta/llama-3.1-8b-instruct@cf/mistralai/mistral-small-3.1-24b-instruct@cf/qwen/qwen2.5-coder-32b-instruct@cf/deepseek-ai/deepseek-r1-distill-qwen-32b@cf/google/gemma-3-12b-itA sample of models reachable on the free tier — the live catalog changes. Pull the current set with GET https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1/models.
Quickstart — chat completions
from openai import OpenAI
client = OpenAI(base_url="https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1", api_key="<YOUR_FREE_API_KEY>")
resp = client.chat.completions.create(
model="@cf/meta/llama-3.3-70b-instruct-fp8-fast",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)…or with curl:
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","messages":[{"role":"user","content":"Hello!"}]}'