All models

Cloudflare Workers AI API pricing

Cloud31 language models

As of Oct 14, 2026, Cloudflare Workers AI lists 31 language models through its API. Its cheapest language model is Llama 3.2 1B Instruct at $0.027 input / $0.201 output per million tokens.

Language models (31)

Prices per million tokens.

  • DeepSeek R1 Distill Qwen 32B

    cloudflare/@cf/deepseek-ai/deepseek-r1-distill-qwen-32b

    Input
    $0.497
    Output
    $4.88
    Context
    80K
  • DeepSeek V4 Flash 0731

    @cf/deepseek-ai/deepseek-v4-flash-0731

    Input
    $0.44
    Output
    $1.32
    Context
    1.05M
  • DeepSeek V4 Pro 0813

    @cf/deepseek-ai/deepseek-v4-pro-0813

    Input
    $1.32
    Output
    $3.96
    Context
    1.05M
  • Gemma 4 26B A4B IT

    cloudflare/@cf/google/gemma-4-26b-a4b-it

    Input
    $0.10
    Output
    $0.30
    Context
    256K
  • GLM 4.7 Flash

    cloudflare/@cf/zai-org/glm-4.7-flash

    Input
    $0.0605
    Output
    $0.40
    Context
    131K
  • GLM 5.2

    cloudflare/@cf/zai-org/glm-5.2

    Input
    $1.40
    Output
    $4.40
    Context
    262K
  • GLM 5.3

    @cf/zai-org/glm-5.3

    Input
    $1.40
    Output
    $4.40
    Context
    1.05M
  • GLM 5.3 Flash

    @cf/zai-org/glm-5.3-flash

    Input
    $0.15
    Output
    $0.50
    Context
    1.05M
  • gpt-oss-20b

    cloudflare/@cf/openai/gpt-oss-20b

    Input
    $0.20
    Output
    $0.30
    Context
    128K
  • gpt-oss-120b

    cloudflare/@cf/openai/gpt-oss-120b

    Input
    $0.35
    Output
    $0.75
    Context
    128K
  • Kimi K2.6

    cloudflare/@cf/moonshotai/kimi-k2.6

    Input
    $0.95
    Output
    $4.00
    Context
    262K
  • Kimi K2.7 Code

    cloudflare/@cf/moonshotai/kimi-k2.7-code

    Input
    $0.95
    Output
    $4.00
    Context
    262K
  • Llama 3.2 1B Instruct

    cloudflare/@cf/meta/llama-3.2-1b-instruct

    Input
    $0.027
    Output
    $0.201
    Context
    60K
  • Llama 3.2 3B Instruct

    cloudflare/@cf/meta/llama-3.2-3b-instruct

    Input
    $0.0509
    Output
    $0.335
    Context
    80K
  • Llama 3.2 11B Vision Instruct

    cloudflare/@cf/meta/llama-3.2-11b-vision-instruct

    Input
    $0.0485
    Output
    $0.676
    Context
    128K
  • Llama 4 Scout 17B 16e Instruct

    cloudflare/@cf/meta/llama-4-scout-17b-16e-instruct

    Input
    $0.27
    Output
    $0.85
    Context
    131K
  • Llama Guard 3 8B

    cloudflare/@cf/meta/llama-guard-3-8b

    Input
    $0.484
    Output
    $0.03
    Context
    131K
  • Qwen 3.8 27B

    @cf/qwen/qwen3.8-27b

    Input
    $0.45
    Output
    $3.20
    Context
    262K
  • Qwen2.5 Coder 32B Instruct

    cloudflare/@cf/qwen/qwen2.5-coder-32b-instruct

    Input
    $0.66
    Output
    $1.00
    Context
    33K
  • QwQ 32B

    cloudflare/@cf/qwen/qwq-32b

    Input
    $0.66
    Output
    $1.00
    Context
    24K
  • Codellama 7B Instruct Awq

    cloudflare/@hf/thebloke/codellama-7b-instruct-awq

    Input
    $1.92
    Output
    $1.92
    Context
    4K
  • Gemma Sea Lion V4 27B IT

    cloudflare/@cf/aisingapore/gemma-sea-lion-v4-27b-it

    Input
    $0.351
    Output
    $0.555
    Context
    128K
  • Granite 4.0 H Micro

    cloudflare/@cf/ibm-granite/granite-4.0-h-micro

    Input
    $0.017
    Output
    $0.112
    Context
    131K
  • Llama 2 7B Chat Fp16

    cloudflare/@cf/meta/llama-2-7b-chat-fp16

    Input
    $1.92
    Output
    $1.92
    Context
    3K
  • Llama 2 7B Chat Int8

    cloudflare/@cf/meta/llama-2-7b-chat-int8

    Input
    $1.92
    Output
    $1.92
    Context
    2K
  • Llama 3.1 8B Instruct Fp8

    cloudflare/@cf/meta/llama-3.1-8b-instruct-fp8

    Input
    $0.152
    Output
    $0.287
    Context
    32K
  • Llama 3.3 70B Instruct Fp8 Fast

    cloudflare/@cf/meta/llama-3.3-70b-instruct-fp8-fast

    Input
    $0.293
    Output
    $2.25
    Context
    24K
  • Mistral 7B Instruct V0.1

    cloudflare/@cf/mistral/mistral-7b-instruct-v0.1

    Input
    $1.92
    Output
    $1.92
    Context
    8K
  • Mistral Small 3.1 24B Instruct

    cloudflare/@cf/mistralai/mistral-small-3.1-24b-instruct

    Input
    $0.351
    Output
    $0.555
    Context
    128K
  • Nemotron 3 120B A12B

    cloudflare/@cf/nvidia/nemotron-3-120b-a12b

    Input
    $0.50
    Output
    $1.50
    Context
    256K
  • Qwen3 30B A3B Fp8

    cloudflare/@cf/qwen/qwen3-30b-a3b-fp8

    Input
    $0.0509
    Output
    $0.335
    Context
    33K

Prices in USD from LiteLLM and models.dev, checked daily; confirm on Cloudflare Workers AI's pricing page before you rely on a number.