[UNTESTED] [ppop123/ccpa] 5 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,274 characters
Status: [UNTESTED]
Endpoints found:
http://127.0.0.1:8317/v1/chat/completions
http://127.0.0.1:8317/v1/responses
http://127.0.0.1:8317/v1/agent-runs
http://127.0.0.1:8317/v1/images/generations
http://127.0.0.1:8317/v1/images/edits
Source: https://github.com/ppop123/ccpa
# ccpa
Claude + Codex + Grok Proxy API
[δΈζ](./README_CN.md)
`ccpa` is a small local proxy that turns your existing Claude, Codex, and experimental Grok login state into OpenAI-compatible HTTP APIs.
It is built for one machine, one operator, and one clear use case:
- call Claude, Codex, and optionally Grok from your own scripts
- expose the enabled providers behind one local `base_url`
- route automatically by `model`
It is intentionally not a multi-account pool, billing platform, or generic API gateway.
## Documentation
- [Documentation map](docs/README.md): where to find current usage docs,
operations runbooks, historical plans, and handoff notes.
- [Agent guide](docs/AGENT_GUIDE.md): task-oriented setup, API and Agent Runs
recipes, verification entrypoints, and failure triage without source tracing.
- [Operations Guide](docs/CCPA_OPERATIONS_GUIDE.md): detailed deployment,
endpoint, model-routing, OAuth recovery, rollback, and known-gap reference.
- [Plan archive](docs/plans/README.md): dated design and stabilization notes.
## What it does
- serves Claude, Codex, and experimental Grok from one process
- supports `POST /v1/chat/completions`
- supports `POST /v1/responses`
- supports `POST /v1/images/generations`
- supports Grok JSON image editing at `POST /v1/images/edits`
- optionally supports Agent Runs for uploaded file bundles through local CLI agents
- supports `GET /v1/models`
- supports Claude native `POST /v1/messages` and `POST /v1/messages/count_tokens`
- provides admin status at `GET /admin/accounts`
- provides in-memory usage stats at `GET /admin/usage` and `GET /admin/usage/recent`
- provides a browser dashboard shell at `GET /monitor`
Routing is simple:
- `claude-*` -> Claude
- `gpt-*`, `o*`, `codex-*` -> Codex
- `grok-*` -> Grok
## What you need
- Node.js 20+
- a Claude login if you want Claude models
- a Codex login if you want Codex models
- a SuperGrok OAuth login if you want experimental Grok models
Claude auth is stored u