Skip to main content

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.

✓ Text, Image, Speech, Embedding models ✓ Ready-to-use code snippets ✓ Runs 100% in your browser
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.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

AI Hallucination Detector AI Safety Checklist Generator CrewAI Agent Config Generator AI Model Comparator AI Model Comparison Tool Jotai Atom Explorer LLM Cost Calculator CSS Container Query Builder LLM Context Window Calculator AI Prompt Cost Calculator LLM JSON Schema Builder AI Agent Run Cost Tracker AI Pipeline DAG Builder LLM Benchmark Calculator Prompt Injection Tester LangChain PromptTemplate Builder AI Token Cost Calculator MySQL Query Explainer PostgreSQL EXPLAIN Analyzer AI Model Benchmark Comparator Cron Expression Explainer Font Pairing Preview LLM Prompt Cost Calculator AI Model Context Window Visualizer OpenAI Prompt Tester AI Rate Limit Calculator LLM System Prompt Analyzer Vibe Coding Prompt Optimizer AI IDE Comparator Token Counter & Cost Estimator AI Model Comparison Table RAG Chunk Size Optimizer LLM Prompt Template Builder Neon DB Query Builder AI Commit Message Generator AI Doc Generator — Pro Tool AI Regex Explainer — Pro Tool AI System Guardian Mermaid Diagram Generator Elasticsearch Query Tester mTLS Certificate Chain Builder Prompt Token Estimator JS Prototype Chain Visualizer OpenAI Token Counter System Prompt Builder AI Agent Memory Planner Token Context Calculator LLM Prompt Caching Calculator Multi-Agent Orchestration Planner AI Prompt Token Estimator OpenAI Function Calling Generator AI Context Window Visualizer Embedding Storage Calculator AI API Rate Limit Calculator HTTP Headers Analyzer AI Code Review — Pro Tool AI Error Explainer — Pro Tool AI SQL Builder — Pro Tool AI Unit Test Generator — Pro Tool Color Palette Generator Docker Compose Generator JWT Decoder Prompt Template Builder Regex Tester RSA Key Pair Generator SMTP Server Tester Biome Config Generator Terraform Variable Validator Haproxy Config Validator SBOM Generator AI Variable Namer AI PR Description Generator AI JSDoc Generator K8s Resource Limits Calculator Regex Flags Explainer LLM Token Counter OAuth2 Flow Visualizer Playwright E2E Testing Guide Core Web Vitals Calculator RAG Chunking Calculator Solana Program ID Generator Multi-Chain Wallet Address Validator AWS Lambda Cost Calculator RAG Chunking Calculator TypeScript Discriminated Union Builder Core Web Vitals Budget Calculator JWT Decoder & Validator Blockchain Transaction Fee Calculator Database Query Cost Analyzer

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$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.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →