FastRouter

[PROVIDER]
id: fastrouter
npm: @ai-sdk/openai-compatible
env: FASTROUTER_API_KEY
api: https://go.fastrouter.ai/api/v1

Models

Claude Opus 4.1

anthropic/claude-opus-4.1
in $15.00/M
out $75.00/M
cache read $1.50/M
cache write $18.75/M
ctx: 200,000 max out: 32,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
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4

anthropic/claude-sonnet-4
in $3.00/M
out $15.00/M
cache read $0.30/M
cache write $3.75/M
ctx: 200,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
ctx: 1,000,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

DeepSeek R1 Distill Llama 70B

deepseek-ai/deepseek-r1-distill-llama-70b
in $0.03/M
out $0.14/M
ctx: 131,072 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Pro

deepseek/deepseek-v4-pro
in $1.74/M
out $3.48/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Flash

google/gemini-2.5-flash
in $0.30/M
out $2.50/M
cache read $0.04/M
ctx: 1,048,576 max out: 65,536 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Pro

google/gemini-2.5-pro
in $1.25/M
out $10.00/M
cache read $0.31/M
ctx: 1,048,576 max out: 65,536 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3.1 Pro Preview

google/gemini-3.1-pro-preview
in $2.00/M
out $12.00/M
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3.5 Flash

google/gemini-3.5-flash
in $1.50/M
out $9.00/M
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemma 4 31B IT

google/gemma-4-31b-it
in $0.13/M
out $0.38/M
ctx: 262,144 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

GLM-5

z-ai/glm-5
in $0.95/M
out $3.15/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.1

z-ai/glm-5.1
in $1.05/M
out $3.50/M
ctx: 200,000 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GPT Image 2

openai/gpt-image-2
in
out
ctx: 128,000 max out: 0 in: text, image out: image
reasoning tools vision structured temp open weights

GPT OSS 120B

openai/gpt-oss-120b
in $0.15/M
out $0.60/M
ctx: 131,072 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

GPT OSS 20B

openai/gpt-oss-20b
in $0.05/M
out $0.20/M
ctx: 131,072 max out: 65,536 in: text out: text
reasoning tools vision structured temp open weights

GPT Realtime 1.5

openai/gpt-realtime-1.5
in $4.00/M
out $16.00/M
ctx: 32,000 max out: 4,096 in: text, audio, image out: text, audio
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 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: 400,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: 400,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: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.3 Codex

openai/gpt-5.3-codex
in $1.75/M
out $14.00/M
ctx: 400,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
ctx: 400,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
ctx: 400,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,050,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,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Grok 4

x-ai/grok-4
in $3.00/M
out $15.00/M
cache read $0.75/M
cache write $15.00/M
ctx: 256,000 max out: 64,000 in: text out: text
reasoning tools vision structured temp open weights

Grok 4.3

x-ai/grok-4.3
in $1.25/M
out $2.50/M
ctx: 1,000,000 max out: 30,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Grok Build 0.1

x-ai/grok-build-0.1
in $1.00/M
out $2.00/M
ctx: 256,000 max out: 256,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Imagen 4 Fast

google/imagen-4.0-fast
in
out
ctx: 480 max out: 0 in: text out: image
reasoning tools vision structured temp open weights

Imagen 4 Ultra

google/imagen-4.0-ultra
in
out
ctx: 480 max out: 0 in: text out: image
reasoning tools vision structured temp open weights

Kimi K2

moonshotai/kimi-k2
in $0.55/M
out $2.20/M
ctx: 131,072 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Kimi K2.6

moonshotai/kimi-k2.6
in $0.75/M
out $3.50/M
ctx: 262,144 max out: 262,144 in: text, image, video out: text
reasoning tools vision structured temp open weights

Lucid Origin

leonardo-ai/lucid-origin
in
out
ctx: 4,096 max out: 0 in: text, image out: image
reasoning tools vision structured temp open weights

Lucid Realism

leonardo-ai/lucid-realism
in
out
ctx: 4,096 max out: 0 in: text, image out: image
reasoning tools vision structured temp open weights

MiniMax-M2.7

minimax/minimax-m2.7
in $0.30/M
out $1.20/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

MiniMax-M2.7-highspeed

minimax/minimax-m2.7-highspeed
in $0.60/M
out $2.40/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

Nano Banana 2

google/gemini-3.1-flash-image-preview
in $0.50/M
out $3.00/M
ctx: 65,536 max out: 65,536 in: text, image, pdf out: text, image
reasoning tools vision structured temp open weights

Nano Banana Pro

google/gemini-3-pro-image-preview
in $2.00/M
out $12.00/M
ctx: 65,536 max out: 32,768 in: text, image out: text, image
reasoning tools vision structured temp open weights

Qwen3 Coder

qwen/qwen3-coder
in $0.30/M
out $1.20/M
ctx: 262,144 max out: 66,536 in: text out: text
reasoning tools vision structured temp open weights

Sarvam 105B

sarvam/sarvam-105b
in $0.04/M
out $0.16/M
ctx: 131,072 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

Sarvam 30B

sarvam/sarvam-30b
in $0.02/M
out $0.10/M
ctx: 128,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

Seedance 2

bytedance/seedance-2
in
out
ctx: 4,096 max out: 0 in: text, image out: video
reasoning tools vision structured temp open weights

Veo 3.1

google/veo3.1
in
out
ctx: 400,000 max out: 0 in: text, image out: video
reasoning tools vision structured temp open weights

Veo 3.1 Fast

google/veo3.1-fast
in
out
ctx: 400,000 max out: 0 in: text, image out: video
reasoning tools vision structured temp open weights

Veo 3.1 Lite

google/veo3.1-lite
in
out
ctx: 400,000 max out: 0 in: text, image out: video
reasoning tools vision structured temp open weights

Wan 2.6

wanx/wan-v2-6
in
out
ctx: 400,000 max out: 0 in: text, image out: video
reasoning tools vision structured temp open weights