id: abacus
npm: @ai-sdk/openai-compatible
env: ABACUS_API_KEY
api: https://routellm.abacus.ai/v1
Models
Claude Fable 5
claude-fable-5in $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-20251001in $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-20250514in $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-20250805in $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-20251101in $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-6in $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-7in $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-8in $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-5in $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-20250219in $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-20250514in $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-20250929in $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-6in $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-5in $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-R1in $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.1in $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-Terminusin $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.2in $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-Flashin $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-Proin $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-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
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 2.5 Pro
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
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3 Flash Preview
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, audio
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.1 Flash Lite
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, audio
out: text
reasoning
tools
vision
structured
temp
open weights
Gemini 3.1 Flash Lite Preview
gemini-3.1-flash-lite-previewin $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-previewin $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-flashin $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-litein $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-flashin $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-flashin $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-itin $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.5in $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.6in $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.7in $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-5in $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.1in $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.2in $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-120bin $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.1in $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-miniin $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-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
gpt-4oin $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-20in $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-miniin $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-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 Mini
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
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-Codex
gpt-5-codexin $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.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 Latest
gpt-5.1-chat-latestin $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-codexin $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-maxin $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.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 Latest
gpt-5.2-chat-latestin $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-codexin $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-latestin $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-codexin $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-xhighin $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.4in $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-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
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
gpt-5.5in $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-lunain $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-solin $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-terrain $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-0709in $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-reasoningin $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-reasoningin $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.3in $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.5in $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.6in $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-1in $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/Inklingin $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-previewin $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.5in $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.6in $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-Codein $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-K3in $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-Turboin $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-Instructin $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-versatilein $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-FP8in $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-Instructin $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-proin $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.7in $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-M3in $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.1in $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.2in $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-imagein $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-imagein $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-previewin $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-imagein $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-previewin $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
o3in $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-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
o3-pro
o3-proin $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-miniin $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-Instructin $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-32bin $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-2507in $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-32Bin $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-maxin $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-Instructin $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-27Bin $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-maxin $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-maxin $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-32Bin $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-llmin $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