Cloudflare Workers AI
Edge AI inference across 200+ cities worldwide. Serverless, pay-per-use with OpenAI-compatible API.
At a glance: Cloudflare Workers AI has 26 models listed on Inference Hub: 19 LLMs, 3 image models, 2 embedding models, 1 coding model and 1 speech-to-text model. The cheapest text model is Llama 3.2 1B Instruct at $0.027 input and $0.201 output per 1M tokens, and the most expensive is GLM 5.2 at $1.40 input and $4.40 output per 1M tokens. Image generation starts at $0.0030 per image with Flux 1 Schnell. Free tier: Workers AI: 10,000 Neurons/day on Free and Paid plans, reset 00:00 UTC. Prices are checked against Cloudflare Workers AI's own pricing every week.
Features
Compliance
None listed
Pricing Model
per tokenDetails
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run Model Catalog (28)
Cloudflare Workers AI guides
Zero Data Retention for AI APIs: Which Providers Store Your Prompts, and How to Turn It Off
Which AI API providers store prompts, for how long, and how to get zero data retention at OpenAI, Anthropic, Google, Azure, Bedrock, OpenRouter and 20 hosts.
Nov 2026AI APIs with Free Tiers in 2026: The Complete Guide
Every AI API with a free tier and its limits: Gemini, Groq, Cloudflare, Together AI, OpenRouter, fal.ai and more. Build with LLM and image APIs for $0.
Nov 2026Gemini API Pricing 2026: Every Model, the Free Tier and the Cheapest Provider
Gemini API pricing per 1M tokens: Gemini 4, 3.8 Flash, 3.1 Pro, 2.5 and Gemma. What the free tier covers, 50% Batch/Flex discounts, cheapest providers.
Nov 2026Z.ai Pricing in 2026: The Free Chat App, GLM API Costs and the GLM Coding Plan
Z.ai chat is free. The GLM-5.3 API costs $1.40/$4.40 per 1M tokens, GLM-4.7-Flash is $0, and the GLM Coding Plan starts at $18/month. Full price table.
Cloudflare Workers AI API FAQ
Is the Cloudflare Workers AI API free?
Yes, Cloudflare Workers AI has a free tier: Workers AI: 10,000 Neurons/day on Free and Paid plans, reset 00:00 UTC. Paid usage is billed per model.
What is the cheapest Cloudflare Workers AI model?
BGE-M3 at $0.01 in per 1M tokens, based on the 28 models we track for Cloudflare Workers AI.
How many models does Cloudflare Workers AI offer?
We track 28 Cloudflare Workers AI models: 21 LLM, 3 image generation, 2 embedding, 1 coding, 1 speech-to-text.
Is the Cloudflare Workers AI API OpenAI-compatible?
Yes. Cloudflare Workers AI exposes an OpenAI-compatible endpoint, so you can use the OpenAI SDKs by changing the base URL and API key.
Run Cloudflare Workers AI? Add a "Prices tracked on Inference Hub" badge to your site, or email hello@inferencehub.org if a price here is wrong.