22// Selectable ids come from live GET /zen/go/v1/models in the host; this
33// packaged list is used when that fetch has not succeeded. Protocol
44// routing stays here. Live ids absent from PROTOCOL_BY_ID use Chat Completions.
5+ // MiniMax and Qwen3.8 Max are messages on Go, unlike Zen chat-completions.
56
67export type GoProtocol = "chat-completions" | "responses" | "messages" ;
78
@@ -12,7 +13,10 @@ interface GoModel {
1213}
1314
1415export const OPENCODE_GO_MODELS = [
15- { id : "grok-4.5" , name : "Grok 4.5" , protocol : "chat-completions" } ,
16+ { id : "grok-4.7" , name : "Grok 4.7" , protocol : "responses" } ,
17+ { id : "grok-4.6" , name : "Grok 4.6" , protocol : "responses" } ,
18+ { id : "grok-4.5" , name : "Grok 4.5" , protocol : "responses" } ,
19+ { id : "gpt-6-luna" , name : "GPT 6 Luna" , protocol : "responses" } ,
1620 { id : "gpt-5.6-luna" , name : "GPT 5.6 Luna" , protocol : "responses" } ,
1721 {
1822 id : "muse-spark-1.3-contributor" ,
@@ -24,6 +28,17 @@ export const OPENCODE_GO_MODELS = [
2428 name : "Muse Spark 1.2 Contributor" ,
2529 protocol : "responses" ,
2630 } ,
31+ { id : "claude-haiku-5-5" , name : "Claude Haiku 5.5" , protocol : "messages" } ,
32+ { id : "minimax-m3" , name : "MiniMax M3" , protocol : "messages" } ,
33+ { id : "minimax-m2.7" , name : "MiniMax M2.7" , protocol : "messages" } ,
34+ { id : "minimax-m2.5" , name : "MiniMax M2.5" , protocol : "messages" } ,
35+ { id : "qwen3.8-max" , name : "Qwen3.8 Max" , protocol : "messages" } ,
36+ { id : "qwen3.8-flash" , name : "Qwen3.8 Flash" , protocol : "messages" } ,
37+ { id : "qwen3.7-max" , name : "Qwen3.7 Max" , protocol : "messages" } ,
38+ { id : "qwen3.7-plus" , name : "Qwen3.7 Plus" , protocol : "messages" } ,
39+ { id : "qwen3.6-plus" , name : "Qwen3.6 Plus" , protocol : "messages" } ,
40+ { id : "glm-5.3-flash" , name : "GLM-5.3-Flash" , protocol : "chat-completions" } ,
41+ { id : "glm-5.3" , name : "GLM-5.3" , protocol : "chat-completions" } ,
2742 { id : "glm-5.2" , name : "GLM-5.2" , protocol : "chat-completions" } ,
2843 { id : "glm-5.1" , name : "GLM-5.1" , protocol : "chat-completions" } ,
2944 { id : "kimi-k3" , name : "Kimi K3" , protocol : "chat-completions" } ,
@@ -33,6 +48,22 @@ export const OPENCODE_GO_MODELS = [
3348 protocol : "chat-completions" ,
3449 } ,
3550 { id : "kimi-k2.6" , name : "Kimi K2.6" , protocol : "chat-completions" } ,
51+ { id : "longcat-2.0" , name : "LongCat-2.0" , protocol : "chat-completions" } ,
52+ {
53+ id : "longcat-2.5-preview-free" ,
54+ name : "LongCat 2.5 Preview Free" ,
55+ protocol : "chat-completions" ,
56+ } ,
57+ {
58+ id : "step-5-preview-free" ,
59+ name : "Step 5 Preview Free" ,
60+ protocol : "chat-completions" ,
61+ } ,
62+ {
63+ id : "deepseek-v4.1-flash" ,
64+ name : "DeepSeek V4.1 Flash" ,
65+ protocol : "chat-completions" ,
66+ } ,
3667 {
3768 id : "deepseek-v4-pro" ,
3869 name : "DeepSeek V4 Pro" ,
@@ -43,16 +74,22 @@ export const OPENCODE_GO_MODELS = [
4374 name : "DeepSeek V4 Flash" ,
4475 protocol : "chat-completions" ,
4576 } ,
77+ {
78+ id : "deepseek-v4-flash-vision-exp" ,
79+ name : "DeepSeek V4 Flash Vision Exp" ,
80+ protocol : "chat-completions" ,
81+ } ,
82+ {
83+ id : "mimo-v2.6-flash" ,
84+ name : "MiMo-V2.6-Flash" ,
85+ protocol : "chat-completions" ,
86+ } ,
87+ { id : "mimo-v2.6-pro" , name : "MiMo-V2.6-Pro" , protocol : "chat-completions" } ,
4688 { id : "mimo-v2.5" , name : "MiMo-V2.5" , protocol : "chat-completions" } ,
4789 { id : "mimo-v2.5-pro" , name : "MiMo-V2.5-Pro" , protocol : "chat-completions" } ,
48- { id : "minimax-m3" , name : "MiniMax M3" , protocol : "messages" } ,
49- { id : "minimax-m2.7" , name : "MiniMax M2.7" , protocol : "messages" } ,
50- { id : "minimax-m2.5" , name : "MiniMax M2.5" , protocol : "messages" } ,
51- { id : "qwen3.8-max" , name : "Qwen3.8 Max" , protocol : "messages" } ,
52- { id : "qwen3.7-max" , name : "Qwen3.7 Max" , protocol : "messages" } ,
53- { id : "qwen3.7-plus" , name : "Qwen3.7 Plus" , protocol : "messages" } ,
54- { id : "qwen3.6-plus" , name : "Qwen3.6 Plus" , protocol : "messages" } ,
90+ { id : "hy4-preview" , name : "Hy4 Preview" , protocol : "chat-completions" } ,
5591 { id : "hy3" , name : "Hy3" , protocol : "chat-completions" } ,
92+ { id : "space-bunny" , name : "Space Bunny" , protocol : "chat-completions" } ,
5693] as const satisfies readonly GoModel [ ] ;
5794
5895export type GoModelId = ( typeof OPENCODE_GO_MODELS ) [ number ] [ "id" ] ;
0 commit comments