Abacus

[PROVIDER]
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-20251001
in $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-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, pdf 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: 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-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, pdf 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: 200,000 max out: 64,000 in: text, image, pdf 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

Gemini 2.5 Flash

gemini-2.5-flash
in $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-pro
in $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-preview
in $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-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
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.5
in $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.6
in $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.7
in $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-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

GPT-4.1

gpt-4.1
in $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-mini
in $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-nano
in $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-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
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
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
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
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
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
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
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
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-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
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-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
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-120b
in $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-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 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

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

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 128E Instruct FP8

meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8
in $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

o3
in $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-mini
in $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-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: 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-instruct
in $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-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

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

Route LLM

route-llm
in $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