mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-15 20:20:09 +00:00
- Update default GLM model from glm-4.7 to glm-5 across configs, presets, help text, and fallbacks - Add glm-5 pricing entry ($1.00/$3.20 per M tokens, OpenRouter verified) - Fix incorrect glm-4.7 pricing: $0.60/$2.20 -> $0.40/$1.50 (OpenRouter verified) - Fix incorrect glm-4.6 pricing: $0.60/$2.20 -> $0.35/$1.50 (OpenRouter verified) - Fix incorrect glm-4.5 pricing: $0.60/$2.20 -> $0.35/$1.55 (OpenRouter verified) - Keep all previous GLM model entries for backward compatibility Closes #532
18 lines
566 B
JSON
18 lines
566 B
JSON
{
|
|
"env": {
|
|
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/coding/paas/v4/chat/completions",
|
|
"ANTHROPIC_AUTH_TOKEN": "YOUR_GLM_API_KEY_HERE",
|
|
"ANTHROPIC_MODEL": "glm-5",
|
|
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5",
|
|
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5",
|
|
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5",
|
|
"ANTHROPIC_TEMPERATURE": "0.2",
|
|
"ANTHROPIC_MAX_TOKENS": "65536",
|
|
"MAX_THINKING_TOKENS": "32768",
|
|
"ENABLE_STREAMING": "true",
|
|
"ANTHROPIC_SAFE_MODE": "false",
|
|
"API_TIMEOUT_MS": "3000000"
|
|
},
|
|
"alwaysThinkingEnabled": true
|
|
}
|