AI Providers Workspace
The AI Providers workspace at/cliproxy/ai-providers is the dashboard surface
for API-key and connector-based upstream routes inside CLIProxy. It is the
place to manage non-OAuth provider families that still belong to the proxy
layer.
Access
Source Modes
The page always shows where it is reading and writing provider definitions:| Mode | What it means |
|---|---|
Local CLIProxy | entries come from the local CLIProxy config and are written back into the local top-level YAML sections |
Remote CLIProxy | entries are managed through the remote proxy’s management API using the configured management auth |
Provider Families
| Family | Route path | Typical use |
|---|---|---|
| Gemini | /api/provider/gemini | Google Gemini API keys plus optional route defaults |
| Codex | /api/provider/codex | OpenAI or Codex API keys and endpoint overrides |
| Claude | /api/provider/claude | Anthropic-compatible routes, aliases, and filters |
| Vertex | /api/provider/vertex | Vertex AI keys and regional endpoint overrides |
| OpenAI-Compatible | /api/provider/openai-compat | named connectors for OpenRouter, Together, and custom OpenAI-style APIs |
Workspace Layout
Family Rail
The family rail shows readiness at a glance:- Ready means all required secrets are present
- Needs attention means the family has entries but at least one is incomplete
- Empty means no saved entries yet
Saved Entries
After choosing a family, the middle list shows the saved entry or entries for that family, including routing mode and whether secrets are configured.Editor
The editor is split into two views:- Config / Usage for guided fields and routing explanations
- Raw JSON / Preview for the payload and resulting environment snapshot
Routing Modes
Entries can stay minimal or become more advanced:| Mode | Trigger | Use it when |
|---|---|---|
| Default runtime | no override fields | the provider family default is already correct |
| Direct upstream | base-url only | you want the route to hit a specific upstream endpoint |
| Prefixed route | prefix set | requested model names need a stable prefix rewrite |
| Proxy override | proxy-url set | traffic should pass through another proxy before reaching the upstream |
API Profiles Vs AI Providers
Use the AI Providers workspace when the route should stay inside CLIProxy. Use API Profiles when you want a CCS-native profile with its own.settings.json, presets, and direct
runtime selection.
