| 1 | //! Static provider model-name and base-URL constants. |
| 2 | //! |
| 3 | //! These are pure data tables (default model identifiers, base URLs, and |
| 4 | //! curated model lists) extracted verbatim from `config.rs` to keep the |
| 5 | //! configuration monolith focused on loading/normalization logic. They are |
| 6 | //! re-exported from `crate::config` via `pub use models::*;`, so every existing |
| 7 | //! `crate::config::<CONST>` path keeps resolving unchanged (#3311). |
| 8 | |
| 9 | pub const DEFAULT_TEXT_MODEL: &str = "deepseek-v4-pro"; |
| 10 | pub const DEFAULT_DEEPSEEK_BASE_URL: &str = "https://api.deepseek.com/beta"; |
| 11 | pub const DEFAULT_DEEPSEEK_ANTHROPIC_MODEL: &str = DEFAULT_TEXT_MODEL; |
| 12 | pub const DEFAULT_DEEPSEEK_ANTHROPIC_BASE_URL: &str = "https://api.deepseek.com/anthropic"; |
| 13 | pub const DEFAULT_NVIDIA_NIM_MODEL: &str = "deepseek-ai/deepseek-v4-pro"; |
| 14 | pub const DEFAULT_NVIDIA_NIM_FLASH_MODEL: &str = "deepseek-ai/deepseek-v4-flash"; |
| 15 | pub const DEFAULT_NVIDIA_NIM_BASE_URL: &str = "https://integrate.api.nvidia.com/v1"; |
| 16 | pub const DEFAULT_OPENAI_MODEL: &str = "deepseek-v4-pro"; |
| 17 | pub const DEFAULT_OPENAI_BASE_URL: &str = "https://api.openai.com/v1"; |
| 18 | pub const DEFAULT_ATLASCLOUD_MODEL: &str = "deepseek-ai/deepseek-v4-flash"; |
| 19 | pub const DEFAULT_ATLASCLOUD_BASE_URL: &str = "https://api.atlascloud.ai/v1"; |
| 20 | pub const DEFAULT_WANJIE_ARK_MODEL: &str = "deepseek-reasoner"; |
| 21 | pub const DEFAULT_VOLCENGINE_MODEL: &str = "DeepSeek-V4-Pro"; |
| 22 | pub const DEFAULT_VOLCENGINE_FLASH_MODEL: &str = "DeepSeek-V4-Flash"; |
| 23 | pub const DEFAULT_VOLCENGINE_BASE_URL: &str = "https://ark.cn-beijing.volces.com/api/coding/v3"; |
| 24 | pub const DEFAULT_WANJIE_ARK_BASE_URL: &str = "https://maas-openapi.wanjiedata.com/api/v1"; |
| 25 | pub const DEFAULT_OPENROUTER_MODEL: &str = "deepseek/deepseek-v4-pro"; |
| 26 | pub const DEFAULT_OPENROUTER_FLASH_MODEL: &str = "deepseek/deepseek-v4-flash"; |
| 27 | pub const OPENROUTER_ARCEE_TRINITY_LARGE_THINKING_MODEL: &str = "arcee-ai/trinity-large-thinking"; |
| 28 | pub const OPENROUTER_GEMMA_4_31B_MODEL: &str = "google/gemma-4-31b-it"; |
| 29 | pub const OPENROUTER_GEMMA_4_26B_A4B_MODEL: &str = "google/gemma-4-26b-a4b-it"; |
| 30 | pub const OPENROUTER_GLM_5_1_MODEL: &str = "z-ai/glm-5.1"; |
| 31 | pub const OPENROUTER_GLM_5_2_MODEL: &str = "z-ai/glm-5.2"; |
| 32 | pub const OPENROUTER_GLM_5_3_MODEL: &str = "z-ai/glm-5.3"; |
| 33 | pub const OPENROUTER_GLM_5_TURBO_MODEL: &str = "z-ai/glm-5-turbo"; |
| 34 | pub const OPENROUTER_KIMI_K2_7_CODE_MODEL: &str = "moonshotai/kimi-k2.7-code"; |
| 35 | pub const OPENROUTER_KIMI_K2_6_MODEL: &str = "moonshotai/kimi-k2.6"; |
| 36 | pub const OPENROUTER_MINIMAX_M3_MODEL: &str = "minimax/minimax-m3"; |
| 37 | pub const OPENROUTER_NEMOTRON_3_NANO_OMNI_MODEL: &str = |
| 38 | "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free"; |
| 39 | pub const OPENROUTER_QWEN_3_6_FLASH_MODEL: &str = "qwen/qwen3.6-flash"; |
| 40 | pub const OPENROUTER_QWEN_3_6_35B_A3B_MODEL: &str = "qwen/qwen3.6-35b-a3b"; |
| 41 | pub const OPENROUTER_QWEN_3_6_MAX_PREVIEW_MODEL: &str = "qwen/qwen3.6-max-preview"; |
| 42 | pub const OPENROUTER_QWEN_3_6_27B_MODEL: &str = "qwen/qwen3.6-27b"; |
| 43 | pub const OPENROUTER_QWEN_3_6_PLUS_MODEL: &str = "qwen/qwen3.6-plus"; |
| 44 | pub const OPENROUTER_QWEN_3_7_PLUS_MODEL: &str = "qwen/qwen3.7-plus"; |
| 45 | pub const OPENROUTER_QWEN_3_7_MAX_MODEL: &str = "qwen/qwen3.7-max"; |
| 46 | pub const OPENROUTER_MINIMAX_M2_7_MODEL: &str = "minimax/minimax-m2.7"; |
| 47 | pub const OPENROUTER_NEMOTRON_3_ULTRA_MODEL: &str = "nvidia/nemotron-3-ultra-550b-a55b"; |
| 48 | pub const OPENROUTER_TENCENT_HY3_PREVIEW_MODEL: &str = "tencent/hy3-preview"; |
| 49 | pub const OPENROUTER_XIAOMI_MIMO_V2_5_PRO_MODEL: &str = "xiaomi/mimo-v2.5-pro"; |
| 50 | pub const OPENROUTER_XIAOMI_MIMO_V2_5_MODEL: &str = "xiaomi/mimo-v2.5"; |
| 51 | pub const RECENT_OPENROUTER_LARGE_MODELS: &[&str] = &[ |
| 52 | OPENROUTER_ARCEE_TRINITY_LARGE_THINKING_MODEL, |
| 53 | OPENROUTER_MINIMAX_M3_MODEL, |
| 54 | OPENROUTER_XIAOMI_MIMO_V2_5_PRO_MODEL, |
| 55 | OPENROUTER_XIAOMI_MIMO_V2_5_MODEL, |
| 56 | OPENROUTER_QWEN_3_6_FLASH_MODEL, |
| 57 | OPENROUTER_QWEN_3_6_35B_A3B_MODEL, |
| 58 | OPENROUTER_QWEN_3_6_MAX_PREVIEW_MODEL, |
| 59 | OPENROUTER_QWEN_3_6_27B_MODEL, |
| 60 | OPENROUTER_QWEN_3_6_PLUS_MODEL, |
| 61 | OPENROUTER_QWEN_3_7_PLUS_MODEL, |
| 62 | OPENROUTER_QWEN_3_7_MAX_MODEL, |
| 63 | OPENROUTER_MINIMAX_M2_7_MODEL, |
| 64 | OPENROUTER_NEMOTRON_3_ULTRA_MODEL, |
| 65 | OPENROUTER_KIMI_K2_7_CODE_MODEL, |
| 66 | OPENROUTER_KIMI_K2_6_MODEL, |
| 67 | OPENROUTER_GLM_5_1_MODEL, |
| 68 | OPENROUTER_GLM_5_2_MODEL, |
| 69 | OPENROUTER_GLM_5_3_MODEL, |
| 70 | OPENROUTER_TENCENT_HY3_PREVIEW_MODEL, |
| 71 | OPENROUTER_GEMMA_4_31B_MODEL, |
| 72 | OPENROUTER_GEMMA_4_26B_A4B_MODEL, |
| 73 | OPENROUTER_NEMOTRON_3_NANO_OMNI_MODEL, |
| 74 | ]; |
| 75 | pub const DEFAULT_OPENROUTER_BASE_URL: &str = "https://openrouter.ai/api/v1"; |
| 76 | pub const DEFAULT_XIAOMI_MIMO_MODEL: &str = "mimo-v2.5-pro"; |
| 77 | pub const XIAOMI_MIMO_V2_5_PRO_ULTRASPEED_MODEL: &str = "mimo-v2.5-pro-ultraspeed"; |
| 78 | pub const XIAOMI_MIMO_PAY_AS_YOU_GO_BASE_URL: &str = "https://api.xiaomimimo.com/v1"; |
| 79 | pub const DEFAULT_XIAOMI_MIMO_BASE_URL: &str = "https://token-plan-sgp.xiaomimimo.com/v1"; |
| 80 | pub const XIAOMI_MIMO_TOKEN_PLAN_CN_BASE_URL: &str = "https://token-plan-cn.xiaomimimo.com/v1"; |
| 81 | pub const XIAOMI_MIMO_TOKEN_PLAN_SGP_BASE_URL: &str = DEFAULT_XIAOMI_MIMO_BASE_URL; |
| 82 | pub const XIAOMI_MIMO_TOKEN_PLAN_AMS_BASE_URL: &str = "https://token-plan-ams.xiaomimimo.com/v1"; |
| 83 | pub const XIAOMI_MIMO_V2_5_OMNI_MODEL: &str = "mimo-v2.5"; |
| 84 | pub const XIAOMI_MIMO_ASR_MODEL: &str = "mimo-v2.5-asr"; |
| 85 | pub const XIAOMI_MIMO_TTS_MODEL: &str = "mimo-v2.5-tts"; |
| 86 | pub const XIAOMI_MIMO_TTS_VOICE_DESIGN_MODEL: &str = "mimo-v2.5-tts-voicedesign"; |
| 87 | pub const XIAOMI_MIMO_TTS_VOICE_CLONE_MODEL: &str = "mimo-v2.5-tts-voiceclone"; |
| 88 | pub const XIAOMI_MIMO_V2_TTS_MODEL: &str = "mimo-v2-tts"; |
| 89 | pub const DEFAULT_NOVITA_MODEL: &str = "deepseek/deepseek-v4-pro"; |
| 90 | pub const DEFAULT_NOVITA_FLASH_MODEL: &str = "deepseek/deepseek-v4-flash"; |
| 91 | pub const DEFAULT_NOVITA_BASE_URL: &str = "https://api.novita.ai/openai/v1"; |
| 92 | pub const DEFAULT_FIREWORKS_MODEL: &str = "accounts/fireworks/models/deepseek-v4-pro"; |
| 93 | pub const DEFAULT_FIREWORKS_BASE_URL: &str = "https://api.fireworks.ai/inference/v1"; |
| 94 | pub const DEFAULT_SILICONFLOW_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 95 | pub const DEFAULT_SILICONFLOW_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 96 | pub const DEFAULT_SILICONFLOW_BASE_URL: &str = "https://api.siliconflow.com/v1"; |
| 97 | pub const DEFAULT_SILICONFLOW_CN_BASE_URL: &str = "https://api.siliconflow.cn/v1"; |
| 98 | pub const DEFAULT_ARCEE_MODEL: &str = "trinity-large-thinking"; |
| 99 | pub const ARCEE_TRINITY_LARGE_PREVIEW_MODEL: &str = "trinity-large-preview"; |
| 100 | pub const ARCEE_TRINITY_MINI_MODEL: &str = "trinity-mini"; |
| 101 | pub const DEFAULT_ARCEE_BASE_URL: &str = "https://api.arcee.ai/api/v1"; |
| 102 | pub const DEFAULT_MOONSHOT_MODEL: &str = "kimi-k2.7-code"; |
| 103 | /// Moonshot's direct pay-as-you-go K3 wire model id. |
| 104 | pub const MOONSHOT_KIMI_K3_MODEL: &str = "kimi-k3"; |
| 105 | pub const MOONSHOT_KIMI_K2_6_MODEL: &str = "kimi-k2.6"; |
| 106 | pub const DEFAULT_MOONSHOT_BASE_URL: &str = "https://api.moonshot.ai/v1"; |
| 107 | pub const DEFAULT_KIMI_CODE_MODEL: &str = "kimi-for-coding"; |
| 108 | pub const DEFAULT_KIMI_CODE_BASE_URL: &str = "https://api.kimi.com/coding/v1"; |
| 109 | pub const KIMI_CODE_MEMBERSHIP_PLAN_CONSOLE_URL: &str = |
| 110 | codewhale_config::provider::KIMI_CODE_MEMBERSHIP_PLAN_CONSOLE_URL; |
| 111 | /// Official Kimi Code route model id. It is deliberately distinct from |
| 112 | /// Moonshot's pay-as-you-go `kimi-k3` catalog id. |
| 113 | pub const KIMI_CODE_K3_MODEL: &str = "k3"; |
| 114 | /// Kimi Code membership high-speed wire model id. Membership route only, not |
| 115 | /// a direct Moonshot platform catalog model. |
| 116 | pub const KIMI_CODE_HIGHSPEED_MODEL: &str = "kimi-for-coding-highspeed"; |
| 117 | // The K3 contract constants (`KIMI_CODE_K3_CONTEXT_WINDOW_TOKENS`, |
| 118 | // `KIMI_K3_CONTEXT_WINDOW_TOKENS`, and the distinct default/direct output |
| 119 | // limits) live in `crate::models` — the model-facts table, which also compiles |
| 120 | // standalone in integration tests — so the facts have exactly one home. |
| 121 | // Re-export only the route-owned floor, which existing `crate::config` call |
| 122 | // sites import. |
| 123 | pub use crate::models::KIMI_CODE_K3_CONTEXT_WINDOW_TOKENS; |
| 124 | pub const DEFAULT_SGLANG_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 125 | pub const DEFAULT_SGLANG_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 126 | pub const DEFAULT_SGLANG_BASE_URL: &str = "http://localhost:30000/v1"; |
| 127 | pub const DEFAULT_VLLM_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 128 | pub const DEFAULT_VLLM_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 129 | pub const DEFAULT_VLLM_BASE_URL: &str = "http://localhost:8000/v1"; |
| 130 | pub const DEFAULT_OLLAMA_MODEL: &str = "deepseek-v4-flash"; |
| 131 | pub const DEFAULT_OLLAMA_BASE_URL: &str = "http://localhost:11434/v1"; |
| 132 | pub const DEFAULT_HUGGINGFACE_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 133 | pub const DEFAULT_HUGGINGFACE_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 134 | pub const DEFAULT_HUGGINGFACE_BASE_URL: &str = "https://router.huggingface.co/v1"; |
| 135 | pub const DEFAULT_DEEPINFRA_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 136 | pub const DEFAULT_DEEPINFRA_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 137 | pub const DEFAULT_DEEPINFRA_BASE_URL: &str = "https://api.deepinfra.com/v1/openai"; |
| 138 | pub const DEFAULT_TOGETHER_MODEL: &str = "deepseek-ai/DeepSeek-V4-Pro"; |
| 139 | pub const DEFAULT_TOGETHER_FLASH_MODEL: &str = "deepseek-ai/DeepSeek-V4-Flash"; |
| 140 | pub const TOGETHER_INKLING_MODEL: &str = "thinkingmachines/inkling"; |
| 141 | pub const DEFAULT_TOGETHER_BASE_URL: &str = "https://api.together.xyz/v1"; |
| 142 | pub const DEFAULT_QIANFAN_MODEL: &str = "ernie-4.0-turbo-8k"; |
| 143 | pub const DEFAULT_QIANFAN_BASE_URL: &str = "https://api.baiduqianfan.ai/v1"; |
| 144 | pub const DEFAULT_OPENAI_CODEX_MODEL: &str = "gpt-5.6"; |
| 145 | pub const DEFAULT_OPENAI_CODEX_BASE_URL: &str = "https://chatgpt.com/backend-api"; |
| 146 | /// Conservative offline floor for an OAuth model absent from a fresh Codex |
| 147 | /// roster. Fresh account-scoped cache metadata overrides this in route_runtime. |
| 148 | pub const OPENAI_CODEX_EFFECTIVE_CONTEXT_WINDOW_TOKENS: u32 = 128_000; |
| 149 | /// Legacy `deepseek-cn` provider alias. |
| 150 | /// |
| 151 | /// DeepSeek's official API host is the same worldwide. Keep this alias for |
| 152 | /// old configs, but route it through the normal beta-enabled DeepSeek default. |
| 153 | /// Legacy typo hostname `api.deepseeki.com` remains recognized in URL |
| 154 | /// heuristics for backward compatibility. |
| 155 | pub const DEFAULT_DEEPSEEKCN_BASE_URL: &str = DEFAULT_DEEPSEEK_BASE_URL; |
| 156 | pub const COMMON_DEEPSEEK_MODELS: &[&str] = &[ |
| 157 | "deepseek-v4-pro", |
| 158 | "deepseek-v4-flash", |
| 159 | "deepseek-ai/deepseek-v4-pro", |
| 160 | "deepseek-ai/deepseek-v4-flash", |
| 161 | "deepseek/deepseek-v4-pro", |
| 162 | "deepseek/deepseek-v4-flash", |
| 163 | ]; |
| 164 | pub const OFFICIAL_DEEPSEEK_MODELS: &[&str] = &["deepseek-v4-pro", "deepseek-v4-flash"]; |
| 165 | pub const DEFAULT_ZAI_MODEL: &str = "GLM-5.2"; |
| 166 | pub const ZAI_GLM_5_1_MODEL: &str = "GLM-5.1"; |
| 167 | pub const ZAI_GLM_5_2_MODEL: &str = "GLM-5.2"; |
| 168 | // TODO(2026-08-03): GLM-5.3 metadata is INHERITED FROM glm-5.2 PENDING OFFICIAL |
| 169 | // Z.AI RELEASE METADATA. The id follows the family's own naming convention; no |
| 170 | // limit, capability, or price here is a vendor-published GLM-5.3 fact. Z.ai's |
| 171 | // live `/models` catalog did not list GLM-5.3 on that date, so the route is |
| 172 | // registered (the alias resolves to Z.ai instead of another vendor's model) |
| 173 | // but will fail upstream until Z.ai ships it. Scope is first-party Z.ai plus |
| 174 | // its OpenRouter mirror only: metadata inheritance is not evidence that a |
| 175 | // third-party gateway carries the model, so no OpenCode Zen / OpenCode Go / |
| 176 | // Model Studio / TelecomJS roster lists it. Correct at the catalog definition |
| 177 | // (crates/config/assets/models_dev.bundled.json) once Z.ai publishes real |
| 178 | // metadata, then re-check every site that greps for this marker. |
| 179 | pub const ZAI_GLM_5_3_MODEL: &str = "GLM-5.3"; |
| 180 | pub const ZAI_GLM_5_TURBO_MODEL: &str = "GLM-5-Turbo"; |
| 181 | pub const DEFAULT_ZAI_BASE_URL: &str = "https://api.z.ai/api/coding/paas/v4"; |
| 182 | pub const DEFAULT_STEPFUN_MODEL: &str = "step-3.7-flash"; |
| 183 | pub const DEFAULT_STEPFUN_BASE_URL: &str = "https://api.stepfun.ai/v1"; |
| 184 | /// StepFun's Step Plan subscription endpoint. Billed against a plan allowance |
| 185 | /// rather than per-token, so it is a separate route from pay-as-you-go and is |
| 186 | /// never inferred — the user picks it during provider setup (#4526). |
| 187 | pub const DEFAULT_STEPFUN_PLAN_BASE_URL: &str = "https://api.stepfun.ai/step_plan/v1"; |
| 188 | pub const DEFAULT_ANTHROPIC_MODEL: &str = "claude-sonnet-4-6"; |
| 189 | pub const ANTHROPIC_OPUS_MODEL: &str = "claude-opus-4-8"; |
| 190 | pub const ANTHROPIC_HAIKU_MODEL: &str = "claude-haiku-4-5"; |
| 191 | pub const DEFAULT_ANTHROPIC_BASE_URL: &str = "https://api.anthropic.com"; |
| 192 | pub const DEFAULT_OPENMODEL_MODEL: &str = "deepseek-v4-flash"; |
| 193 | pub const DEFAULT_OPENMODEL_BASE_URL: &str = "https://api.openmodel.ai"; |
| 194 | pub const DEFAULT_MINIMAX_MODEL: &str = "MiniMax-M3"; |
| 195 | pub const MINIMAX_M2_7_MODEL: &str = "MiniMax-M2.7"; |
| 196 | pub const MINIMAX_M2_7_HIGHSPEED_MODEL: &str = "MiniMax-M2.7-highspeed"; |
| 197 | pub const MINIMAX_M2_5_MODEL: &str = "MiniMax-M2.5"; |
| 198 | pub const MINIMAX_M2_5_HIGHSPEED_MODEL: &str = "MiniMax-M2.5-highspeed"; |
| 199 | pub const MINIMAX_M2_1_MODEL: &str = "MiniMax-M2.1"; |
| 200 | pub const MINIMAX_M2_1_HIGHSPEED_MODEL: &str = "MiniMax-M2.1-highspeed"; |
| 201 | pub const MINIMAX_M2_MODEL: &str = "MiniMax-M2"; |
| 202 | pub const DEFAULT_MINIMAX_BASE_URL: &str = "https://api.minimax.io/v1"; |
| 203 | pub const DEFAULT_MINIMAX_ANTHROPIC_BASE_URL: &str = "https://api.minimax.io/anthropic"; |
| 204 | pub const DEFAULT_SAKANA_MODEL: &str = "fugu"; |
| 205 | pub const SAKANA_FUGU_ULTRA_MODEL: &str = "fugu-ultra-20260615"; |
| 206 | pub const DEFAULT_SAKANA_BASE_URL: &str = "https://api.sakana.ai/v1"; |
| 207 | pub const DEFAULT_LONGCAT_MODEL: &str = "LongCat-2.0"; |
| 208 | pub const DEFAULT_LONGCAT_BASE_URL: &str = "https://api.longcat.chat/openai/v1"; |
| 209 | pub const DEFAULT_OPENCODE_GO_MODEL: &str = "deepseek-v4-pro"; |
| 210 | pub const DEFAULT_OPENCODE_GO_BASE_URL: &str = "https://opencode.ai/zen/go/v1"; |
| 211 | pub use codewhale_config::OPENCODE_GO_CHAT_MODELS; |
| 212 | pub const DEFAULT_OPENCODE_ZEN_MODEL: &str = "gpt-5.6"; |
| 213 | pub const DEFAULT_OPENCODE_ZEN_BASE_URL: &str = "https://opencode.ai/zen/v1"; |
| 214 | pub const DEFAULT_META_MODEL: &str = "muse-spark-1.2"; |
| 215 | pub const DEFAULT_META_BASE_URL: &str = "https://api.meta.ai/v1"; |
| 216 | pub const DEFAULT_XAI_MODEL: &str = "grok-4.5"; |
| 217 | pub const XAI_GROK_4_3_MODEL: &str = "grok-4.3"; |
| 218 | pub const XAI_GROK_BUILD_MODEL: &str = "grok-build"; |
| 219 | pub const XAI_GROK_COMPOSER_2_5_FAST_MODEL: &str = "grok-composer-2.5-fast"; |
| 220 | pub const XAI_GROK_4_20_0309_REASONING_MODEL: &str = "grok-4.20-0309-reasoning"; |
| 221 | pub const XAI_GROK_4_20_0309_NON_REASONING_MODEL: &str = "grok-4.20-0309-non-reasoning"; |
| 222 | pub const DEFAULT_XAI_BASE_URL: &str = "https://api.x.ai/v1"; |
| 223 | pub const DEFAULT_TELECOMJS_MODEL: &str = "deepseek-v4-pro"; |
| 224 | pub const DEFAULT_TELECOMJS_BASE_URL: &str = "https://aigw.telecomjs.com/v1"; |
| 225 | // Alibaba Cloud Model Studio (DashScope) defaults |
| 226 | pub const DEFAULT_MODELSTUDIO_TOKEN_PLAN_MODEL: &str = "qwen3.8-max"; |
| 227 | pub const DEFAULT_MODELSTUDIO_TOKEN_PLAN_BASE_URL: &str = |
| 228 | "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1"; |
| 229 | pub const MODELSTUDIO_TOKEN_PLAN_ANTHROPIC_BASE_URL: &str = |
| 230 | "https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic"; |
| 231 | pub const DEFAULT_MODELSTUDIO_CODING_PLAN_BASE_URL: &str = |
| 232 | "https://coding-intl.dashscope.aliyuncs.com/v1"; |
| 233 | pub const MODELSTUDIO_CODING_PLAN_ANTHROPIC_BASE_URL: &str = |
| 234 | "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic"; |
| 235 |