AIHubMix

[PROVIDER]
id: aihubmix
npm: @aihubmix/ai-sdk-provider
env: AIHUBMIX_API_KEY

Models

Claude Opus 4.6

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.6 Thinking

claude-opus-4-6-think
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

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.7 Thinking

claude-opus-4-7-think
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 Sonnet 4.6

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

Claude Sonnet 4.6 Thinking

claude-sonnet-4-6-think
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

Coding GLM 5.1

coding-glm-5.1
in $0.06/M
out $0.22/M
cache read $0.01/M
ctx: 200,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

Coding GLM 5.1 (free)

coding-glm-5.1-free
in $0.00/M
out $0.00/M
ctx: 200,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

Coding MiniMax M2.7

coding-minimax-m2.7
in $0.20/M
out $0.20/M
ctx: 204,800 max out: 128,100 in: text out: text
reasoning tools vision structured temp open weights

Coding MiniMax M2.7 (Free)

coding-minimax-m2.7-free
in $0.00/M
out $0.00/M
ctx: 204,800 max out: 128,100 in: text out: text
reasoning tools vision structured temp open weights

Coding MiniMax M2.7 Highspeed

coding-minimax-m2.7-highspeed
in $0.20/M
out $0.20/M
ctx: 204,800 max out: 128,100 in: text out: text
reasoning tools vision structured temp open weights

Coding Xiaomi MiMo-V2.5

coding-xiaomi-mimo-v2.5
in $0.08/M
out $0.40/M
cache read $0.02/M
ctx: 1,048,576 max out: 131,072 in: text, image, audio, video out: text
reasoning tools vision structured temp open weights

Coding Xiaomi MiMo-V2.5-Pro

coding-xiaomi-mimo-v2.5-pro
in $0.20/M
out $0.60/M
cache read $0.04/M
ctx: 1,048,576 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Flash (Alibaba Cloud)

alicloud-deepseek-v4-flash
in $0.14/M
out $0.28/M
cache read $0.03/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Flash (DeepSeek)

deep-deepseek-v4-flash
in $0.15/M
out $0.31/M
cache read $0.03/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Pro (Alibaba Cloud)

alicloud-deepseek-v4-pro
in $1.69/M
out $3.38/M
cache read $0.13/M
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Pro (DeepSeek)

deep-deepseek-v4-pro
in $0.48/M
out $0.96/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

Doubao Seed 2.0 Code Preview

doubao-seed-2-0-code-preview
in $0.48/M
out $2.41/M
cache read $0.10/M
ctx: 256,000 max out: 128,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Doubao Seed 2.0 Lite 260428

doubao-seed-2-0-lite-260428
in $0.08/M
out $0.51/M
cache read $0.02/M
ctx: 256,000 max out: 128,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Doubao Seed 2.0 Mini 260428

doubao-seed-2-0-mini-260428
in $0.03/M
out $0.28/M
cache read $0.01/M
ctx: 256,000 max out: 128,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Doubao Seed 2.0 Pro

doubao-seed-2-0-pro
in $0.48/M
out $2.41/M
cache read $0.10/M
ctx: 256,000 max out: 128,000 in: text, image, video 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, 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
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

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

Gemini 3.1 Pro Preview Custom Tools

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

GLM 5 Vision Turbo

glm-5v-turbo
in $0.70/M
out $3.10/M
cache read $0.17/M
ctx: 200,000 max out: 128,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

GLM-5.1 (Alibaba Cloud)

alicloud-glm-5.1
in $0.84/M
out $3.38/M
cache read $0.17/M
cache write $1.06/M
ctx: 200,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.1 (Z.ai)

zai-glm-5.1
in $0.84/M
out $3.38/M
cache read $0.18/M
ctx: 200,000 max out: 128,000 in: text out: text
reasoning tools vision structured temp open weights

GLM-5.2

glm-5.2
in $1.13/M
out $3.94/M
cache read $0.28/M
ctx: 1,000,000 max out: 128,000 in: text 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 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 mini

gpt-5.1-codex-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.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 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, pdf 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.17/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: 1,050,000 max out: 128,000 in: text, image, pdf 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.5

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.3

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

Kimi K2.5

kimi-k2.5
in $0.60/M
out $3.00/M
cache read $0.10/M
ctx: 262,144 max out: 32,768 in: text, image, video out: text
reasoning tools vision structured temp open weights

Kimi K2.6

kimi-k2.6
in $0.95/M
out $4.00/M
cache read $0.16/M
ctx: 262,144 max out: 32,768 in: text, image, video out: text
reasoning tools vision structured temp open weights

MiniMax M2.7

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

Qwen3.6 Flash

qwen3.6-flash
in $0.17/M
out $1.01/M
cache read $0.02/M
cache write $0.21/M
ctx: 991,000 max out: 64,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Qwen3.6 Max Preview

qwen3.6-max-preview
in $1.27/M
out $7.61/M
cache read $0.13/M
cache write $1.58/M
ctx: 240,000 max out: 64,000 in: text out: text
reasoning tools vision structured temp open weights

Qwen3.6 Plus

qwen3.6-plus
in $0.28/M
out $1.69/M
cache read $0.03/M
cache write $0.35/M
ctx: 991,000 max out: 64,000 in: text, image, video out: text
reasoning tools vision structured temp open weights

Qwen3.7 Max

qwen3.7-max
in $1.69/M
out $5.07/M
cache read $0.17/M
cache write $2.11/M
ctx: 991,000 max out: 64,000 in: text out: text
reasoning tools vision structured temp open weights

Qwen3.7 Plus

qwen3.7-plus
in $0.28/M
out $1.13/M
cache read $0.06/M
cache write $0.35/M
ctx: 991,000 max out: 64,000 in: text out: text
reasoning tools vision structured temp open weights

Xiaomi MiMo-V2.5

xiaomi-mimo-v2.5
in $0.44/M
out $2.20/M
cache read $0.09/M
ctx: 1,048,576 max out: 131,072 in: text, image, audio, video out: text
reasoning tools vision structured temp open weights

Xiaomi MiMo-V2.5 (free)

xiaomi-mimo-v2.5-free
in $0.00/M
out $0.00/M
cache read $0.00/M
ctx: 1,048,576 max out: 131,072 in: text, image, audio, video out: text
reasoning tools vision structured temp open weights

Xiaomi MiMo-V2.5-Pro

xiaomi-mimo-v2.5-pro
in $1.10/M
out $3.30/M
cache read $0.22/M
ctx: 1,048,576 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights

Xiaomi MiMo-V2.5-Pro (free)

xiaomi-mimo-v2.5-pro-free
in $0.00/M
out $0.00/M
cache read $0.00/M
ctx: 1,048,576 max out: 131,072 in: text out: text
reasoning tools vision structured temp open weights