| summary | Qoder provider: browser/manual cookie setup for big model credit usage on qoder.com and qoder.com.cn. | |||
|---|---|---|---|---|
| read_when |
|
CodexBar reads Qoder big model credit usage from the Qoder account dashboard. It supports the international
qoder.com site and the China mainland qoder.com.cn site.
- Open Settings -> Providers.
- Enable Qoder.
- Sign in to qoder.com or qoder.com.cn in Chrome.
- Leave Cookie source on Automatic, or switch to Manual. For
qoder.com, paste aCookie:header or a cURL/ HTTP request capture from the usage page. Forqoder.com.cn, paste a request capture that includes the China URL orHostheader so CodexBar can select the matching site.
Bare Cookie: headers default to qoder.com. Request captures are parsed only when the target URL or header host
clearly belongs to qoder.com or qoder.com.cn.
CodexBar requests:
GET https://qoder.com/api/v2/me/usages/big_model_creditsGET https://qoder.com.cn/api/v2/me/usages/big_model_credits
The selected site controls the Origin and Referer headers. Automatic mode imports Qoder cookies from Chrome
and caches valid cookie headers. Invalid cached sessions are skipped so a fresh browser cookie can be retried.
- Shows used credits, total credits, and usage percentage.
- Merges
totalQuotawithsharedQuotawhen Qoder returns both. - Uses
nextResetAtwhen the API includes a reset timestamp. - Token-cost history is not supported.
codexbar usage --provider qoder --verboseSign in to Qoder in Chrome, then refresh CodexBar. If browser import is unavailable, switch to manual mode. Paste a
fresh Cookie: header for qoder.com; for qoder.com.cn, paste a cURL/HTTP request capture containing the China URL
or Host header.
Log in to Qoder again. CodexBar clears invalid cached cookies and retries fresh browser cookies in automatic mode.
Open the matching Qoder usage page and confirm whether the account is on qoder.com or qoder.com.cn; manual cURL
captures should come from the same site.
Sources/CodexBarCore/Providers/Qoder/QoderProviderDescriptor.swiftSources/CodexBarCore/Providers/Qoder/QoderUsageFetcher.swiftSources/CodexBarCore/Providers/Qoder/QoderUsageSnapshot.swiftSources/CodexBarCore/Providers/Qoder/QoderCookieImporter.swiftSources/CodexBar/Providers/Qoder/QoderProviderImplementation.swift