Back to all APIs
C

Cloudflare Workers AI

AI & Machine Learning · Edge AI Inference

Run AI models on Cloudflare's edge network with a generous free tier — no credit card required.

No Credit CardForever FreeEdge Computing
Duration

Forever

Credit Card

Not Required

Rating

4.3/5 (156)

Geo Restrictions

None

Rate Limits

Requests per Day10,000 RPD
Other: 10,000 neurons/day (varies by model)

Free Tier Details

✅ Included

  • 10,000 neurons/day free
  • LLaMA, Mistral, Stable Diffusion models
  • Text generation, classification, embeddings
  • Image generation
  • Speech-to-text

❌ Not Included

  • Custom model uploads
  • Priority inference

How to Get Your Free API Key

Sign up at dash.cloudflare.com.

https://dash.cloudflare.com/sign-up

Go to AI → Workers AI in the dashboard and enable it.

Create an API token with Workers AI permissions.

https://dash.cloudflare.com/profile/api-tokens

How to Test Your Key

Run inference on a LLaMA model.

curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/meta/llama-3-8b-instruct \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{"messages":[{"role":"user","content":"Hello!"}]}'

Expected: JSON response with model output.

Hidden Limitations

  • Neuron-based pricing can be confusing
  • Some models consume more neurons than others
  • Cold start latency on edge

Last verified: 2026-02-12 · Last updated: 2026-02-12