Skip to main content

vtcode_config/constants/models/
opencode_go.rs

1// OpenCode Go models (low-cost subscription)
2// https://opencode.ai/docs/go/
3pub const DEFAULT_MODEL: &str = KIMI_K2_5;
4
5pub const GLM_5_1: &str = "glm-5.1";
6pub const GLM_5: &str = "glm-5";
7pub const KIMI_K2_5: &str = "kimi-k2.5";
8pub const MIMO_V2_PRO: &str = "mimo-v2-pro";
9pub const MIMO_V2_OMNI: &str = "mimo-v2-omni";
10pub const MINIMAX_M2_7: &str = "minimax-m2.7";
11pub const MINIMAX_M2_5: &str = "minimax-m2.5";
12pub const QWEN3_6_PLUS: &str = "qwen3.6-plus";
13pub const QWEN3_5_PLUS: &str = "qwen3.5-plus";
14
15pub const MESSAGES_API_MODELS: &[&str] = &[MINIMAX_M2_7, MINIMAX_M2_5];
16pub const CHAT_COMPLETIONS_MODELS: &[&str] = &[
17    GLM_5_1,
18    GLM_5,
19    KIMI_K2_5,
20    MIMO_V2_PRO,
21    MIMO_V2_OMNI,
22    QWEN3_6_PLUS,
23    QWEN3_5_PLUS,
24];
25
26// Curated models VT Code currently exposes in config flows and ModelId metadata.
27pub const CONFIGURED_MODELS: &[&str] = &[GLM_5_1, KIMI_K2_5, MINIMAX_M2_5, MINIMAX_M2_7];
28
29pub const SUPPORTED_MODELS: &[&str] = &[
30    GLM_5_1,
31    GLM_5,
32    KIMI_K2_5,
33    MIMO_V2_PRO,
34    MIMO_V2_OMNI,
35    MINIMAX_M2_7,
36    MINIMAX_M2_5,
37    QWEN3_6_PLUS,
38    QWEN3_5_PLUS,
39];
40pub const REASONING_MODELS: &[&str] = &[];