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, with models Cloudflare lists no paid price for at the end. Listed prices from LiteLLM, OpenRouter and Vercel.

Models served

30

on this provider

Cheapest input

$0.017

per 1M tokens

Cheapest output

$0.03

per 1M tokens

Max context

10.5M

tokens

On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Model ID
Granite 4.0 MicroIBM131K$0.017$0.112cloudflare/@cf/ibm-granite/granite-4.0-h-micro
Llama 3.2 1B InstructMeta131K$0.027$0.201cloudflare/@cf/meta/llama-3.2-1b-instruct
Llama 3.2 11B Vision InstructMeta131K$0.0485$0.676cloudflare/@cf/meta/llama-3.2-11b-vision-instruct
Llama 3.2 3B InstructMeta131K$0.0509$0.335cloudflare/@cf/meta/llama-3.2-3b-instruct
Qwen3 30B A3b FP8Alibaba41K$0.0509$0.335cloudflare/@cf/qwen/qwen3-30b-a3b-fp8
GLM 4.7 FlashZhipu203K$0.0605$0.40cloudflare/@cf/zai-org/glm-4.7-flash
Gemma 4 26B A4B Google262K$0.10$0.30cloudflare/@cf/google/gemma-4-26b-a4b-it
Llama 3.1 8B Instruct FP8Meta32K$0.152$0.287cloudflare/@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.293$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.351$0.555cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it
Mistral Small 3.1 24BMistral128K$0.351$0.555cloudflare/@cf/mistralai/mistral-small-3.1-24b-instruct
Llama Guard 3 8BMeta131K$0.484$0.03cloudflare/@cf/meta/llama-guard-3-8b
DeepSeek R1 Distill Qwen 32BDeepSeek131K$0.497$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 InstructAlibaba131K$0.66$1.00cloudflare/@cf/qwen/qwen2.5-coder-32b-instruct
QwQ 32BAlibaba131K$0.66$1.00cloudflare/@cf/qwen/qwq-32b
Kimi K2.6Moonshot262K$0.95$4.00cloudflare/@cf/moonshotai/kimi-k2.6
Kimi K2.7 CodeMoonshot262K$0.95$4.00cloudflare/@cf/moonshotai/kimi-k2.7-code
GLM 5.2Zhipu1M$1.40$4.40cloudflare/@cf/zai-org/glm-5.2
Codellama 7B Instruct AwqMeta4K$1.92$1.92cloudflare/@hf/thebloke/codellama-7b-instruct-awq
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.1Mistral33K$1.92$1.92cloudflare/@cf/mistral/mistral-7b-instruct-v0.1
Gemma 2B It LoraGoogle8KFree tier only—cloudflare/@cf/google/gemma-2b-it-lora
Gemma 7B It LoraGoogle4KFree tier only—cloudflare/@cf/google/gemma-7b-it-lora
Llama 2 7B Chat HF LoraMeta8KFree tier only—cloudflare/@cf/meta-llama/llama-2-7b-chat-hf-lora
Mistral 7B Instruct V0.2 LoraMistral15KFree tier only—cloudflare/@cf/mistral/mistral-7b-instruct-v0.2-lora
Listed prices from LiteLLM, OpenRouter and Vercel · catalogue refreshed Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI