# seakee/cpa-manager-plus

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/seakee-cpa-manager-plus).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,041 stars · 453 forks · Go · MIT

## Links

- GitHub: https://github.com/seakee/CPA-Manager-Plus
- Homepage: https://seakee.github.io/CPA-Manager-Plus/
- awesome-repositories: https://awesome-repositories.com/repository/seakee-cpa-manager-plus.md

## Topics

`ai-gateway` `claude-code` `cliproxyapi` `codex` `cost-analysis` `cpa` `gateway-monitoring` `observability` `openai` `openai-compatible` `quota-management` `request-monitoring` `usage-tracking`

## Description

CPA Manager Plus is a management panel and companion server for a CLIProxyAPI-style AI proxy gateway. It lets an operator configure providers, API keys, OAuth accounts, model aliases, plugins, and logs from one authenticated web interface. It can run as a lightweight panel that replaces the default management page on the existing port, or as a full server-backed mode that adds stored history, analytics, scheduling, and backups.

Beyond configuration, the project tracks how the gateway is being used. In full mode it records every request passing through the proxy and breaks down tokens, estimated cost, latency, and failures by account, model, provider, API key, and time range, using model prices with local overrides. Stored request history can be searched to trace failures, with redacted error evidence. Account inspection reads quota windows and credential health, applies cooldowns when quota runs out, and restores only the credentials the automation disabled itself. Credentials can be imported from JSON or OAuth exports, tested, filtered, pinned, and changed in batches. Providers are ordered by priority tier, with weighted round robin across credentials in the top tier.

Access is protected by a separate admin key, so browsers never handle the upstream management credential. The saved upstream key is stored encrypted on the server, and the admin login can be reset or repaired without deleting data. Usage collection tries pub/sub first, then an HTTP queue, then a pop fallback, so it adapts to network and proxy limits.

The server is a single Go service that keeps usage events, prices, aliases, and inspection history in a local SQLite database, with no external database required. It ships as a container or a native package for Linux, macOS, and Windows. It can be installed together with the proxy or alone against an existing instance. Documented procedures cover backup, restore, upgrades, and migrating data from container, host-directory, or native installs.

## Tags

### Part of an Awesome List

- [AI Proxy](https://awesome-repositories.com/f/awesome-lists/devops/monitoring-and-health/gateway-health-monitors/ai-proxy.md) — Records every request passing through an AI proxy and shows tokens, estimated cost, latency, and failures by account, model, and key.

### Web Development

- [Lightweight Management Panels](https://awesome-repositories.com/f/web-development/lightweight-management-panels.md) — Replaces the default management page with a clearer interface on the existing port to manage providers, accounts, logs, and plugins. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/getting-started.html))
- [Management Panel Replacements](https://awesome-repositories.com/f/web-development/management-panel-replacements.md) — Swaps the official management page for an alternative panel on the same port and management API, keeping existing workflows working. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/choosing-a-panel.html))
- [Management API Gateways](https://awesome-repositories.com/f/web-development/management-api-gateways.md) — Serves the management web panel and forwards authenticated management calls to the upstream proxy, giving one entry point without exposing the upstream credential.
- [Management Panel Backends](https://awesome-repositories.com/f/web-development/management-panel-backends.md) — Hosts the embedded management web panel and forwards management calls upstream, giving one authenticated entry point for all operations. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/operations/manager-server.html))

### Artificial Intelligence & ML

- [AI Gateway Management](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-gateway-management.md) — Centralizes configuration of providers, API keys, OAuth accounts, model aliases, plugins, and routing priorities for an AI proxy gateway in one panel.
- [AI Model Quota Monitoring](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-quota-monitoring.md) — Reads quota windows and reset times for provider accounts, tracks credential health, and applies cooldowns that pause and later restore exhausted credentials.
- [AI Provider Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-provider-managers.md) — Maintains settings, credentials, aliases and priorities for multiple AI providers, including OpenAI-compatible ones, from one central panel. ([source](https://github.com/seakee/cpa-manager-plus#readme))
- [Provider and Account Settings](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-account-llm-management/provider-and-account-settings.md) — Controls providers, accounts, sign-ins, settings, and logs of the AI gateway from a browser panel served by the proxy. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/deployment/cpa-panel.html))
- [Model Spending Estimators](https://awesome-repositories.com/f/artificial-intelligence-ml/model-spending-estimators.md) — Estimates spend from collected requests using configured model prices and key aliases, treating provider billing as the authoritative figure. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/reference/capability-matrix.html))
- [Provider Quota Viewers](https://awesome-repositories.com/f/artificial-intelligence-ml/provider-quota-viewers.md) — Reads quota windows, reset times, and credential state from provider responses or request events without sending model requests. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/reference/capability-matrix.html))

### DevOps & Infrastructure

- [AI Proxy Management Panels](https://awesome-repositories.com/f/devops-infrastructure/ai-proxy-management-panels.md) — Provides a web panel to configure providers, credentials, OAuth accounts, model aliases, plugins, and logs of an AI proxy gateway behind one login.
- [Container or Native Package Deployments](https://awesome-repositories.com/f/devops-infrastructure/container-or-native-package-deployments.md) — Runs the full management stack as one container or a native package on Linux, macOS or Windows, keeping all data in local files. ([source](https://github.com/seakee/cpa-manager-plus#readme))
- [Lightweight or Full Deployment Modes](https://awesome-repositories.com/f/devops-infrastructure/lightweight-or-full-deployment-modes.md) — Offers a lightweight panel hosted by the proxy with no extra service, or a full mode adding stored history, analytics, scheduling and backups. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/reference/capability-matrix.html))
- [Default Interface Replacements](https://awesome-repositories.com/f/devops-infrastructure/management-interface-deployments/default-interface-replacements.md) — Replaces the default management interface with a lightweight panel that runs without any extra service or database. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/runtime-model.html))
- [Single-Binary Deployments](https://awesome-repositories.com/f/devops-infrastructure/single-binary-deployments.md) — Ships one Go service as a container or native package with lightweight and full modes, embedding the panel so no extra services or ports are needed.
- [SQLite-Backed](https://awesome-repositories.com/f/devops-infrastructure/single-binary-deployments/sqlite-backed.md) — Runs as a single binary that keeps usage events, prices, aliases, inspection history, and encrypted credentials in a local SQLite database.
- [Priority-Tiered Credential Balancing](https://awesome-repositories.com/f/devops-infrastructure/worker-process-management/round-robin-load-balancings/weighted-round-robin-strategies/priority-tiered-credential-balancing.md) — Orders providers by priority tier and distributes requests across top-tier credentials with per-credential weights using weighted round robin. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/manual/ai-providers.html))

### Security & Cryptography

- [Multi-Provider Credential Stores](https://awesome-repositories.com/f/security-cryptography/oauth-authentication-apis/multi-provider-credential-stores.md) — Stores, imports, tests, filters, and rotates API keys and OAuth account credentials across multiple AI providers in one workspace.
- [Token-Based Admin Authentication](https://awesome-repositories.com/f/security-cryptography/security-and-access-control/admin-session-managers/token-based-admin-authentication.md) — Protects management with a generated or user-supplied admin key so browsers never handle the upstream management credential. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/operations/manager-server.html))
- [Credential Health Audits](https://awesome-repositories.com/f/security-cryptography/credential-health-audits.md) — Runs local or server-side inspections showing overview, supported models, quota history, and diagnostic evidence for each credential. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/manual/accounts.html))
- [Encrypted Credential Stores](https://awesome-repositories.com/f/security-cryptography/encrypted-credential-stores.md) — Encrypts the saved upstream management key with a local data key and keeps it on the server so browsers never handle the raw credential. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/operations/manager-server.html))
- [Credential Security](https://awesome-repositories.com/f/security-cryptography/identity-access-management/credential-lifecycle-management/credential-security.md) — Protects management access with a separate admin key and server-side encrypted storage so browsers never touch upstream credentials.
- [Encrypted Credential Storage](https://awesome-repositories.com/f/security-cryptography/local-first-privacy-tools/encrypted-credential-storage.md) — Encrypts saved upstream management keys with a local data key and keeps them on the server, so browsers never handle raw credentials.
- [Admin Key Assignments](https://awesome-repositories.com/f/security-cryptography/public-key-authentication/public-key-access-control/ssh-authorized-keys-validators/admin-key-assignments.md) — Requires a separate admin key to log in to the full-mode management page, distinct from the upstream management key. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/getting-started.html))
- [Admin Session Managers](https://awesome-repositories.com/f/security-cryptography/security-and-access-control/admin-session-managers.md) — Authenticates administrators with a separate admin key and manages login access to the management interface without exposing upstream credentials.
- [Account Credential Management](https://awesome-repositories.com/f/security-cryptography/service-account-management/steam-automation-services/account-credential-management.md) — Lists, imports, edits, disables, restores, downloads, and deletes provider credentials in one workspace showing whether each can serve requests. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/manual/accounts.html))

### Software Engineering & Architecture

- [Account Quota Inspectors](https://awesome-repositories.com/f/software-engineering-architecture/service-request-routing/model-aware-request-routings/account-quota-inspectors.md) — Runs scheduled inspections of provider account quota and health, applies cooldowns when quota runs out, and restores only credentials the automation disabled.
- [Quota-Aware Account Scheduling](https://awesome-repositories.com/f/software-engineering-architecture/service-request-routing/model-aware-request-routings/quota-aware-account-scheduling.md) — Disables a credential temporarily when quota runs out and restores only the credentials the automation disabled once quota recovers. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/manual/accounts.html))

### System Administration & Monitoring

- [LLM Request and Attempt Tracking](https://awesome-repositories.com/f/system-administration-monitoring/llm-request-and-attempt-tracking.md) — Runs a server component that records every request passing through the proxy and analyzes spending without forwarding model traffic. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/runtime-model.html))
- [LLM Usage and Latency Analytics](https://awesome-repositories.com/f/system-administration-monitoring/llm-usage-and-latency-analytics.md) — Records every proxied request and breaks down tokens, latency, failures, and estimated cost by model, account, API key, and time range.
- [Cost and Token Trackers](https://awesome-repositories.com/f/system-administration-monitoring/usage-monitoring/token-usage-analytics/cost-and-token-trackers.md) — Records requests passing through the proxy and shows token counts and estimated cost per request in an analytics view. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/guide/getting-started.html))
- [Background Task Scheduling](https://awesome-repositories.com/f/system-administration-monitoring/background-task-scheduling.md) — Runs recurring server-side account inspections and queued actions on a timer, applying quota cooldowns and restoring only credentials it disabled itself.
- [Embedded Management Panels](https://awesome-repositories.com/f/system-administration-monitoring/embedded-management-panels.md) — Serves a replacement management interface from the existing service on the same port, with no extra server, database or container. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/deployment/cpa-panel.html))
- [Request Failure Tracing](https://awesome-repositories.com/f/system-administration-monitoring/request-failure-tracing.md) — Stores gateway request history so failures can be searched by account or key and traced using latency, tokens, and redacted error evidence.
- [Request Stream Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/request-stream-monitoring.md) — Stores gateway requests locally so users can search by account or key, inspect latency, tokens, and redacted failures, and export history. ([source](https://github.com/seakee/cpa-manager-plus#readme))

### Data & Databases

- [SQLite Databases](https://awesome-repositories.com/f/data-databases/database-management-systems/database-engines/embedded-databases/sqlite-databases.md) — Keeps usage events, prices, aliases, and inspection history in a local SQLite file database, so no external database server is needed.
- [Local Data Persistence](https://awesome-repositories.com/f/data-databases/local-data-persistence.md) — Saves usage events, model prices, key aliases, and inspection history in a local SQLite database powering dashboards and historical analytics. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/operations/manager-server.html))

### Development Tools & Productivity

- [Credential Importers](https://awesome-repositories.com/f/development-tools-productivity/project-imports/external-file-importers/credential-importers.md) — Accepts pasted or uploaded JSON, splits multi-account exports into separate credentials, and reports empty exports, malformed fields, and partial failures. ([source](https://seakee.github.io/CPA-Manager-Plus/docs/en/manual/accounts.html))
