id: cloudflare-ai-gateway
npm: ai-gateway-provider
env: CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_GATEWAY_ID
Models
Claude Fable 5
anthropic/claude-fable-5in $10.00/M
out $50.00/M
cache read $1.00/M
cache write $12.50/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Haiku 4.5 (latest)
anthropic/claude-haiku-4.5in $1.00/M
out $5.00/M
cache read $0.10/M
cache write $1.25/M
ctx: 200,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.5 (latest)
anthropic/claude-opus-4.5in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 200,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.6
anthropic/claude-opus-4.6in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.7
anthropic/claude-opus-4.7in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 4.8
anthropic/claude-opus-4.8in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Opus 5
anthropic/claude-opus-5in $5.00/M
out $25.00/M
cache read $0.50/M
cache write $6.25/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 4.5 (latest)
anthropic/claude-sonnet-4.5in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 1,000,000
max out: 64,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 4.6
anthropic/claude-sonnet-4.6in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Claude Sonnet 5
anthropic/claude-sonnet-5in $2.00/M
out $10.00/M
cache read $0.20/M
cache write $2.50/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek V4 Pro
deepseek/deepseek-v4-proin $1.74/M
out $3.48/M
cache read $0.14/M
ctx: 131,072
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4.1
openai/gpt-4.1in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 1,047,576
max out: 32,768
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4.1 mini
openai/gpt-4.1-miniin $0.40/M
out $1.60/M
cache read $0.10/M
ctx: 1,047,576
max out: 32,768
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4.1 nano
openai/gpt-4.1-nanoin $0.10/M
out $0.40/M
cache read $0.03/M
ctx: 1,000,000
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o
openai/gpt-4oin $1.25/M
out $5.00/M
cache read $0.63/M
ctx: 128,000
max out: 16,384
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o mini
openai/gpt-4o-miniin $0.07/M
out $0.30/M
cache read $0.04/M
ctx: 128,000
max out: 16,384
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5
openai/gpt-5in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5 Mini
openai/gpt-5-miniin $0.25/M
out $2.00/M
cache read $0.03/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5 Nano
openai/gpt-5-nanoin $0.05/M
out $0.40/M
cache read $0.01/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.1
openai/gpt-5.1in $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4
openai/gpt-5.4in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4 mini
openai/gpt-5.4-miniin $0.75/M
out $4.50/M
cache read $0.07/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4 nano
openai/gpt-5.4-nanoin $0.20/M
out $1.25/M
cache read $0.02/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.4 Pro
openai/gpt-5.4-proin $30.00/M
out $180.00/M
ctx: 1,000,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.5
openai/gpt-5.5in $5.00/M
out $30.00/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.5 Pro
openai/gpt-5.5-proin $30.00/M
out $180.00/M
ctx: 1,000,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Luna
openai/gpt-5.6-lunain $0.20/M
out $1.20/M
cache read $0.02/M
cache write $0.25/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Sol
openai/gpt-5.6-solin $2.00/M
out $10.00/M
cache read $0.25/M
cache write $3.13/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.6 Terra
openai/gpt-5.6-terrain $2.00/M
out $12.00/M
cache read $0.20/M
cache write $2.50/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.20 (Non-Reasoning)
xai/grok-4.20-0309-non-reasoningin $2.00/M
out $6.00/M
cache read $0.20/M
ctx: 2,000,000
max out: 30,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.20 (Reasoning)
xai/grok-4.20-0309-reasoningin $2.00/M
out $6.00/M
cache read $0.20/M
ctx: 2,000,000
max out: 30,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.3
xai/grok-4.3in $1.25/M
out $2.50/M
cache read $0.20/M
ctx: 1,000,000
max out: 30,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.5
xai/grok-4.5in $2.00/M
out $6.00/M
cache read $0.30/M
ctx: 500,000
max out: 500,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.6
xai/grok-4.6in $2.00/M
out $6.00/M
cache read $0.50/M
ctx: 500,000
max out: 500,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K3
moonshotai/kimi-k3in $3.00/M
out $15.00/M
cache read $0.30/M
ctx: 1,048,576
max out: 131,072
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
o3
openai/o3in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 200,000
max out: 100,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
o3-mini
openai/o3-miniin $1.10/M
out $4.40/M
cache read $0.55/M
ctx: 200,000
max out: 100,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
o4-mini
openai/o4-miniin $1.10/M
out $4.40/M
cache read $0.28/M
ctx: 200,000
max out: 100,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3 Max
alibaba/qwen3-maxin $1.20/M
out $6.00/M
ctx: 262,144
max out: 65,536
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.5 397B-A17B
alibaba/qwen3.5-397b-a17bin $0.60/M
out $3.60/M
ctx: 262,144
max out: 65,536
in: text, image, video, audio
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.7 Max
alibaba/qwen3.7-maxin $1.25/M
out $3.75/M
cache read $0.25/M
ctx: 1,000,000
max out: 65,536
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.7 Plus
alibaba/qwen3.7-plusin $0.32/M
out $1.28/M
cache read $0.06/M
ctx: 1,000,000
max out: 64,000
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.8 Max
alibaba/qwen3.8-maxin $2.00/M
out $6.00/M
cache read $0.25/M
ctx: 1,000,000
max out: 131,072
in: text, image, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights