id: abacus
npm: @ai-sdk/openai-compatible
env: ABACUS_API_KEY
api: https://routellm.abacus.ai/v1
Models
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, pdf
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, pdf
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: 200,000
max out: 128,000
in: text, image, pdf
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, pdf
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: 200,000
max out: 64,000
in: text, image, pdf
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
Gemini 2.5 Flash
gemini-2.5-flashin $0.30/M
out $2.50/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
gemini-2.5-proin $1.25/M
out $10.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 Flash Preview
gemini-3-flash-previewin $0.50/M
out $3.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 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
ctx: 1,048,576
max out: 65,536
in: text, image, video, audio, pdf
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: 128,000
max out: 8,192
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: 128,000
max out: 8,192
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: 128,000
max out: 8,192
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
GPT-4.1
gpt-4.1in $2.00/M
out $8.00/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
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
ctx: 1,047,576
max out: 32,768
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
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
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
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
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
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
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
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
ctx: 400,000
max out: 128,000
in: text, image, pdf
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
ctx: 400,000
max out: 128,000
in: text, image, pdf
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
ctx: 1,050,000
max out: 128,000
in: text, image
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: 32,768
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 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
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
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 128E Instruct FP8
meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8in $0.14/M
out $0.59/M
ctx: 1,000,000
max out: 32,768
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
o3
o3in $2.00/M
out $8.00/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
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: 128,000
max out: 8,192
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: 65,536
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
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
Route LLM
route-llmin $3.00/M
out $15.00/M
ctx: 128,000
max out: 16,384
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights