Add nano-gpt.com as a provider

This commit is contained in:
0xGingi committed 2026-01-25 12:55:26 -05:00
1 parent c8063bdcd8
commit 45b353d39a
21 files changed
+535 -2

No files matched your search

+28
View File
@@ -157,6 +157,34 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
}
```
### NanoGPT
NanoGPT exposes OpenAI-compatible endpoints:
- Provider: `nanogpt`
- Auth: `NANOGPT_API_KEY`
- Example model: `nanogpt/zai-org/glm-4.7`
- CLI: `clawdbot onboard --auth-choice nanogpt-api-key`
```json5
{
agents: {
defaults: { model: { primary: "nanogpt/zai-org/glm-4.7" } }
},
models: {
mode: "merge",
providers: {
nanogpt: {
baseUrl: "https://nano-gpt.com/api/v1",
apiKey: "${NANOGPT_API_KEY}",
api: "openai-completions",
models: [{ id: "zai-org/glm-4.7", name: "GLM 4.7" }]
}
}
}
}
```
### Kimi Code
Kimi Code uses a dedicated endpoint and key (separate from Moonshot):