CPA-Manager-Plus is a free, open source monitoring & observability project written in Go and released under MIT. It has 3,498 GitHub stars, 366 forks and 34 open issues, and was last pushed 56 minutes ago. On this registry it ranks #115 of 191 tracked projects in Monitoring & Observability, with 5 head-to-head comparisons available.

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 DemoDocumentationInstall

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 Management
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, and OpenAI-compatible providers.
  • Maintain auth files, OAuth logins, API keys, model aliases, priorities, plugins, logs, and system settings.
  • 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.1.39+. The HTTP usage queue needs v6.10.8+.

Documentation

| Task | Guide

readme truncated — read the full docs on github

Frequently asked questions

Is CPA-Manager-Plus free to use?

CPA-Manager-Plus 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 CPA-Manager-Plus do?

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

What is CPA-Manager-Plus written in?

CPA-Manager-Plus is primarily written in Go. Its source is publicly available at https://github.com/seakee/CPA-Manager-Plus, and it has 3,498 GitHub stars.