2.3 KiB
2.3 KiB
| summary | read_when | ||
|---|---|---|---|
| Use Chutes AI with Clawdbot |
|
Chutes AI
Chutes provides high-performance inference for open-weight models, including GLM 4.6 TEE. Clawdbot supports Chutes via both OAuth and API key authentication.
CLI setup
To configure Chutes with an API key:
clawdbot onboard --auth-choice chutes-api-key
# or non-interactive
clawdbot onboard --chutes-api-key "$CHUTES_API_KEY"
To configure Chutes with OAuth (browser-based):
clawdbot onboard --auth-choice chutes
OAuth allows you to use your Chutes account without manually managing API keys. Clawdbot uses the standard Sign in with Chutes flow.
OAuth Scopes
Clawdbot requests the following scopes by default:
openid(Required for authentication)profile(Access to username)chutes:invoke(Required to make AI API calls on your behalf)
Custom OAuth App (Advanced)
If you wish to use your own OAuth application instead of the default, set these environment variables before running onboarding:
CHUTES_CLIENT_ID: Your OAuth client IDCHUTES_CLIENT_SECRET: Your OAuth client secret (if applicable)CHUTES_OAUTH_REDIRECT_URI: Your redirect URI (default:http://127.0.0.1:1456/oauth-callback)
Config snippet
{
env: { CHUTES_API_KEY: "sk-..." },
agents: { defaults: { model: { primary: "chutes/zai-org/GLM-4.6-TEE" } } },
models: {
providers: {
chutes: {
baseUrl: "https://llm.chutes.ai/v1",
api: "openai-completions",
apiKey: "${CHUTES_API_KEY}"
}
}
}
}
Notes
- Chutes models are available under the
chutes/provider prefix. - The default model is
chutes/zai-org/GLM-4.6-TEE. - Chutes uses OpenAI-compatible endpoints.
- Many top models on Chutes support tool calling, including:
Qwen/Qwen3-235B-A22B-Instruct-2507-TEEdeepseek-ai/DeepSeek-V3.2-TEEchutesai/Mistral-Small-3.1-24B-Instruct-2503NousResearch/Hermes-4-14B
- For a full list of available models, see the Chutes Models API. Popular models include:
deepseek-ai/DeepSeek-V3.2-TEEQwen/Qwen3-235B-A22B-Instruct-2507-TEEmistralai/Mistral-Small-24B-Instruct-2501-TEENousResearch/Hermes-4-14B