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.22/M
out $0.66/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
DeepSeek V4 Flash Vision Exp
deepseek-v4-flash-vision-expin $0.22/M
out $0.66/M
cache read $0.01/M
ctx: 1,000,000
max out: 384,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek V4 Pro (New)
deepseek-v4-proin $0.66/M
out $1.98/M
cache read $0.02/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
GLM-5.3
glm-5.3in $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
GPT-5.6 Luna
gpt-5.6-lunain $0.20/M
out $1.20/M
cache read $0.02/M
cache write $0.25/M
ctx: 1,050,000
max out: 128,000
in: text, image, pdf
out: text
reasoning
tools
vision
structured
temp
open weights
Grok 4.5
grok-4.5in $2.00/M
out $6.00/M
cache read $0.50/M
ctx: 500,000
max out: 500,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Hy3 (8x usage)
hy3in $0.02/M
out $0.07/M
cache read $0.00/M
ctx: 256,000
max out: 64,000
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
Kimi K3
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
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 $0.43/M
out $0.87/M
cache read $0.00/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
minimax-m3in $0.30/M
out $1.20/M
cache read $0.06/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.2 Contributor
muse-spark-1.2-contributorin $0.10/M
out $0.20/M
cache read $0.00/M
ctx: 1,048,576
max out: 131,072
in: text, image, video, pdf, audio
out: text
reasoning
tools
vision
structured
temp
open weights
Ox Alpha Free (Unlimited)
ox-alpha-freein $0.00/M
out $0.00/M
cache read $0.00/M
ctx: 1,000,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
Qwen3.8 Max
qwen3.8-maxin $2.00/M
out $6.00/M
cache read $0.25/M
cache write $2.50/M
ctx: 1,000,000
max out: 131,072
in: text, image, video
out: text
reasoning
tools
vision
structured
temp
open weights