Self-host Oh My CPA
v0.3.15Control plane & observability for CLIProxyAPI AI gateway
- Stars
- 276
- Port
- 8080 (HTTP console)
- Requires
- CLIProxyAPI (CPA)
wiziscool/oh-my-cpaWhat is Oh My CPA?
Oh My CPA is a self-hosted control plane and observability console for CLIProxyAPI, an AI gateway that handles protocol adaptation, credential storage, and request proxying for LLM providers. It manages providers, credentials, and configuration while recording usage and cost per request. The software runs as a single Go binary with an embedded React console and local SQLite database. It authenticates using CPA's management key. Capabilities include managing AI providers with credentials, model options, retry policies, and enable switches; OAuth management for multiple providers with quota tracking; client API key creation and revocation; a model catalog from upstream providers; a playground for testing routed models with streaming responses; a plugin store and trusted plugin pages; a dashboard showing metrics like request counts, token rates, cache efficiency, and expenses over time; live routing visualization; request records with full-text search and detail drawers; background usage collection; logs and audit trail; request-time cost snapshots using an OpenRouter price book with custom overrides and channel multipliers; dual-mode configuration editor (forms or YAML); automatic encrypted config backups; encryption at rest for credentials and payloads; audited sensitive actions; offline operation with embedded assets; personalization with four languages, light/dark themes, custom palettes, and fonts; an MCP server for external AI agents; and a model playground. Deployment options include Docker Compose (with or alongside CPA), native executables for macOS, Windows, Linux, and FreeBSD (amd64/arm64), and building from source. The console listens on port 8080 by default and serves under the /omc/ sub-path. It requires CPA v8.0.0 or later.
Should you self-host Oh My CPA?
Oh My CPA scores 49/100 on selfhost.directory (how scoring works) and ranks #15 of 19 in API Management. It has 276 GitHub stars.
It shipped 11 stable releases in the past year. The latest, v0.3.15, came out on 28 October 2026. New versions land roughly every 1 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is Kong (81/100, 44 314 stars). It scores higher overall, so compare the two before you pick. See Oh My CPA vs Kong side by side.
Features
- AI Provider Management
- Background Usage Collection
- Client API Key Management
- Custom & Linked Pricing
- Live Routing Visualization
- Logs and Audit Trail
- Model catalog
- Model Playground
- Model Usage Panels
- OAuth credential management
- Observability dashboard
- OpenRouter Price Book
- Plugin Store & Trusted Plugin Pages
- Request Records with Full-Text Search
- Request-Time Cost Snapshots
Oh My CPA README
More in API Management
open-managed-agentsSelf-hosted open-source agent platform managing sessions, execution, recovery. Supports any model, harness, sandbox via Docker, Node.js, Fly.io, Cloudflare.
openmeterOpenMeter is a self-hosted, open-source metering and billing platform for AI and API products that ingests usage events in real time.
OpenWASelf-hosted, open-source WhatsApp API gateway: a REST API plus web dashboard with multi-session support, webhooks and swappable SQLite/PostgreSQL backends.
OtariA self-hosted, open-source LLM gateway that unifies 40+ model providers behind one OpenAI-compatible endpoint, with virtual keys, budget controls, and usage analytics.
PipelexBuild AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
pRESTOpen-source, self-hosted backend that turns a PostgreSQL or MySQL database into instant REST CRUD endpoints, custom SQL routes, JWT auth and a read-only MCP API.
skrunSkrun is a self-hosted agent runtime turning Agent Skills into POST /run APIs. Supports multiple LLMs, MCP, SSE, webhooks, dashboard. MIT, Node.js, SQLite/Postgres
StrapiSelf-hosted, open-source headless CMS built with JavaScript/TypeScript that generates REST and GraphQL APIs from content models, with a customizable admin panel.
supabaseSelf-hosted open-source Postgres platform with database, auth, realtime, storage, edge functions, and vector embeddings as a Firebase alternative.
TykSelf-hosted open-source API and AI gateway proxying REST, GraphQL, gRPC, TCP and MCP traffic with auth, quotas, plugins and analytics.
unkeySource-available developer platform for modern APIs: issue and verify API keys, rate limit at a global gateway, deploy apps, and watch usage from one control plane.
wundergraphOpen-source, self-hosted lifecycle manager for federated GraphQL APIs: schema registry, breaking-change checks, router, usage analytics and tracing.






0 comments