{"slug": "show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas", "title": "Show HN: Oh-My-CPA – dashboard for all AI subscriptions (usage, cost, quotas)", "summary": "Oh My CPA (OMC), a self-hosted web console and observability layer for CLIProxyAPI v8+, was released as an open-source project on GitHub under the WizisCool repository, offering a dashboard for AI subscription usage, cost and quotas. OMC centralizes API connections, OAuth accounts, visual routing, live SSE request records, OpenRouter-backed pricing analytics across 11 display currencies, quota window warmup, and built-in Agent/MCP workflows, protected by AES-GCM encryption, audit logging and automatic pre-write configuration backups. It deploys alongside CLIProxyAPI v8+ via Docker Compose on port 8080, with clients sending model traffic to CPA at port 8317, and is also available as standalone native binaries for macOS, Windows, Linux and FreeBSD on amd64/arm64.", "body_md": "Management · Routing · Observability · Agent & MCP\n\n**[Live Demo](https://omc.junze.dev/demo/)** ·\n**[Documentation](https://omc.junze.dev/docs/)** ·\n**[API Reference](https://omc.junze.dev/api-reference/)** ·\n[Quick Start](#quick-start) ·\n[Features](#features) ·\n[简体中文](https://github.com/WizisCool/oh-my-cpa/blob/main/README.zh-CN.md)\n\n**Oh My CPA** (OMC) is a self-hosted web console and observability layer for\n[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) **v8+**, built on `shadcn/ui`\nwith desktop and mobile layouts. OMC centralizes API connections, OAuth accounts, visual\nrouting, a plugin ecosystem, live request records, OpenRouter-backed pricing analytics,\nquota window warmup, and built-in Agent/MCP workflows—protected by AES-GCM encryption,\naudit logging, and automatic pre-write configuration backups.\n\nTip\n\nExplore the **[Live Demo](https://omc.junze.dev/demo/)**, browse the **[Documentation Site](https://omc.junze.dev/docs/)**, or inspect the **[API Reference](https://omc.junze.dev/api-reference/)**.\n\n| **Request records** Filter every attempt by model, provider, key, status, and cost | **Model pricing** OpenRouter price book matching, channel multipliers, and custom tiers | \n| **Insights** Compare usage across keys, models, and providers with traffic flows | **Agent & MCP** Query usage and operate the console with human-approved capabilities | \n| **OAuth & quota warmup** Sign in, track window capacity, and schedule quota window warmups | **API Connections** Upstream endpoints, protocols, models, optional keys for compatible endpoints, priority, and enable switches | \n\n**Desktop & mobile**\n\nResponsive operator layouts across every console route\n\nPaste this prompt into Claude Code, Codex, Cursor, or another agent:\n\n```\nInstall Oh My CPA for me by following\nhttps://raw.githubusercontent.com/WizisCool/oh-my-cpa/main/docs/install-for-agents.md\n```\n\nDeploys CLIProxyAPI v8+, Oh My CPA (`10001:10001`, read-only rootfs), and the isolated\ncontainer updater:\n\n```\nmkdir -p oh-my-cpa && cd oh-my-cpa\ncurl -fsSL https://github.com/WizisCool/oh-my-cpa/releases/latest/download/compose.full.yml -o compose.yml\ncurl -fsSL https://github.com/WizisCool/oh-my-cpa/releases/latest/download/cpa.config.example.yaml -o config.yaml\nprintf 'CPA_MANAGEMENT_KEY=%s\\nOMCPA_MASTER_KEY=%s\\n' \"$(openssl rand -hex 24)\" \"$(openssl rand -hex 32)\" > .env\nchmod 600 .env\ndocker compose up -d\n```\n\nOpen **`http://127.0.0.1:8080/`** and sign in with `CPA_MANAGEMENT_KEY` from `.env`.\nClients send model traffic to CPA at `http://127.0.0.1:8317`.\n\nDeploy OMC without modifying or restarting your running CPA instance (`compose.omc.yml`),\ndownload standalone **native binaries** (macOS, Windows, Linux, FreeBSD on amd64/arm64),\nor configure ports, reverse proxies, and host mounts in the **[Installation Guide](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/install.md)**.\n\nImportant\n\nBack up `.env`. `OMCPA_MASTER_KEY` encrypts stored credentials and database secrets.\n\n- **Gateway & Routing** : Manage API connections for Codex, Claude, Gemini, Meta Muse, xAI, Vertex AI, DeepSeek, and OpenAI-compatible endpoints, plus client API keys, OAuth accounts with quota capacity & window warmup, visual routing tiers, Model Playground, and the[OMC-Community plugin registry](https://github.com/omc-community/omc-plugins) .\n- **Observability & Pricing** : Live SSE request streaming and routing map, permanent usage facts, multi-period Insights, OpenRouter price matching with time/tier/channel multipliers, 11 display currencies, and full audit trails.\n- **Configuration & Security** : Dual-mode form/Monaco YAML config editor with pre-write encrypted backups, AES-GCM secret storage, custom palettes & fonts, and safe Agent/MCP capability approvals.\n\n```\nBrowser ──▶ Direct listener / HTTPS ingress ──▶ Oh My CPA (:8080)\n                                                 ├─ Embedded React SPA (/)\n                                                 ├─ SQLite WAL (/data)\n                                                 └─ Usage collector ──▶ CLIProxyAPI (:8317)\n```\n\n- **Single binary** : Embedded SPA + Go control plane, one replica per local SQLite WAL directory.\n- **Isolated updater** : Only`oh-my-cpa-updater` mounts the Docker socket and pulls Ed25519-signed manifests by digest.\n\nRead online at **[omc.junze.dev/docs](https://omc.junze.dev/docs/)** or directly in the repository ([`docs/README.md`](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/README.md)):\n\n| Guide | Topics | \n|---|---|\n| [Quickstart](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/quickstart.md) | Run CPA, OMC and the updater with Docker Compose in about three minutes | \n| [Install with an agent](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/install-for-agents.md) | One prompt for Claude Code, Codex or Cursor | \n| [Install](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/install.md) | Beside an existing CPA, Compose, native binaries, source, HTTPS, upgrades and troubleshooting | \n| [Operations](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/operations.md) | Ports and storage, updates, [backup and restore](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/ops/sqlite-operations.md) , keys and time zone | \n| Features | [Agent and MCP](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/features/agent.md) ,[routing](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/features/routing.md) ,[quota and warmup](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/features/quota.md) ,[pricing](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/pricing.md) ,[playground](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/features/playground.md) ,[plugins](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/features/plugins.md) | \n| Reference | [Environment variables](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/reference/environment.md) ,[CPA v8 contract](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/cpa-v8-compat.md) ,[agent capabilities](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/agent-capabilities.md) | \n| [API Reference](https://omc.junze.dev/api-reference/) | Interactive Swagger 2.0 / OpenAPI documentation | \n| [Contributor Guides](https://github.com/WizisCool/oh-my-cpa/blob/main/CONTRIBUTING.md) | [Architecture](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/dev/architecture.md) ·[Design](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/dev/design.md) ·[Testing](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/dev/testing.md) ·[Releasing](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/dev/releasing.md) ·[Demo Ops](https://github.com/WizisCool/oh-my-cpa/blob/main/docs/ops/cloudflare-demo.md) | \n\nDevelopment requires Go 1.26+, Node.js 22+, and pnpm 11+:\n\n```\npnpm install --frozen-lockfile\ncp .env.example .env\npnpm dev\n```\n\nSee [`CONTRIBUTING.md`](https://github.com/WizisCool/oh-my-cpa/blob/main/CONTRIBUTING.md) for local verification (`pnpm test:fast`, `pnpm verify`) and [` SECURITY.md`](https://github.com/WizisCool/oh-my-cpa/blob/main/SECURITY.md) for private vulnerability reporting.\n\nBuilt on [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI). Thanks to the [Linux.do community](https://linux.do). Released under the [MIT License](https://github.com/WizisCool/oh-my-cpa/blob/main/LICENSE).", "url": "https://wpnews.pro/news/show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas", "canonical_source": "https://github.com/WizisCool/oh-my-cpa", "published_at": "2026-12-04 09:20:05+00:00", "updated_at": "2026-12-04 09:46:10.856607+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "ai-agents", "agent-protocols", "ai-infrastructure"], "entities": ["Oh My CPA", "CLIProxyAPI", "WizisCool", "OpenRouter", "Claude Code", "Codex", "Cursor", "OMC-Community"], "also_reported_by": [], "takeaway": "OMC deploys as a Docker Compose stack alongside CLIProxyAPI v8+ on ports 8080 (console) and 8317 (model traffic), with OMCPA_MASTER_KEY encrypting stored credentials and database secrets via AES-GCM.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas", "markdown": "https://wpnews.pro/news/show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas.md", "text": "https://wpnews.pro/news/show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas.txt", "jsonld": "https://wpnews.pro/news/show-hn-oh-my-cpa-dashboard-for-all-ai-subscriptions-usage-cost-quotas.jsonld"}}