Skip to main content

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

ccs config
# Sidebar -> CLIProxy -> AI Providers
# Direct route -> /cliproxy/ai-providers

Source Modes

The page always shows where it is reading and writing provider definitions:
ModeWhat it means
Local CLIProxyentries come from the local CLIProxy config and are written back into the local top-level YAML sections
Remote CLIProxyentries are managed through the remote proxy’s management API using the configured management auth

Provider Families

FamilyRoute pathTypical use
Gemini/api/provider/geminiGoogle Gemini API keys plus optional route defaults
Codex/api/provider/codexOpenAI or Codex API keys and endpoint overrides
Claude/api/provider/claudeAnthropic-compatible routes, aliases, and filters
Vertex/api/provider/vertexVertex AI keys and regional endpoint overrides
OpenAI-Compatible/api/provider/openai-compatnamed 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
The preview includes a global-env indicator so you can see what the connector would inject before saving it.

Routing Modes

Entries can stay minimal or become more advanced:
ModeTriggerUse it when
Default runtimeno override fieldsthe provider family default is already correct
Direct upstreambase-url onlyyou want the route to hit a specific upstream endpoint
Prefixed routeprefix setrequested model names need a stable prefix rewrite
Proxy overrideproxy-url settraffic should pass through another proxy before reaching the upstream
Headers, excluded models, and explicit model aliases are available for edge cases, but they are not the minimum working setup.

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.