Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs-site/src/content/docs/guides/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,3 +484,16 @@ If a provider speaks Chat Completions, the `openai-chat` adapter handles it —
dashboard or `custom` in `ocx init` and enter the base URL. See the
[Configuration reference](/reference/configuration/) for every provider field
(`headers`, `noReasoningModels`, `noVisionModels`, `models`, …).

## Rate limits in the providers overview

The **Rate limits** section of the Providers overview shows live utilization
bars refreshed from each provider's own usage/billing endpoint when one exists.
The bars show how much of a window (5-hour, weekly, monthly, or
provider-specific) is already consumed.

Providers with a live probe: OpenAI/Codex, Anthropic, xAI, Cursor, Kimi,
Google Antigravity, OpenRouter, DeepSeek, ClinePass, Z.AI, MiniMax,
Moonshot, Venice, Synthetic, DeepInfra, Neuralwatt, and any a6api-backed
custom provider.

7 changes: 5 additions & 2 deletions gui/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"@types/node": "^24.12.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"@vitejs/plugin-react": "^6.0.5",
"eslint": "^10.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.6.0",
"happy-dom": "20.11.1",
"react-refresh": "^0.18.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.59.2",
"vite": "^8.1.0"
Expand Down
6 changes: 5 additions & 1 deletion src/providers/derive.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import type { CodexAccountMode, OcxProviderConfig } from "../types";
import { PROVIDER_REGISTRY, providerMatchesRegistryTransport, type ProviderRegistryEntry } from "./registry";
import {
PROVIDER_REGISTRY,
providerMatchesRegistryTransport,
type ProviderRegistryEntry,
} from "./registry";

export interface DerivedKeyLoginProvider {
label: string;
Expand Down
Loading
Loading