id: opencode-go
npm: @ai-sdk/openai-compatible
env: OPENCODE_API_KEY
api: https://opencode.ai/zen/go/v1
Models
DeepSeek V4 Flash
deepseek-v4-flashin $0.14/M
out $0.28/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
DeepSeek V4 Pro
deepseek-v4-proin $1.74/M
out $3.48/M
cache read $0.01/M
ctx: 1,000,000
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5
glm-5in $1.00/M
out $3.20/M
cache read $0.20/M
ctx: 202,752
max out: 32,768
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
GLM-5.1
glm-5.1in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 202,752
max out: 32,768
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
GLM-5.2
glm-5.2in $1.40/M
out $4.40/M
cache read $0.26/M
ctx: 1,000,000
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.5
kimi-k2.5in $0.60/M
out $3.00/M
cache read $0.10/M
ctx: 262,144
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Kimi K2.6
kimi-k2.6in $0.95/M
out $4.00/M
cache read $0.16/M
ctx: 262,144
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Kimi K2.7 Code
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
MiMo V2 Omni
mimo-v2-omniin $0.40/M
out $2.00/M
cache read $0.08/M
ctx: 262,144
max out: 128,000
in: text, image, audio, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
MiMo V2 Pro
mimo-v2-proin $1.00/M
out $3.00/M
cache read $0.20/M
ctx: 1,048,576
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
MiMo V2.5
mimo-v2.5in $0.14/M
out $0.28/M
cache read $0.00/M
ctx: 1,000,000
max out: 128,000
in: text, image, audio, video
out: text
reasoning
tools
vision
structured
temp
open weights
MiMo V2.5 Pro
mimo-v2.5-proin $1.74/M
out $3.48/M
cache read $0.01/M
ctx: 1,048,576
max out: 128,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax M2.5
minimax-m2.5in $0.30/M
out $1.20/M
cache read $0.03/M
ctx: 204,800
max out: 65,536
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
MiniMax M2.7
minimax-m2.7in $0.30/M
out $1.20/M
cache read $0.06/M
ctx: 204,800
max out: 131,072
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
MiniMax M3 (3x usage)
minimax-m3in $0.10/M
out $0.40/M
cache read $0.02/M
ctx: 512,000
max out: 131,072
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.5 Plus
qwen3.5-plusin $0.20/M
out $1.20/M
cache read $0.02/M
cache write $0.25/M
ctx: 262,144
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
deprecated
Qwen3.6 Plus
qwen3.6-plusin $0.50/M
out $3.00/M
cache read $0.05/M
cache write $0.63/M
ctx: 1,000,000
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.7 Max
qwen3.7-maxin $2.50/M
out $7.50/M
cache read $0.50/M
cache write $3.13/M
ctx: 1,000,000
max out: 65,536
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Qwen3.7 Plus
qwen3.7-plusin $0.40/M
out $1.60/M
cache read $0.04/M
cache write $0.50/M
ctx: 1,000,000
max out: 65,536
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights