Skip to content

Commit 92a2df0

Browse files
committed
docs(providers): add Kimi Code provider page with reasoning effort setting
1 parent 9bc5317 commit 92a2df0

2 files changed

Lines changed: 76 additions & 0 deletions

File tree

docs/providers/index.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
"extension": true,
6767
"cloud": false
6868
},
69+
{
70+
"id": "providers/kimi-code",
71+
"title": "Kimi Code",
72+
"extension": true,
73+
"cloud": false
74+
},
6975
{
7076
"id": "providers/moonshot",
7177
"title": "Moonshot",

docs/providers/kimi-code.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
sidebar_label: Kimi Code
3+
description: Use Kimi's coding models with your Kimi Code subscription (OAuth) or an API key, with configurable reasoning effort.
4+
keywords:
5+
- kimi code
6+
- kimi k3
7+
- moonshot
8+
- zoo code
9+
- api provider
10+
- oauth
11+
- reasoning effort
12+
---
13+
14+
# Kimi Code Provider
15+
16+
Use Kimi's coding models (Kimi K3) through your Kimi Code subscription with OAuth device-flow sign-in, or with a Kimi Code API key. Model metadata is discovered automatically after you authenticate.
17+
18+
:::info Setup Required
19+
1. **Select "Kimi Code"** as your provider in Zoo Code settings
20+
2. **Authenticate**:
21+
- **Kimi Code subscription (OAuth)**: Click "Sign in", then approve the device code shown in Zoo Code at the Kimi authorization page
22+
- **API key**: Paste your Kimi Code API key
23+
3. **Pick a model**: The model list refreshes automatically once you're authenticated
24+
:::
25+
26+
**Website:** [https://www.kimi.com/code](https://www.kimi.com/code)
27+
28+
---
29+
30+
## Available Models
31+
32+
Kimi Code's coding model offers a large context window and up to 32,768 max output tokens. The exact model list is fetched from your account after sign-in; use "Refresh Models" in the provider settings to update it.
33+
34+
---
35+
36+
## Configuration
37+
38+
### Authentication Method
39+
- **Kimi Code subscription (OAuth)**: Device-flow sign-in with automatic token refresh
40+
- **API key**: Direct key-based access
41+
42+
### Reasoning Effort
43+
44+
Kimi K3 always thinks; you control how hard with the **Model Reasoning Effort** dropdown in the provider settings:
45+
46+
- **Low**: Faster responses with reduced reasoning
47+
- **High**: Deeper reasoning
48+
- **Max** (default): Maximum reasoning effort
49+
50+
The selected effort is sent as the `reasoning_effort` parameter on every request. Thinking cannot be turned off for Kimi K3, so there is no "None" option.
51+
52+
---
53+
54+
## Key Features
55+
56+
- **OAuth 2.0 device flow**: Secure sign-in with automatic token refresh and transparent retry on expired tokens
57+
- **API key support**: Alternative authentication for headless setups
58+
- **Automatic model discovery**: Model list and capabilities fetched from your account
59+
- **Configurable reasoning effort**: Low, High, or Max (default Max)
60+
61+
---
62+
63+
## Common Issues
64+
65+
**"Not authenticated with Kimi Code"**
66+
- Sign in from the Kimi Code provider settings (OAuth), or switch to the API key method
67+
68+
**"401 Unauthorized"**
69+
- With OAuth, Zoo Code refreshes the token and retries once automatically
70+
- If it persists, sign out and sign in again

0 commit comments

Comments
 (0)