Merge Gateway

[PROVIDER]
id: merge-gateway
npm: merge-gateway-ai-sdk-provider
env: MERGE_GATEWAY_API_KEY

Models

Claude Haiku 4.5

anthropic/claude-haiku-4-5-20251001
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

anthropic/claude-opus-4-20250514
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.1

anthropic/claude-opus-4-1-20250805
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.5

anthropic/claude-opus-4-5-20251101
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
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-20250514
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.5

anthropic/claude-sonnet-4-5-20250929
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
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-latest
in $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-2025
in $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-2024
in $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-2024
in $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-2024
in $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-flash
in $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-pro
in $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-2512
in $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-latest
in $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-2507
in $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-2507
in $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-flash
in $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-lite
in $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-pro
in $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-preview
in $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-preview
in $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-lite
in $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-preview
in $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-preview
in $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-customtools
in $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-flash
in $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-latest
in $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-latest
in $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-it
in
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-it
in
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.5
in $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-air
in $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.6
in $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.7
in $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-flashx
in $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-5
in $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-turbo
in $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.1
in $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.2
in $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.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,047,576 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-4o

openai/gpt-4o
in $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-13
in $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-06
in $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-20
in $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-mini
in $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-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 Chat (latest)

openai/gpt-5-chat-latest
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.1

openai/gpt-5.1
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.1 Chat

openai/gpt-5.1-chat-latest
in $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.2
in $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-latest
in $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-latest
in $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.4
in $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-mini
in $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-nano
in $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.5
in $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-reasoning
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.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

Kimi K2 Thinking

moonshotai/kimi-k2-thinking
in $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.5
in $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.6
in $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-code
in $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-highspeed
in $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-latest
in $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-m2
in $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.1
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.5

minimax/minimax-m2.5
in $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-highspeed
in $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.7
in $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-highspeed
in $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-m3
in $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-latest
in $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-2411
in $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-2512
in $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-latest
in $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-2505
in $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-latest
in $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/o1
in $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/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

Pixtral Large (latest)

mistral/pixtral-large-latest
in $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-plus
in $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-max
in $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