| summary | Chutes provider: API key setup, subscription usage, and quota windows. | ||
|---|---|---|---|
| read_when |
|
CodexBar reads subscription and quota usage from Chutes' management API with a manually configured API key.
Chutes' terms are governed by the laws of Nevis, Saint Kitts and Nevis, and its decentralized backend uses independent miners. Its pricing surface has changed over time and should be treated as historically unstable; check the current pricing page before relying on a plan or rate.
Create a Chutes API key using the official authentication guide, then add it in CodexBar Settings → Providers → Chutes.
You can also set the environment variable:
export CHUTES_API_KEY="cpk_..."Or configure it through the CLI:
printf '%s' "$CHUTES_API_KEY" | codexbar config set-api-key --provider chutes --stdinCodexBar requests:
GET https://api.chutes.ai/users/me/subscription_usageGET https://api.chutes.ai/users/me/quotaswhen subscription data does not contain every usage windowGET https://api.chutes.ai/users/me/quota_usage/{chute_id}for quota details when available
All requests use Authorization: Bearer cpk_.... Subscription usage is required; quota-detail requests are best-effort.
The provider prefers the rolling four-hour window as the primary meter and monthly subscription usage as the secondary meter. Accounts without a subscription can still show available pay-as-you-go quota data.
codexbar --provider chutes- Confirm the key can read
https://api.chutes.ai/users/me/subscription_usage. - A
401or403means Chutes rejected the key. CHUTES_API_URLcan override the management API base URL, but CodexBar accepts HTTPS endpoints only.