Cloudflare Workers AI
npm install @ai-sdk/openai-compatible
Hosted Models
| Model | Lab | Context | Input / 1M | Output / 1M | Action |
|---|---|---|---|---|---|
| Llama 3.3 70B Instruct fp8 Fast @cf/meta/llama-3.3-70b-instruct-fp8-fast | Meta | 24,000 | $0.29 | $2.25 | Specs & Providers → |
| Llama Guard 3 8B @cf/meta/llama-guard-3-8b | Meta | 131,072 | $0.48 | $0.03 | Specs & Providers → |
| Llama 3.1 8B Instruct fp8 @cf/meta/llama-3.1-8b-instruct-fp8 | Meta | 32,000 | $0.15 | $0.29 | Specs & Providers → |
| Llama 3.2 11B Vision Instruct @cf/meta/llama-3.2-11b-vision-instruct | Meta | 128,000 | $0.05 | $0.68 | Specs & Providers → |
| Llama 3.2 1B Instruct @cf/meta/llama-3.2-1b-instruct | Meta | 60,000 | $0.03 | $0.20 | Specs & Providers → |
| Llama 4 Scout 17B 16E Instruct @cf/meta/llama-4-scout-17b-16e-instruct | Meta | 131,000 | $0.27 | $0.85 | Specs & Providers → |
| Llama 3.2 3B Instruct @cf/meta/llama-3.2-3b-instruct | Meta | 80,000 | $0.05 | $0.34 | Specs & Providers → |
| Gemma 4 26B A4B IT @cf/google/gemma-4-26b-a4b-it | 256,000 | $0.10 | $0.30 | Specs & Providers → | |
| Gemma Sea Lion V4 27B It @cf/aisingapore/gemma-sea-lion-v4-27b-it | Aisingapore | 128,000 | $0.35 | $0.56 | Specs & Providers → |
| Granite 4.0 H Micro @cf/ibm-granite/granite-4.0-h-micro | Ibm | 131,000 | $0.02 | $0.11 | Specs & Providers → |
| DeepSeek V4 Flash 0731 @cf/deepseek-ai/deepseek-v4-flash-0731 | DeepSeek | 1,048,576 | $0.44 | $1.32 | Specs & Providers → |
| DeepSeek V4 Pro 0813 @cf/deepseek-ai/deepseek-v4-pro-0813 | DeepSeek | 1,048,576 | $1.32 | $3.96 | Specs & Providers → |
| Deepseek R1 Distill Qwen 32B @cf/deepseek-ai/deepseek-r1-distill-qwen-32b | DeepSeek | 80,000 | $0.50 | $4.88 | Specs & Providers → |
| Mistral Small 3.1 24B Instruct @cf/mistralai/mistral-small-3.1-24b-instruct | Mistral | 128,000 | $0.35 | $0.56 | Specs & Providers → |
| Kimi K2.6 @cf/moonshotai/kimi-k2.6 | Moonshot AI | 262,144 | $0.95 | $4.00 | Specs & Providers → |
| Kimi K2.7 Code @cf/moonshotai/kimi-k2.7-code | Moonshot AI | 262,144 | $0.95 | $4.00 | Specs & Providers → |
| GLM-5.3-Flash @cf/zai-org/glm-5.3-flash | Zhipu AI | 1,048,576 | $0.15 | $0.50 | Specs & Providers → |
| GLM 4.7 Flash @cf/zai-org/glm-4.7-flash | Zhipu AI | 131,072 | $0.06 | $0.40 | Specs & Providers → |
| GLM-5.2 @cf/zai-org/glm-5.2 | Zhipu AI | 262,144 | $1.40 | $4.40 | Specs & Providers → |
| GLM-5.3 @cf/zai-org/glm-5.3 | Zhipu AI | 1,048,576 | $1.40 | $4.40 | Specs & Providers → |
| Clef Flash @cf/cloudflare/clef-flash | Cf | 65,536 | $0.09 | $0.00 | Specs & Providers → |
| Clef @cf/cloudflare/clef | Cf | 65,536 | $0.24 | $0.00 | Specs & Providers → |
| Nemotron 3 Super 120B @cf/nvidia/nemotron-3-120b-a12b | NVIDIA | 256,000 | $0.50 | $1.50 | Specs & Providers → |
| Qwen3.8 27B @cf/qwen/qwen3.8-27b | Alibaba | 262,144 | $0.45 | $3.20 | Specs & Providers → |
| Qwq 32B @cf/qwen/qwq-32b | Alibaba | 24,000 | $0.66 | $1.00 | Specs & Providers → |
| Qwen3 30B A3B @cf/qwen/qwen3-30b-a3b-fp8 | Alibaba | 32,768 | $0.05 | $0.34 | Specs & Providers → |
| Qwen2.5 Coder 32B Instruct @cf/qwen/qwen2.5-coder-32b-instruct | Alibaba | 32,768 | $0.66 | $1.00 | Specs & Providers → |
| GPT OSS 20B @cf/openai/gpt-oss-20b | OpenAI | 128,000 | $0.20 | $0.30 | Specs & Providers → |
| GPT OSS 120B @cf/openai/gpt-oss-120b | OpenAI | 128,000 | $0.35 | $0.75 | Specs & Providers → |