Abacus

[PROVIDER]
id: abacus
npm: @ai-sdk/openai-compatible
env: ABACUS_API_KEY
api: https://routellm.abacus.ai/v1

Models

Claude Fable 5

claude-fable-5
in $10.00/M
out $50.00/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Haiku 4.5

claude-haiku-4-5-20251001
in $1.00/M
out $5.00/M
ctx: 200,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Opus 4

claude-opus-4-20250514
in $15.00/M
out $75.00/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

claude-opus-4-1-20250805
in $15.00/M
out $75.00/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

claude-opus-4-5-20251101
in $5.00/M
out $25.00/M
ctx: 200,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Opus 4.6

claude-opus-4-6
in $5.00/M
out $25.00/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Opus 4.7

claude-opus-4-7
in $5.00/M
out $25.00/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Opus 4.8

claude-opus-4-8
in $5.00/M
out $25.00/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Opus 5

claude-opus-5
in $5.00/M
out $25.00/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Sonnet 3.7

claude-3-7-sonnet-20250219
in $3.00/M
out $15.00/M
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4

claude-sonnet-4-20250514
in $3.00/M
out $15.00/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

claude-sonnet-4-5-20250929
in $3.00/M
out $15.00/M
ctx: 200,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.6

claude-sonnet-4-6
in $3.00/M
out $15.00/M
ctx: 1,000,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights

Claude Sonnet 5

claude-sonnet-5
in $3.00/M
out $15.00/M
ctx: 1,000,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights

DeepSeek R1

deepseek-ai/DeepSeek-R1
in $3.00/M
out $7.00/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V3.1

deepseek/deepseek-v3.1
in $0.55/M
out $1.66/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V3.1 Terminus

deepseek-ai/DeepSeek-V3.1-Terminus
in $0.27/M
out $1.00/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V3.2

deepseek-ai/DeepSeek-V3.2
in $0.27/M
out $0.40/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Flash

deepseek-ai/DeepSeek-V4-Flash
in $0.14/M
out $0.28/M
cache read $0.03/M
ctx: 1,000,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Pro

deepseek-ai/DeepSeek-V4-Pro
in $1.74/M
out $3.48/M
cache read $0.15/M
ctx: 1,000,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Flash

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 out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Pro

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 out: text
reasoning tools vision structured temp open weights

Gemini 3 Flash Preview

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, audio out: text
reasoning tools vision structured temp open weights

Gemini 3.1 Flash Lite

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, audio out: text
reasoning tools vision structured temp open weights

Gemini 3.1 Flash Lite Preview

gemini-3.1-flash-lite-preview
in $0.25/M
out $1.50/M
cache read $0.03/M
cache write $1.00/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.1 Pro Preview

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, audio out: text
reasoning tools vision structured temp open weights

Gemini 3.5 Flash

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, audio out: text
reasoning tools vision structured temp open weights

Gemini 3.5 Flash Lite

gemini-3.5-flash-lite
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 out: text
reasoning tools vision structured temp open weights

Gemini 3.6 Flash

gemini-3.6-flash
in $1.50/M
out $7.50/M
cache read $0.15/M
ctx: 1,048,576 max out: 65,536 in: text, image, audio out: text
reasoning tools vision structured temp open weights

Gemini 3.7 Flash

gemini-3.7-flash
in $0.75/M
out $3.75/M
cache read $0.07/M
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video out: text
reasoning tools vision structured temp open weights

Gemma 4 31B IT

google/gemma-4-31b-it
in $0.14/M
out $0.40/M
ctx: 262,144 max out: 131,072 in: text, image out: text
reasoning tools vision structured temp open weights

GLM-4.5

zai-org/GLM-4.5
in $0.60/M
out $2.20/M
ctx: 131,072 max out: 96,000 in: text out: text
reasoning tools vision structured temp open weights

GLM-4.6

zai-org/GLM-4.6
in $0.60/M
out $2.20/M
ctx: 202,752 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GLM-4.7

zai-org/GLM-4.7
in $0.60/M
out $2.20/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GLM-5

zai-org/GLM-5
in $1.00/M
out $3.20/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.1

zai-org/GLM-5.1
in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 204,800 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.2

zai-org/GLM-5.2
in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 1,048,576 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

GPT OSS 120B

openai/gpt-oss-120b
in $0.08/M
out $0.44/M
ctx: 128,000 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights

GPT-4.1

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-4.1 mini

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 out: text
reasoning tools vision structured temp open weights

GPT-4.1 nano

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

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 out: text
reasoning tools vision structured temp open weights

GPT-4o (2024-11-20)

gpt-4o-2024-11-20
in $2.50/M
out $10.00/M
ctx: 128,000 max out: 16,384 in: text, image, audio out: text
reasoning tools vision structured temp open weights

GPT-4o mini

gpt-4o-mini
in $0.15/M
out $0.60/M
ctx: 128,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5

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

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

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-Codex

gpt-5-codex
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

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 Latest

gpt-5.1-chat-latest
in $1.25/M
out $10.00/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.1 Codex

gpt-5.1-codex
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 Codex Max

gpt-5.1-codex-max
in $1.25/M
out $10.00/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2

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 Latest

gpt-5.2-chat-latest
in $1.75/M
out $14.00/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2 Codex

gpt-5.2-codex
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.3 Chat Latest

gpt-5.3-chat-latest
in $1.75/M
out $14.00/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.3 Codex

gpt-5.3-codex
in $1.75/M
out $14.00/M
cache read $0.18/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.3 Codex XHigh

gpt-5.3-codex-xhigh
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

gpt-5.4
in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.4 mini

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

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

gpt-5.5
in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.6 Luna

gpt-5.6-luna
in $1.00/M
out $6.00/M
cache read $0.10/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.6 Sol

gpt-5.6-sol
in $5.00/M
out $30.00/M
cache read $0.50/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.6 Terra

gpt-5.6-terra
in $2.50/M
out $15.00/M
cache read $0.25/M
ctx: 1,000,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4

grok-4-0709
in $3.00/M
out $15.00/M
ctx: 256,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4 Fast (Non-Reasoning)

grok-4-fast-non-reasoning
in $0.20/M
out $0.50/M
ctx: 2,000,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4.1 Fast (Non-Reasoning)

grok-4-1-fast-non-reasoning
in $0.20/M
out $0.50/M
ctx: 2,000,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4.3

grok-4.3
in $1.25/M
out $2.50/M
cache read $0.20/M
ctx: 1,000,000 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4.5

grok-4.5
in $2.00/M
out $6.00/M
ctx: 500,000 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

Grok 4.6

grok-4.6
in $2.00/M
out $6.00/M
cache read $0.50/M
ctx: 500,000 max out: 32,768 in: text, image out: text
reasoning tools vision structured temp open weights

Grok Code Fast 1

grok-code-fast-1
in $0.20/M
out $1.50/M
ctx: 256,000 max out: 16,384 in: text, image out: text
reasoning tools vision structured temp open weights

Inkling

thinkingmachines/Inkling
in $3.74/M
out $9.36/M
cache read $0.75/M
ctx: 262,144 max out: 131,072 in: text, image out: text
reasoning tools vision structured temp open weights

Kimi K2 Turbo Preview

kimi-k2-turbo-preview
in $0.15/M
out $8.00/M
ctx: 256,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Kimi K2.5

kimi-k2.5
in $0.60/M
out $3.00/M
ctx: 262,144 max out: 32,768 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
cache read $0.19/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
cache read $0.19/M
ctx: 262,144 max out: 262,144 in: text, image, video 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

Llama 3.1 405B Instruct Turbo

meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo
in $3.50/M
out $3.50/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Llama 3.1 8B Instruct

meta-llama/Meta-Llama-3.1-8B-Instruct
in $0.02/M
out $0.05/M
ctx: 128,000 max out: 4,096 in: text out: text
reasoning tools vision structured temp open weights

Llama 3.3 70B Versatile

llama-3.3-70b-versatile
in $0.59/M
out $0.79/M
ctx: 128,000 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

Llama 4 Maverick 17B Instruct

meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
in $0.14/M
out $0.59/M
ctx: 1,048,576 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights

Llama-3.3-70B-Instruct

meta-llama/Meta-Llama-3.3-70B-Instruct
in $0.59/M
out $0.79/M
ctx: 131,072 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

MiMo-V2-Pro

mimo-v2-pro
in $1.00/M
out $3.00/M
cache read $0.20/M
ctx: 1,048,576 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

MiniMax-M2.7

MiniMaxAI/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-M3

MiniMaxAI/MiniMax-M3
in $0.30/M
out $1.20/M
ctx: 1,000,000 max out: 131,072 in: text, image, video out: text
reasoning tools vision structured temp open weights

Muse Spark 1.1

muse-spark-1.1
in $1.25/M
out $4.25/M
cache read $0.15/M
ctx: 1,000,000 max out: 32,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Muse Spark 1.2

muse-spark-1.2
in $1.25/M
out $4.25/M
cache read $0.15/M
ctx: 1,048,576 max out: 131,072 in: text, image, audio, video out: text
reasoning tools vision structured temp open weights

Nano Banana

gemini-2.5-flash-image
in $0.30/M
out $30.00/M
ctx: 32,768 max out: 32,768 in: text, image out: text, image
reasoning tools vision structured temp open weights

Nano Banana 2

gemini-3.1-flash-image
in $0.50/M
out $3.00/M
ctx: 1,048,576 max out: 32,768 in: text, image out: text, image
reasoning tools vision structured temp open weights

Nano Banana 2

gemini-3.1-flash-image-preview
in $0.50/M
out $3.00/M
ctx: 1,048,576 max out: 32,768 in: text, image out: text, image
reasoning tools vision structured temp open weights

Nano Banana Pro

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

Nano Banana Pro

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

o3

o3
in $2.00/M
out $8.00/M
cache read $0.50/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

o3-mini

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

o3-pro

o3-pro
in $20.00/M
out $40.00/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

o4-mini

o4-mini
in $1.10/M
out $4.40/M
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

Qwen 2.5 72B Instruct

Qwen/Qwen2.5-72B-Instruct
in $0.11/M
out $0.38/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Qwen 2.5 Coder 32B

qwen-2.5-coder-32b
in $0.79/M
out $0.79/M
ctx: 128,000 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 235B A22B Instruct

Qwen/Qwen3-235B-A22B-Instruct-2507
in $0.13/M
out $0.60/M
ctx: 262,144 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 32B

Qwen/Qwen3-32B
in $0.09/M
out $0.29/M
ctx: 131,072 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Qwen3 Max

qwen3-max
in $1.20/M
out $6.00/M
ctx: 131,072 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights

Qwen3-Coder 480B-A35B Instruct

Qwen/Qwen3-Coder-480B-A35B-Instruct
in $0.29/M
out $1.20/M
ctx: 262,144 max out: 16,384 in: text out: text
reasoning tools vision structured temp open weights

Qwen3.6 27B

Qwen/Qwen3.6-27B
in $0.32/M
out $3.20/M
ctx: 262,144 max out: 8,192 in: text out: text
reasoning tools vision structured temp open weights

Qwen3.7 Max

qwen3.7-max
in $2.50/M
out $7.50/M
ctx: 1,000,000 max out: 64,000 in: text out: text
reasoning tools vision structured temp open weights

Qwen3.8 Max

qwen3.8-max
in $2.00/M
out $6.00/M
ctx: 1,000,000 max out: 131,072 in: text, image, video out: text
reasoning tools vision structured temp open weights

QwQ 32B

Qwen/QwQ-32B
in $0.40/M
out $0.40/M
ctx: 32,768 max out: 32,768 in: text out: text
reasoning tools vision structured temp open weights

RouteLLM

route-llm
in $3.00/M
out $15.00/M
ctx: 128,000 max out: 64,000 in: text, image out: text
reasoning tools vision structured temp open weights