Free API keysGet API key
Free tier
Cloudflare Workers AI API free tier
Run hosted text, embedding, and image models through a Cloudflare API token.
Get an API key
- Open Workers AI in the Cloudflare dashboard and select Use REST API.
- Select Create a Workers AI API Token, review its permissions, and save the token.
- Copy your Account ID and choose a model available on Workers Free before making a REST request.
- Base URL
https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai- Example model
@cf/google/gemma-4-26b-a4b-it- Environment variable
CLOUDFLARE_API_TOKEN
Allowance and limits
Workers Free includes a daily allocation of 10,000 Neurons. Model usage consumes Neurons at different rates.
Check your signup requirements in Cloudflare. Some models need a paid billing method.
- Neurons / day
- 10,000
Daily request limits reset at 00:00 UTC.
Docs checked ยท How we check free tiers