You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add latest model definitions across providers
Add new models for OpenAI (gpt-4.1, gpt-5.2, codex-mini, o1/o3/o4-mini),
Gemini (2.5 stable, 2.5-flash-lite, 3-flash-preview), Mistral (devstral,
magistral, ministral, mistral-nemo), xAI (grok-4-fast, grok-4-1-fast,
grok-3-fast), and Bedrock (Claude 4.5/4.6, Nova, Llama 4, DeepSeek).
Update tool support and reasoning detection for the new model families.
* Add Z.ai (GLM) provider, Kimi K2/K2.5 models, and fix OpenRouter tool support bug
- Add Z.ai as a new provider with GLM-5, GLM-4.7, GLM-4-plus, GLM-4.5 models
- Add Kimi K2 and K2.5 model packages to Moonshot provider
- Fix variable shadowing bug in OpenRouter tool support where loop
variables shadowed the outer model parameter, causing specificModels
and supportedContains checks to always return true
- Add moonshotai/kimi and zai-org/glm to OpenRouter supported prefixes
- Add Z.ai and Moonshot to docs navigation
* Clean up unnecessary import aliases for zAI
* Add Z.ai Coding Plan endpoint note to docs
* Replace placeholder zai.png icon with proper zAI.svg
* Add zAI provider to openai-adapters
* Fix Z.ai API key URL
Copy file name to clipboardExpand all lines: docs/customize/model-providers/more/moonshot.mdx
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: "Moonshot AI"
3
-
description: "Configure Moonshot AI's language models with Continue, including setup instructions for their 8K, 32K, and 128K context window models with competitive pricing"
3
+
description: "Configure Moonshot AI's language models with Continue, including Kimi K2, Kimi K2.5, and Moonshot v1 models with competitive pricing"
4
4
---
5
5
6
-
[Moonshot AI](https://platform.moonshot.cn/) provides high-quality large language model services with competitive pricing and excellent performance.
6
+
[Moonshot AI](https://platform.moonshot.cn/) provides high-quality large language model services with competitive pricing and excellent performance, including the Kimi series of models.
7
7
8
8
## Configuration
9
9
@@ -20,20 +20,20 @@ To use Moonshot AI models, you need to:
20
20
schema: v1
21
21
22
22
models:
23
-
- name: Moonshot
23
+
- name: Kimi K2
24
24
provider: moonshot
25
-
model: moonshot-v1-8k
25
+
model: kimi-k2
26
26
apiKey: <YOUR_MOONSHOT_API_KEY>
27
27
```
28
28
</Tab>
29
-
<Tab title="JSON">
29
+
<Tab title="JSON (Deprecated)">
30
30
```json title="config.json"
31
31
{
32
32
"models": [
33
33
{
34
-
"title": "Moonshot",
34
+
"title": "Kimi K2",
35
35
"provider": "moonshot",
36
-
"model": "moonshot-v1-8k",
36
+
"model": "kimi-k2",
37
37
"apiKey": "<YOUR_MOONSHOT_API_KEY>"
38
38
}
39
39
]
@@ -46,6 +46,8 @@ To use Moonshot AI models, you need to:
46
46
47
47
Moonshot AI currently provides the following models:
48
48
49
+
-`kimi-k2`: Kimi K2, a powerful MoE model with 128K context window
50
+
-`kimi-k2.5`: Kimi K2.5, the latest generation with enhanced reasoning and 128K context window
49
51
-`moonshot-v1-8k`: Base model with 8K context window
50
52
-`moonshot-v1-32k`: Base model with 32K context window
51
53
-`moonshot-v1-128k`: Base model with 128K context window
@@ -70,24 +72,24 @@ Here's a complete configuration example:
|`apiBase`| API base URL |`https://api.z.ai/api/paas/v4/`|
55
+
|`model`| Model name to use |`glm-5`|
56
+
57
+
<Tip>
58
+
Z.ai offers a dedicated [Coding Plan](https://docs.z.ai/api-reference/introduction) with a subscription-based endpoint optimized for coding tasks. To use it, set `apiBase` to `https://api.z.ai/api/coding/paas/v4/`. This endpoint uses prompt-based pricing rather than token-based pricing and may be more cost-effective for coding workflows.
0 commit comments