Skip to content

oh-my-cpa

Self-hosted web console for monitoring and routing traffic through CLIProxyAPI

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

82

Health

Thriving

Overview

Stars

487

Last commit

today

Nov 2026

Repository age

2 months

since Sep 2026

Latest version

v0.4.13

Nov 2026

Contributors

–

3 active in 90 days

Releases

25

last 12 months

Docker pulls

33k

wiziscool/oh-my-cpa

Language

TypeScript

Oh My CPA is a web console and observability layer for CLIProxyAPI v8 and newer. It collects providers, OAuth accounts, routing and usage records in one interface with desktop and mobile layouts.

You can filter request records by model, provider, key, status and cost, and compare usage across keys and models. Pricing uses an OpenRouter price book with channel multipliers and custom tiers, shown in 11 display currencies. It manages Codex, Claude, Gemini, xAI, Vertex AI, DeepSeek and OpenAI-compatible providers, and tracks OAuth quota windows. A built-in agent and MCP interface can query usage and operate the console, with human approval for actions.

Secrets are stored with AES-GCM encryption, and configuration changes get a backup first. The backend is Go with an embedded React front end and SQLite. Deploy with the Docker Compose stack, next to an existing CLIProxyAPI, or as native binaries for macOS, Windows, Linux and FreeBSD. It is MIT licensed.

Who it's for

People running CLIProxyAPI for several AI providers

It adds request records, cost analytics and quota tracking on top of the proxy.

Skip if: You do not use CLIProxyAPI v8 or newer.

Teams watching LLM spend per key and model

Price matching and insights break usage down by key, model and provider.

Skip if: You need a standalone gateway that does not depend on another proxy.

The problem it solves

When one proxy fronts many AI providers and OAuth accounts, it is hard to see who used what and what it cost. This console shows requests, quota and cost in one place.

Strengths

  • Request records filterable by model, provider, key, status and cost
  • OpenRouter-based price matching with 11 display currencies
  • AES-GCM secret storage and pre-write config backups
  • Docker Compose stack or native binaries on four operating systems
  • MIT license; 24 releases in the last year

Trade-offs

  • Requires CLIProxyAPI v8 or newer
  • Young project, still at version 0.x
  • Keep the master key backed up, or stored credentials cannot be decrypted

Self-host oh-my-cpa

Self-hostable
Yes
Docker image
wiziscool/oh-my-cpa

Quick start

mkdir -p oh-my-cpa && cd oh-my-cpa
curl -fsSL https://github.com/WizisCool/oh-my-cpa/releases/latest/download/compose.full.yml -o compose.yml
curl -fsSL https://github.com/WizisCool/oh-my-cpa/releases/latest/download/cpa.config.example.yaml -o config.yaml
printf 'CPA_MANAGEMENT_KEY=%s\nOMCPA_MASTER_KEY=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -hex 32)" > .env
docker compose up -d

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Can I self-host it?

Yes. Use the Docker Compose stack or native binaries.

Does it work without CLIProxyAPI?

No. It is built as a console for CLIProxyAPI v8 and newer.

What license does it use?

MIT.

Which platforms have binaries?

macOS, Windows, Linux and FreeBSD on amd64 and arm64.

Similar tools in LLM gateways and routers

agentgateway

LLM gateways and routers

Rust proxy that routes and secures LLM, MCP and agent-to-agent traffic

6.4k 1.1k today Thriving Apache-2.0

busbar

LLM gateways and routers

Self-hosted Rust gateway routing LLM traffic with budgets, failover and audit logs

241 25 2 months ago Active Apache-2.0

Replaces OpenRouter

optillm

LLM gateways and routers

OpenAI-compatible proxy that adds reasoning techniques like MOA and MCTS to any LLM

4.3k 399 8 days ago Thriving Apache-2.0

webchat2api

LLM gateways and routers

398 83 6 months ago Slowing MIT

WindsurfAPI

LLM gateways and routers

3.2k 628 today Thriving MIT

octopus

LLM gateways and routers

2.8k 447 yesterday Thriving AGPL-3.0