影

Cloudflare AI Gateway

[PROVIDER]
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-5
in $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.5
in $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.5
in $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.6
in $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.7
in $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.8
in $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-5
in $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.5
in $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.6
in $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-5
in $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-pro
in $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.1
in $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-mini
in $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-nano
in $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-4o
in $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-mini
in $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-5
in $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-mini
in $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-nano
in $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.1
in $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.4
in $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-mini
in $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-nano
in $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-pro
in $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.5
in $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-pro
in $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-luna
in $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-sol
in $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-terra
in $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-reasoning
in $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-reasoning
in $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.3
in $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.5
in $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.6
in $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-k3
in $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/o3
in $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-mini
in $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-mini
in $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-max
in $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-a17b
in $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-max
in $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-plus
in $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-max
in $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