Categories
AI Infrastructure LLM Observability AI Gateway Management API Key Management Usage Analytics Cost Tracking Self-Hosted ConsoleStars
Forks
Watchers
Developer links
Oh My CPA
Oh My CPA gives a CLIProxyAPI gateway a proper control room, where providers, OAuth credentials, client keys, model routing, and the cost of every request are managed and watched from one self-hosted console. You add providers such as Codex, Claude, Gemini, xAI, DeepSeek, Vertex AI, and OpenAI-compatible services, each with credentials, retry and error policies, priority, weight, and an enable switch the gateway actually enforces. OAuth accounts are signed in from the console, with quota window readings, refresh schedules, and per-credential model aliases kept next to the keys they belong to. Client keys can be created, named, and revoked, and those names follow the traffic into request records and filters so you always know which key spent what. The dashboard follows request volume, token throughput, cache hit rate, and cost from the last fifteen minutes out to ninety days, with a year-long token heatmap for the long view. Insights compare keys, models, providers, and credentials against the previous period, while the live routing view shows which credential each request travelled to and whether it was rerouted. Every request stays searchable, with duration, time to first token, token breakdown, and the raw log in a detail drawer. A playground tests any routed model with text and images before your users do. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.
Benefits
- Every Key Accounted For
- Named client keys flow into request records, filters, and cost views, so usage and spending can be traced to the exact key, model, provider, and credential behind each call.
- Quota Windows Made Visible
- OAuth credentials show live quota and plan readings with refresh schedules, and Codex and Claude windows can warm up on opt-in schedules checked against current billing first.
- Cost Snapshots Per Request
- Each request keeps a request-time cost snapshot from the price book, with custom overrides and channel multipliers, so historical bills never change when upstream prices move later.
- One Binary, No Cloud
- The console, its database, and all embedded assets run offline from a single binary beside your gateway, with credentials encrypted at rest and sensitive actions written to an audit log.
Features
- Provider And OAuth Management
- Manage Codex, Claude, Gemini, xAI, Vertex AI, DeepSeek, and OpenAI-compatible providers with credentials, model options, retry policies, priority, weight, and gateway-enforced enable switches.
- Live Routing Map
- Watch a rolling minute of traffic travel from requested model to the credential and provider that served it, including rerouted attempts, cooldowns, and fallbacks as they happen.
- Insights And Dashboard
- Compare keys, models, providers, and credentials across preset or custom ranges against the previous period, with traffic flow, hour-of-day rhythm, and a year-long token heatmap.
- Searchable Request Records
- Filter and full-text search every stored request, then open duration, time to first token, token breakdown, the raw per-request log, and any requested versus served model mismatch.
- Model Playground
- Test any routed model with text and image inputs, streamed multi-turn answers, and request diagnostics before exposing that route to real client keys and users.
- Plugins And MCP Endpoint
- Install plugins from the built-in store with typed settings forms and trusted plugin pages, and expose an MCP endpoint so external AI agents can work with the gateway.