| summary | Abacus AI provider: browser cookie auth for ChatLLM/RouteLLM compute credit tracking. | |||
|---|---|---|---|---|
| read_when |
|
The Abacus AI provider tracks ChatLLM/RouteLLM compute credit usage via browser cookie authentication.
- Monthly credit gauge: Shows credits used vs. plan total with pace tick indicator.
- Reserve/deficit estimate: Projected credit usage through the billing cycle.
- Reset timing: Displays the next billing date from the Abacus billing API.
- Subscription tiers: Detects Basic and Pro plans.
- Cookie auth: Automatic browser cookie import (Safari, Chrome, Firefox) or manual cookie header.
- Open Settings → Providers
- Enable Abacus AI
- Log in to apps.abacus.ai in your browser
- Cookie import happens automatically on the next refresh
- In Settings → Providers → Abacus AI, set Cookie source to Manual
- Open your browser DevTools on
apps.abacus.ai, copy theCookie:header from any API request - Paste the header into the cookie field in CodexBar
Two API endpoints are fetched concurrently using browser session cookies:
GET https://apps.abacus.ai/api/_getOrganizationComputePoints— returnstotalComputePointsandcomputePointsLeft(values are in credit units, no conversion needed).POST https://apps.abacus.ai/api/_getBillingInfo— returnsnextBillingDate(ISO 8601) andcurrentTier(plan name).
Cookie domains: abacus.ai, apps.abacus.ai. Session cookies are validated before use (anonymous/marketing-only cookie sets are skipped). Valid cookies are cached in Keychain and reused until the session expires.
The billing cycle window is set to 30 days for pace calculation.
codexbar usage --provider abacusai --verboseLog in to apps.abacus.ai in a supported browser (Safari, Chrome, Firefox), then refresh CodexBar.
Re-login to Abacus AI. The cached cookie will be cleared automatically and a fresh one imported on the next refresh.
Your session cookies may be invalid. Log out and back in to Abacus AI, or paste a fresh Cookie: header in manual mode.
Verify that your Abacus AI account has an active subscription with compute credits allocated.