Cloudflare Workers AI
💰 Token Pricing
| Type | Price | Note |
|---|---|---|
| Input | Neurons-based: $0.011 per 1,000 Neurons (after free tier); per-model token prices vary | per million tokens |
| Output | Same Neurons billing; token price differs per model — Llama 3.3 70B $0.293/$2.253, GLM-5.3 $1.40/$4.40, DeepSeek V4 Pro $1.32/$3.96, GPT-OSS 120B $0.35/$0.75 per M tokens | per million tokens |
🤖 Supported Models (86)
✨ Pros
- ✓86-model catalog spanning LLM, embedding, image, and audio
- ✓10,000 Neurons per day free, no credit card required
- ✓Unified Neurons billing: $0.011 per 1,000 Neurons, with per-model token prices visible in the catalog
- ✓Frontier-tier models at parity: GLM-5.3, DeepSeek V4, Kimi K2.7-code, GPT-OSS 120B
- ✓Inference on Cloudflare's 300+ city edge, nearest GPU POP serves the request
- ✓REST + Workers binding + OpenAI-compatible `/v1/chat/completions` — three entry points
⚠️ Cons
- ×Workers Free plan excludes frontier models (GLM-5.3, DeepSeek V4, Kimi K2.6/2.7-code)
- ×No in-China GPU POP; latency and reachability depend on international routing
- ×Neurons billing is non-obvious for new users (must cross-reference token pricing)
- ×Workers Paid requires a $5/month base subscription on top of usage
- ×Model catalog is curated by Cloudflare — no BYO-model self-hosting
🎯 Best For
Globally-deployed AI applications; teams already running on Cloudflare Workers; startups needing frontier models with low operational overhead; agent, RAG, and edge inference workloads
💰 Pricing & Plans
| Tier | Daily Free Allowance | Neuron Rate | Notes |
|---|---|---|---|
| Workers Free | 10,000 Neurons / day | $0 | Generous daily free tier for prototyping; resets at 00:00 UTC; excludes frontier models (GLM-5.3, DeepSeek V4, Kimi K2.6/K2.7-code) |
| Workers Paid | 10,000 Neurons / day free + overage billed | $0.011 per 1,000 Neurons | Pay-as-you-go; per-model token prices displayed in catalog; frontier models accessible; AI Gateway credits unlock higher rate limits |
🔧 API & Developer Experience
- •Workers AI Binding: Call models directly from a Cloudflare Worker via `env.AI.run("@cf/...", { ... })` with no separate SDK or API key management — the Workers runtime handles auth and routing.
- •REST API: Every model is also exposed via a plain HTTPS REST endpoint (https://api.cloudflare.com/client/v4/accounts/<id>/ai/run/<model>) so any non-Worker client can hit Workers AI without writing a Worker.
- •OpenAI-Compatible: An OpenAI-shaped `/v1/chat/completions` endpoint is available (with API-token auth) so existing OpenAI SDK code works after a base-URL change.
- •Streaming: Server-Sent Events streaming is supported on the Workers binding and REST endpoint, returning incremental tokens for low time-to-first-token UX.
- •Vectorize Integration: Embeddings models output vectors that can be written directly to Cloudflare Vectorize (or any vector DB) from the same Worker — no intermediate HTTP hop.
- •Edge Network: Inference runs on Cloudflare's global edge in 300+ cities; the closest GPU-bearing POP serves the request, giving sub-second TTFT for most regions.
🎯 Edge Serverless GPU & Frontier Model Catalog
Cloudflare Workers AI is not a hosted model API in the traditional sense — it is serverless GPU compute priced in Cloudflare's own 'Neurons' unit, accessible from any Worker or REST call. The August 2026 catalog spans 86 models across text, embedding, image, and audio, including frontier-tier models that other serverless platforms price as separate SKUs: Z.ai GLM-5.3 at $1.40/$4.40 per million tokens with 1M context (released 2026-08-28), DeepSeek V4 Pro at $1.32/$3.96 with 1M context, Moonshot Kimi K2.7-code at $0.95/$4.00 for code workloads, and OpenAI GPT-OSS 120B at $0.35/$0.75. Per-model granular pricing lets you route small classification jobs to Llama-3.2-1B at fractions of a cent while reserving frontier models for code or long-context tasks.
🌐 Regional Availability & Latency
Workers AI runs inference on Cloudflare's global edge in 300+ cities, so latency from any major region is governed by the nearest GPU-bearing POP rather than a single origin. For North America, Europe, East Asia, and Oceania the typical TTFT is sub-second on small models and 1-2 seconds on 70B+ frontier models. Mainland China is the explicit exception: Cloudflare's network does not currently serve inference traffic from in-China POPs, so mainland clients reach the global edge over the public Internet with variable latency (often 200-600 ms even on small models). Teams serving Chinese users either fall back to a domestic provider (Zhipu, Qwen, Doubao) or accept higher edge latency in exchange for Workers AI's unified billing and curated frontier catalog.