id: merge-gateway
npm: merge-gateway-ai-sdk-provider
env: MERGE_GATEWAY_API_KEY
Models
Claude Haiku 4.5
anthropic/claude-haiku-4-5-20251001in $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
anthropic/claude-opus-4-20250514in $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.1
anthropic/claude-opus-4-1-20250805in $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.5
anthropic/claude-opus-4-5-20251101in $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
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-20250514in $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.5
anthropic/claude-sonnet-4-5-20250929in $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-6in $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
Codestral (latest)
mistral/codestral-latestin $0.30/M
out $0.90/M
ctx: 256,000
max out: 4,096
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Command A
cohere/command-a-03-2025in $2.50/M
out $10.00/M
ctx: 256,000
max out: 8,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Command R
cohere/command-r-08-2024in $0.15/M
out $0.60/M
ctx: 128,000
max out: 4,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Command R+
cohere/command-r-plus-08-2024in $2.50/M
out $10.00/M
ctx: 128,000
max out: 4,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Command R7B
cohere/command-r7b-12-2024in $0.04/M
out $0.15/M
ctx: 128,000
max out: 4,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek V4 Flash
deepseek/deepseek-v4-flashin $0.14/M
out $0.28/M
cache read $0.00/M
ctx: 1,000,000
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek V4 Pro
deepseek/deepseek-v4-proin $0.43/M
out $0.87/M
cache read $0.00/M
ctx: 1,000,000
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Devstral 2
mistral/devstral-2512in $0.40/M
out $2.00/M
ctx: 262,144
max out: 262,144
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Devstral 2 (latest)
mistral/devstral-medium-latestin $0.40/M
out $2.00/M
ctx: 262,144
max out: 262,144
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Devstral Medium
mistral/devstral-medium-2507in $0.40/M
out $2.00/M
ctx: 128,000
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Devstral Small
mistral/devstral-small-2507in $0.10/M
out $0.30/M
ctx: 128,000
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Gemini 2.5 Flash
google/gemini-2.5-flashin $0.30/M
out $2.50/M
cache read $0.03/M
ctx: 1,048,576
max out: 65,536
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 2.5 Flash-Lite
google/gemini-2.5-flash-litein $0.10/M
out $0.40/M
cache read $0.01/M
ctx: 1,048,576
max out: 65,536
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 2.5 Pro
google/gemini-2.5-proin $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 1,048,576
max out: 65,536
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3 Flash Preview
google/gemini-3-flash-previewin $0.50/M
out $3.00/M
cache read $0.05/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 Pro Preview
google/gemini-3-pro-previewin $2.00/M
out $12.00/M
cache read $0.20/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.1 Flash Lite
google/gemini-3.1-flash-litein $0.25/M
out $1.50/M
cache read $0.03/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.1 Flash Lite Preview
google/gemini-3.1-flash-lite-previewin $0.25/M
out $1.50/M
cache read $0.03/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.1 Pro Preview
google/gemini-3.1-pro-previewin $2.00/M
out $12.00/M
cache read $0.20/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.1 Pro Preview Custom Tools
google/gemini-3.1-pro-preview-customtoolsin $2.00/M
out $12.00/M
cache read $0.20/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-flashin $1.50/M
out $9.00/M
cache read $0.15/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 Flash Latest
google/gemini-flash-latestin $0.30/M
out $2.50/M
cache read $0.07/M
ctx: 1,048,576
max out: 65,536
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini Flash-Lite Latest
google/gemini-flash-lite-latestin $0.10/M
out $0.40/M
cache read $0.03/M
ctx: 1,048,576
max out: 65,536
in: text, image, audio, video, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Gemma 4 26B A4B IT
google/gemma-4-26b-a4b-itin —
out —
ctx: 262,144
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Gemma 4 31B IT
google/gemma-4-31b-itin —
out —
ctx: 262,144
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.5
zai/glm-4.5in $0.60/M
out $2.20/M
cache read $0.11/M
cache write $0.00/M
ctx: 131,072
max out: 98,304
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.5-Air
zai/glm-4.5-airin $0.20/M
out $1.10/M
cache read $0.03/M
cache write $0.00/M
ctx: 131,072
max out: 98,304
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.6
zai/glm-4.6in $0.60/M
out $2.20/M
cache read $0.11/M
cache write $0.00/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.7
zai/glm-4.7in $0.60/M
out $2.20/M
cache read $0.11/M
cache write $0.00/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-4.7-FlashX
zai/glm-4.7-flashxin $0.07/M
out $0.40/M
cache read $0.01/M
cache write $0.00/M
ctx: 200,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5
zai/glm-5in $1.00/M
out $3.20/M
cache read $0.20/M
cache write $0.00/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5-Turbo
zai/glm-5-turboin $1.20/M
out $4.00/M
cache read $0.24/M
cache write $0.00/M
ctx: 200,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.1
zai/glm-5.1in $1.40/M
out $4.40/M
cache read $0.26/M
cache write $0.00/M
ctx: 200,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.2
zai/glm-5.2in $1.40/M
out $4.40/M
ctx: 1,000,000
max out: 131,072
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,047,576
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o
openai/gpt-4oin $2.50/M
out $10.00/M
cache read $1.25/M
ctx: 128,000
max out: 16,384
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o (2024-05-13)
openai/gpt-4o-2024-05-13in $5.00/M
out $15.00/M
ctx: 128,000
max out: 4,096
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o (2024-08-06)
openai/gpt-4o-2024-08-06in $2.50/M
out $10.00/M
cache read $1.25/M
ctx: 128,000
max out: 16,384
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o (2024-11-20)
openai/gpt-4o-2024-11-20in $2.50/M
out $10.00/M
cache read $1.25/M
ctx: 128,000
max out: 16,384
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-4o mini
openai/gpt-4o-miniin $0.15/M
out $0.60/M
cache read $0.07/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: 400,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5 Chat (latest)
openai/gpt-5-chat-latestin $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-miniin $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-nanoin $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.1
openai/gpt-5.1in $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.1 Chat
openai/gpt-5.1-chat-latestin $1.25/M
out $10.00/M
cache read $0.13/M
ctx: 128,000
max out: 16,384
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.2
openai/gpt-5.2in $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 400,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.2 Chat
openai/gpt-5.2-chat-latestin $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 128,000
max out: 16,384
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
GPT-5.3 Chat (latest)
openai/gpt-5.3-chat-latestin $1.75/M
out $14.00/M
cache read $0.17/M
ctx: 128,000
max out: 16,384
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,050,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: 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-nanoin $0.20/M
out $1.25/M
cache read $0.02/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.5in $5.00/M
out $30.00/M
cache read $0.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 (Reasoning)
xai/grok-4.20-0309-reasoningin $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.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
Kimi K2 Thinking
moonshotai/kimi-k2-thinkingin $0.60/M
out $2.50/M
ctx: 262,144
max out: 262,144
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.5
moonshotai/kimi-k2.5in $0.60/M
out $3.00/M
ctx: 262,144
max out: 262,144
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.6
moonshotai/kimi-k2.6in $0.95/M
out $4.00/M
ctx: 262,144
max out: 262,144
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.7 Code
moonshotai/kimi-k2.7-codein $0.95/M
out $4.00/M
ctx: 262,144
max out: 262,144
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.7 Code Highspeed
moonshotai/kimi-k2.7-code-highspeedin $1.90/M
out $8.00/M
ctx: 262,144
max out: 262,144
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Magistral Medium (latest)
mistral/magistral-medium-latestin $2.00/M
out $5.00/M
ctx: 128,000
max out: 16,384
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M2
minimax/minimax-m2in $0.30/M
out $1.20/M
ctx: 196,608
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M2.1
minimax/minimax-m2.1in $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.5
minimax/minimax-m2.5in $0.30/M
out $1.20/M
cache read $0.03/M
cache write $0.38/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M2.5-highspeed
minimax/minimax-m2.5-highspeedin $0.60/M
out $2.40/M
cache read $0.06/M
cache write $0.38/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M2.7
minimax/minimax-m2.7in $0.30/M
out $1.20/M
cache read $0.06/M
cache write $0.38/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-highspeedin $0.60/M
out $2.40/M
cache read $0.06/M
cache write $0.38/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax-M3
minimax/minimax-m3in $0.60/M
out $2.40/M
ctx: 512,000
max out: 128,000
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Large (latest)
mistral/mistral-large-latestin $0.50/M
out $1.50/M
ctx: 262,144
max out: 262,144
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Large 2.1
mistral/mistral-large-2411in $2.00/M
out $6.00/M
ctx: 131,072
max out: 16,384
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Large 3
mistral/mistral-large-2512in $0.50/M
out $1.50/M
ctx: 262,144
max out: 262,144
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Medium (latest)
mistral/mistral-medium-latestin $0.40/M
out $2.00/M
ctx: 262,144
max out: 262,144
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Medium 3
mistral/mistral-medium-2505in $0.40/M
out $2.00/M
ctx: 131,072
max out: 131,072
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Mistral Small (latest)
mistral/mistral-small-latestin $0.15/M
out $0.60/M
ctx: 256,000
max out: 256,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
o1
openai/o1in $15.00/M
out $60.00/M
cache read $7.50/M
ctx: 200,000
max out: 100,000
in: text, image, pdf
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
Pixtral Large (latest)
mistral/pixtral-large-latestin $2.00/M
out $6.00/M
ctx: 128,000
max out: 128,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.6 Plus
alibaba/qwen3.6-plusin $0.50/M
out $3.00/M
ctx: 1,000,000
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.7 Max
alibaba/qwen3.7-maxin $1.65/M
out $4.95/M
ctx: 1,000,000
max out: 65,536
in: text
out: text
reasoning
tools
vision
structured
temp
open weights