Cloudflare Workers AI Model Picker
Browse and compare all Cloudflare Workers AI models. Filter by type, compare context windows and capabilities — then click any model to get the ready-to-use Workers binding code.
| Model ID | Type | Size | Context | Best For |
|---|
Frequently Asked Questions
What is Cloudflare Workers AI?▼
Cloudflare Workers AI is a serverless AI inference service that runs machine learning models on Cloudflare's global edge network. You can call AI models directly from Cloudflare Workers, Pages Functions, or via the REST API — with no GPU setup, no model downloads, and ultra-low latency since models run close to your users.
How much does Cloudflare Workers AI cost?▼
Workers AI has a free tier: 10,000 neurons per day for most models. Beyond the free tier, you pay per neuron (a unit of compute). Pricing varies by model — larger models consume more neurons per token. Check the Cloudflare dashboard for current pricing. The free tier is generous enough for prototyping and low-traffic apps.
What types of models are available on Workers AI?▼
Workers AI offers: text generation (LLMs like Llama, Mistral, Gemma, Qwen), text embeddings (for vector search / RAG), image generation (Stable Diffusion), image classification, speech-to-text (Whisper), translation (M2M100), and more. New models are added regularly.
How do I use Workers AI in a Cloudflare Worker?▼
Add the AI binding in wrangler.toml: [ai] binding = 'AI'. Then in your Worker: const response = await env.AI.run('@cf/meta/llama-3.1-8b-instruct', { prompt: 'Hello' }). The binding handles authentication, model loading, and billing automatically.
What is the Cloudflare AI Gateway?▼
AI Gateway is a layer in front of AI providers (including Workers AI, OpenAI, Anthropic, etc.) that adds caching, rate limiting, analytics, and cost tracking. Route your AI requests through AI Gateway to get observability, reduce costs with response caching, and protect against overuse.
Can I use Workers AI from outside Cloudflare Workers?▼
Yes. Workers AI has a REST API compatible with the OpenAI API format. You can call it from any HTTP client using your Cloudflare account ID and API token. This is useful for testing models or integrating with non-Workers environments.
Related Products
on GumroadAI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →DevToolkit Starter Kit
A ready-to-deploy developer tools website with 12 built-in tools. Astro + Preact + Tailwind. Deploy to Cloudflare Pages for free. Built-in SEO, dark mode, and ad-ready layout.
Buy on Gumroad →AI Developer Prompts Pack
55 battle-tested prompt templates for the workflows developers actually use: code review, debugging, architecture, documentation, and testing. Stop writing prompts from scratch.
Buy on Gumroad →You Might Also Need
AI Hallucination Detector
Scan LLM-generated text for hallucination risk signals: fabricated citations, overconfident claims, suspect statistics, and verification gaps. Risk score 0-100 with highlighted problem spans.
Open free tool →
AI Safety Checklist Generator
Generate a customized AI safety evaluation checklist for your deployment. Covers technical safety, content moderation, security, bias, privacy, and regulatory compliance. Export to Markdown.
Open free tool →
CrewAI Agent Config Generator
Build CrewAI agent configurations visually. Define roles, goals, backstories, and tools. Generate YAML or Python code for multi-agent crews.
Open free tool →
More Free Tools
Related Articles
Cloudflare Workers AI Guide 2026: Edge Inference, Models & Bindings
A complete guide to Cloudflare Workers AI in 2026. Learn how to run LLMs at the edge, use AI bindings, integrate with Workers and Pages, compare with Vercel AI, and optimize costs for production.
Edge Computing Architecture: Deploy Closer to Users 2026
Edge computing architecture 2026: edge vs CDN vs serverless, Cloudflare vs Vercel vs Fastly, data consistency patterns, and edge-native design guide.
Cloudflare Workers: Complete Guide to Building Edge APIs in 2026
Complete guide to Cloudflare Workers in 2026. Learn Workers architecture, KV, D1, R2, Durable Objects, Workers AI, and Hono framework with real code examples.
Cloudflare Workers & Serverless Edge Computing: Complete Guide for 2026
Learn how to build and deploy serverless APIs with Cloudflare Workers. Covers Worker syntax, KV storage, D1 database, Durable Objects, and R2 — with TypeScript examples you can use today.
CDN and Edge Caching 2026: Complete Guide to Content Delivery Networks and Edge Computing
Comprehensive guide to CDN and edge caching strategies for 2026. Covers Cloudflare, Fastly, Akamai, AWS CloudFront, edge functions, cache invalidation, real-time synchronization, and multi-CDN strategies with code examples.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →