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 MINIMAX_M2_7: &str = "minimax-m2.7";
9pub const MINIMAX_M2_5: &str = "minimax-m2.5";
10pub const QWEN3_6_PLUS: &str = "qwen3.6-plus";
11pub const QWEN3_5_PLUS: &str = "qwen3.5-plus";
12
13pub const MESSAGES_API_MODELS: &[&str] = &[MINIMAX_M2_7, MINIMAX_M2_5];
14pub const CHAT_COMPLETIONS_MODELS: &[&str] =
15    &[GLM_5_1, GLM_5, KIMI_K2_5, QWEN3_6_PLUS, QWEN3_5_PLUS];
16
17// Curated models VT Code currently exposes in config flows and ModelId metadata.
18pub const CONFIGURED_MODELS: &[&str] = &[GLM_5_1, KIMI_K2_5, MINIMAX_M2_5, MINIMAX_M2_7];
19
20pub const SUPPORTED_MODELS: &[&str] = &[
21    GLM_5_1,
22    GLM_5,
23    KIMI_K2_5,
24    MINIMAX_M2_7,
25    MINIMAX_M2_5,
26    QWEN3_6_PLUS,
27    QWEN3_5_PLUS,
28];
29pub const REASONING_MODELS: &[&str] = &[];