cpamp is a free, open source monitoring & observability project written in Go and released under MIT. It has 4,120 GitHub stars, 468 forks and 60 open issues, and was last pushed 14 hours ago. On this registry it ranks #107 of 275 tracked projects in Monitoring & Observability, with 5 head-to-head comparisons available.

What is cpamp?

CPA Manager Plus (CPAMP) is a self-hosted management panel and AI gateway observability dashboard for CPA / CLIProxyAPI, aimed at operators who need persistent request history, cost analytics, quota and account-health views sitting alongside provider, credential and plugin configuration.

What it is

CPA Manager Plus is a Go application, MIT licensed and distributed as the Docker image seakee/cpa-manager-plus, that lives in the CPA / CLIProxyAPI ecosystem — the proxy layer that fronts OpenAI-compatible providers. It supplies a web panel at /management.html for operating CPA itself: provider configurations, auth files, OAuth logins, API keys, model aliases, priorities, plugins, logs and system settings, with request history, cost analytics and account automation held in local storage rather than discarded after each session.

The concrete problem it solves is that the gateway's own tooling covers configuration but not the long view. CPAMP replaces the official CLI Proxy API Management Center UI: as a Lightweight Panel it is served directly by CPA on :8317/management.html without adding another service or database, and in Full Mode it runs a separate Manager Server on :18317/management.html that persists request history so an operator can reconstruct why requests failed and where spend went after the fact.

Key capabilities

  • Persistent request history for failure diagnosis, exposing failure rates, status codes, affected models and accounts, and redacted request evidence.
  • Token and estimated cost breakdown by model, provider, account, API key, project, channel and time range.
  • Credential health and quota inspection covering credential state, quota windows, reset evidence, and controlled automation for Codex and xAI accounts.
  • Gateway configuration management across Gemini, Codex, Claude, Vertex, xAI, Devin, Muse / Meta, and OpenAI-compatible providers.
  • Maintenance of auth files, OAuth logins, API keys, model aliases, priorities, plugins, logs and system settings from one panel.
  • Muse / Meta Device Flow credentials handled separately from meta-api-key inference providers.
  • Import of official Sub2API OpenAI OAuth exports, splitting multiple accounts into separate CPA Codex auth files.

Who uses it and how

  • Operators running a CPA / CLIProxyAPI gateway who want a dashboard that retains history across restarts instead of a configuration-only interface.
  • Teams routing Claude Code, Codex and OpenAI-compatible traffic through CPA who need cost attributed per API key, project or channel.
  • Deployments that want a UI replacement with no additional service or database, using the Lightweight Panel on the CPA instance at :8317/management.html.
  • Environments holding several Codex or xAI accounts, where quota windows, reset evidence and controlled automation have to be tracked continuously.
  • Teams migrating from Sub2API, who import OpenAI OAuth exports and split them into separate CPA Codex auth files.

Getting started

Full Mode is deployed from the Docker image seakee/cpa-manager-plus and serves the panel at :18317/management.html; the alternative is installing the CPAMP Lightweight Panel directly into CPA to take over :8317/management.html without another service.

How it compares

The reference point in this registry is the official CLI Proxy API Management Center, which stays maintained by the upstream CPA project and is the right choice when keeping the upstream UI is the goal. CPAMP's Lightweight Panel swaps that interface in place on the same CPA port, while Full Mode adds persistent observability and long-running operations on top, so the decision is about how much operational surface a team wants rather than about licence or cost.

When to use it — and when not

Full Mode means running a separate Manager Server with its own local storage, so history retention, disk use and backup of that data become the self-hoster's responsibility; a team that only wants a refreshed interface should take the Lightweight Panel or stay with the official Management Center. The repository description and the README excerpt available here cover the gateway and observability surface more fully than the request-monitoring detail, so the failure-diagnosis feature set should be confirmed against the project documentation before adoption.

project readme (upstream, from github) — read inline

CPA Manager Plus

Release License Docker Pulls Stars

A self-hosted CPA / CLIProxyAPI management panel and AI gateway observability dashboard for requests, usage, cost, quota, failures, and account health.

Operate providers, credentials, OAuth, plugins, and configuration while keeping persistent request history, cost analytics, and account automation in local storage.

中文 | Live Demo | Documentation | Homepage | Install

Sponsors

Sponsor placement · Affiliate link

Infistar.cc: Access Claude, GPT, Gemini, DeepSeek and more with one API key, at prices as low as 1% of official rates. 100% genuine models with 1,000+ redundant routes and automatic failover. CPAMP users get CNY 5 in free credit when signing up through the exclusive link.

Disclaimer: Sponsor information and promotional claims are provided by the sponsor. This section contains an affiliate link. CPAMP makes no warranties regarding the sponsor's services, product quality, security, reliability, or advertised claims. Sponsorship does not imply endorsement or certification by CPAMP.

What Can CPAMP Help You Answer?

  • Why are requests failing? Inspect failure rates, status codes, affected models/accounts, and redacted evidence in persistent request history.
  • Where is the cost going? Break down tokens and estimated cost by model, provider, account, API key, project, channel, and time range.
  • Are accounts and quotas healthy? Review credential state, quota windows, reset evidence, and controlled automation for Codex and xAI accounts.

Screenshots

Dashboard
Request Monitoring
Usage Analytics
Credential List
Credential Cards
Credential Detail
Credential Health Inspection
Credential Quota

Which Panel Should You Choose?

CPA / CLIProxyAPI can serve either the official Management Center or the CPAMP Lightweight Panel directly on :8317. The lightweight panel replaces the official UI without adding another service. Deploy CPAMP Full Mode when you also need persistent observability and long-running operations.

Option Best for Entry
Official CLI Proxy API Management Center Keeping the upstream UI maintained by the CPA project CPA :8317/management.html
CPAMP Lightweight Panel Replacing only the UI without another service or database CPA :8317/management.html
CPAMP Full Mode Request history, cost analytics, inspection, and automation Manager Server :18317/management.html

See Choosing A CPA Panel for the comparison, or install the CPAMP Lightweight Panel directly in CPA.

Core Capabilities

CPA Gateway Management

  • Manage CPA provider configurations, including Gemini, Codex, Claude, Vertex, xAI, Devin, Muse / Meta, and OpenAI-compatible providers.
  • Maintain auth files, OAuth logins, API keys, model aliases, priorities, plugins, logs, and system settings. Muse / Meta supports Device Flow credentials separately from meta-api-key inference providers.
  • Import official Sub2API OpenAI OAuth exports and split multiple accounts into separate CPA Codex auth files.

Request Monitoring And Failure Diagnosis

  • Persist requests from the CPA usage queue in local SQLite and search account, client API key, and realtime request views.
  • Inspect status, latency, token, cache, trace, and redacted failure evidence without exposing raw failure bodies.
  • Export or import request history as JSONL.
  • Open the Monitoring Demo.

Cost And Usage Analytics

  • Break down calls, tokens, cost, latency, and failures by model, provider, account, credential, API key, project, channel, and time range.
  • Track input, output, reasoning, cache, service tier, and long-context pricing semantics.
  • Sync model prices from models.dev first, with LiteLLM and OpenRouter fallbacks plus local overrides for aliases or internal models.
  • Open the Usage Analytics Demo.

Account Health, Quota, And Automation

  • Inspect Codex and xAI accounts locally or on a Manager Server schedule.
  • Read quota windows, reset evidence, credential state, workspace state, and provider-specific health signals when available.
  • Apply controlled quota cooldowns and route credential failures into an account action queue for review and recovery.
  • Open the unified Accounts Demo.

Production Operations

  • Run CPAMP Full Mode as one Docker container or a native Linux, macOS, or Windows package for amd64/arm64; the full stack can run alongside CPA.
  • Keep request history, Manager configuration, automation state, and model prices in local files with no account registration or telemetry SDK.
  • Back up SQLite files together with data.key to preserve encrypted CPA Management Keys.
  • If you harden the runtime with a read-only root filesystem or a non-root user, give SQLite a writable temporary directory and a writable database file; see Read-Only Root Filesystem.

Want to preview the interface first? Open the Live Demo. The demo uses fictional data only. It is not a deployment or runtime mode and cannot connect to, manage, or monitor a real CPA instance.

CPAMP manages and observes traffic through CPA / CLIProxyAPI. It is not a replacement proxy and does not forward model traffic by itself.

Quick Start

Installer

For a guided full-stack or CPAMP-only deployment:

curl -fsSLO https://raw.githubusercontent.com/seakee/CPA-Manager-Plus/main/bin/install-cpamp.sh
bash install-cpamp.sh

Preview without deploying:

CPAMP_DRY_RUN=1 bash install-cpamp.sh

See One-Click Installer for upgrade, repair, and admin-key recovery behavior.

CPA + CPAMP Together

services:
  cli-proxy-api:
    image: eceasy/cli-proxy-api:latest
    restart: unless-stopped
    ports:
      - '8317:8317'
    volumes:
      - cpa-data:/app/data

  cpa-manager-plus:
    image: seakee/cpa-manager-plus:latest
    restart: unless-stopped
    ports:
      - '18317:18317'
    volumes:
      - cpa-manager-plus-data:/data

volumes:
  cpa-data:
  cpa-manager-plus-data:
docker compose up -d

Open http://:18317/management.html, retrieve the CPAMP Admin Key from the Manager Server log, then enter the CPA URL and CPA Management Key during setup.

CPAMP Only

If CPA is already running:

docker run -d \
  --name cpa-manager-plus \
  --restart unless-stopped \
  -p 18317:18317 \
  -v cpa-manager-plus-data:/data \
  seakee/cpa-manager-plus:latest

Recommended CPA version: v7.3.4+. The HTTP usage queue needs v6.10.8+.

Documentation

Task Guide
Choose the right panel and deployment mode Choosing A CPA Panel
Replace the official UI without deploying another service CPAMP Lightweight Panel
Install and complete first setup Getting Started
Understand supported features and modes Capability Matrix
Understand runtime ports, keys, and request flow Runtime Model
Configure providers, credentials, quota, and plugins AI Providers, Accounts, Plugin Management
Operate Manager Server, backups, upgrades, and migrations Manager Server Guide
Back up data or recover a lost admin key Backup And Restore, Reset Admin Key
Migrate from the legacy CPA-Manager Migration From CPA-Manager
Diagnose empty monitoring or queue problems Troubleshooting

Data, Privacy, And Security

  • CPAMP does not phone home, include analytics SDKs, or require account registration.
  • External calls are limited to the CPA gateway and integrations you explicitly configure or trigger, such as OAuth, provider checks, plugin releases, and model price sync.
  • Request history, configuration, model prices, inspection history, and automation state stay in local files.
  • CPA Management Keys are encrypted before SQLite persistence; backups require the SQLite files and data.key.
  • Normal APIs and JSONL exports expose redacted failure summaries, never raw failure bodies or stored raw JSON.
  • CPAMP is intended for traffic and credentials you are authorized to operate.
  • Suspect a security vulnerability? Report it privately and follow the Security Policy; do not disclose unpatched exploit details in public Issues.

Development

npm install
npm run dev
npm run type-check
npm run lint
npm run test
npm run build

The documentation site lives in cpamp-hq/docs (1.x → main, v2 → next); build it there with npm install && npm run docs:build.

Manager Server:

cd apps/manager-server
go test ./...
go test -race ./...
go vet ./...
go run ./cmd/cpa-manager-plus

Build the Docker stack locally:

docker compose -f docker-compose.manager.yml up --build

Release

  • npm run build creates a single-file apps/web/dist/index.html.
  • bin/release/package-native.sh embeds the panel into native packages.
  • Create release notes through release/ -> dev -> main, then push a strict vX.Y.Z or prerelease tag from the verified main promotion merge.
  • npm run release:validate -- --tag --content-only checks the three required release files before a tag is created.
  • .github/workflows/release.yml offers a workflow_dispatch dry-run from main; it validates and builds without publishing a GitHub Release, container image, or Telegram message.
  • Release assets include management.html, native packages, and Docker images for linux/amd64 and linux/arm64.
  • Release publishing is serialized and has no automatic commit-log fallback; missing or mismatched notes fail closed. See docs/release.md for recovery and required repository protections.

Acknowledgements

License

MIT — Copyright 2026 Seakee.

Frequently asked questions

Is cpamp free to use?

cpamp is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does cpamp do?

A self-hosted CPA / CLIProxyAPI management panel and AI gateway observability dashboard for requests, usage, cost, quota, failures, and account health.

What is cpamp written in?

cpamp is primarily written in Go. Its source is publicly available at https://github.com/cpamp-hq/cpamp, and it has 4,120 GitHub stars.