DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add providers and client keys behind one gateway with Oh My Cpa

Configure AI providers and named client keys once, then point every client at CPA.

Short answer: Complete the install from the Compose guide and sign in at http://127.0.0.1:8080/omc/ with the CPA_MANAGEMENT_KEY value from .env; then add an AI provider in the console and set its priority and enable switch; create a client key in the console and give it a name so it appears in request records. All steps.

Credentials. Client keys and provider credentials grant access to paid model usage, so store them carefully and revoke any key that leaks.

Who it is forA developer who wants several apps or teammates to use the same set of AI providers through one endpoint.

The problemEach provider has its own credentials, models and limits, and sharing them safely across clients is error-prone.

The outcomeProviders are enabled in the console, each client has its own named key, and clients send requests to CPA at http://127.0.0.1:8317.

What you need first

  • Docker Engine with the Compose plugin and CLIProxyAPI v8.0.0 or later, or a native executable with CPA installed separately
  • A Linux or macOS shell with curl and openssl for the Docker path
  • A place to keep the .env file, since OMCPA_MASTER_KEY encrypts the database and cannot be recovered without it

Steps

  1. Complete the install from the Compose guide and sign in at http://127.0.0.1:8080/omc/ with the CPA_MANAGEMENT_KEY value from .env.
  2. Add an AI provider in the console and set its priority and enable switch.
  3. Create a client key in the console and give it a name so it appears in request records.
  4. Point each client at http://127.0.0.1:8317 and send a test request from the Playground.

Prompt for your agent

In the Oh My CPA console at http://127.0.0.1:8080/omc/, add one <provider-name> provider and one client key named <client-name>. Report the provider's status and the key name. Verify with a Playground request that the routed model answers before you finish.

Caveat. The README describes clients sending requests to CPA at http://127.0.0.1:8317 for the local Compose install, so other network setups need the reaching CPA guide.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for WizisCool/oh-my-cpa and "Add providers and client keys behind one gateway"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer