Cloudflare LLM API pricing

Every model Cloudflare serves, with its pricing per 1M tokens and the exact model ID to copy. Sorted cheapest input first. Verified against LiteLLM and OpenRouter daily.

Models served

29

on this provider

Cheapest input

$0.00

per 1M tokens

Cheapest output

$0.00

per 1M tokens

Max context

10.5M

tokens

Model ID
Mistral 7B Instruct V0 2 LoraMistral15K$0.00$0.00cloudflare/@cf/mistral/mistral-7b-instruct-v0.2-lora
Llama 2 7B Chat HF LoraMeta8K$0.00$0.00cloudflare/@cf/meta-llama/llama-2-7b-chat-hf-lora
Gemma 2B It LoraGoogle8K$0.00$0.00cloudflare/@cf/google/gemma-2b-it-lora
Gemma 7B It LoraGoogle4K$0.00$0.00cloudflare/@cf/google/gemma-7b-it-lora
Granite 4.0 MicroIBM131K$0.02$0.11cloudflare/@cf/ibm-granite/granite-4.0-h-micro
Llama 3.2 1B InstructMeta128K$0.03$0.20cloudflare/@cf/meta/llama-3.2-1b-instruct
Llama 3.2 11B Vision InstructMeta131K$0.05$0.68cloudflare/@cf/meta/llama-3.2-11b-vision-instruct
Llama 3.2 3B InstructMeta131K$0.05$0.34cloudflare/@cf/meta/llama-3.2-3b-instruct
Qwen3 30B A3b FP8Alibaba41K$0.05$0.34cloudflare/@cf/qwen/qwen3-30b-a3b-fp8
GLM 4.7 FlashZhipu200K$0.06$0.40cloudflare/@cf/zai-org/glm-4.7-flash
Gemma 4 26B A4B Google256K$0.10$0.30cloudflare/@cf/google/gemma-4-26b-a4b-it
Llama 3.1 8B Instruct FP8Meta32K$0.15$0.29cloudflare/@cf/meta/llama-3.1-8b-instruct-fp8
gpt-oss-20bOpenAI131K$0.20$0.30cloudflare/@cf/openai/gpt-oss-20b
Llama 4 Scout 17B 16e InstructMeta10.5M$0.27$0.85cloudflare/@cf/meta/llama-4-scout-17b-16e-instruct
Llama 3.3 70B Instruct FP8 FastMeta24K$0.29$2.25cloudflare/@cf/meta/llama-3.3-70b-instruct-fp8-fast
gpt-oss-120bOpenAI131K$0.35$0.75cloudflare/@cf/openai/gpt-oss-120b
Gemma Sea Lion V4 27B ItGoogle128K$0.35$0.56cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it
Mistral Small 3.1 24BMistral131K$0.35$0.56cloudflare/@cf/mistralai/mistral-small-3.1-24b-instruct
Llama Guard 3 8BMeta131K$0.48$0.03cloudflare/@cf/meta/llama-guard-3-8b
DeepSeek R1 Distill Qwen 32BDeepSeek131K$0.50$4.88cloudflare/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b
Nemotron 3 120B A12bNVIDIA256K$0.50$1.50cloudflare/@cf/nvidia/nemotron-3-120b-a12b
Qwen2 5 Coder 32B InstructAlibaba33K$0.66$1.00cloudflare/@cf/qwen/qwen2.5-coder-32b-instruct
QwQ 32BAlibaba131K$0.66$1.00cloudflare/@cf/qwen/qwq-32b
Kimi K2.7 CodeMoonshot262K$0.95$4.00cloudflare/@cf/moonshotai/kimi-k2.7-code
GLM 5.2Zhipu262K$1.40$4.40cloudflare/@cf/zai-org/glm-5.2
Llama 2 7B Chat FP16Meta3K$1.92$1.92cloudflare/@cf/meta/llama-2-7b-chat-fp16
Llama 2 7B Chat Int8Meta2K$1.92$1.92cloudflare/@cf/meta/llama-2-7b-chat-int8
Mistral 7B Instruct V0 1Mistral16K$1.92$1.92cloudflare/@cf/mistral/mistral-7b-instruct-v0.1
Codellama 7B Instruct AwqMeta4K$1.92$1.92cloudflare/@hf/thebloke/codellama-7b-instruct-awq
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI