AprilNEA / BYOKEY
Turn AI subscriptions into standard API endpoints. OpenAI & Anthropic compatible gateway — for Amp Code, Cursor, Factory CLI, and more.
Why this job: topics: ai-gateway, openai-api, proxy
What it does
- Responses API. /v1/responses and /codex/responses for ChatGPT.app / Codex, with model aliases, custom upstreams, and Codex model discovery at /codex/models
- Native Codex HTTP forwarding. unmatched /codex/* paths go to the configured ChatGPT backend, including image generation and editing endpoints; no WebSocket support
- Anthropic Messages API. /v1/messages, /v1/messages/count_tokens and /v1/models, as Claude Code and Claude Desktop expect them; [1m] long-context ids included
- Copilot as a Claude backend. Copilot's Anthropic-format endpoint, with quota-aware account selection and unsupported request fields stripped; model selection and server tools stay under client control
- Cursor as a Claude backend. every model on your Cursor plan, driven through Cursor's agent protocol
Get started
brew install AprilNEA/tap/byokey - Maintenance
- Active
- Last commit 30 days ago
- Stars
- 140
- On GitHub
- Licence
- Custom
- Read before business use
- Downloads for
- 2 systems
- Mac, Linux
- Latest version
- v4.6.1
- Released 32 days ago
- Built with
- Rust
- 99% of the code
Is it looked after?
- Contributors
- Not stated
- Last 90 days
- Issues
- 92% closed
- 1 still open
- Pull requests
- 57 merged
- 2 waiting
- Releases
- 47
- 30+ in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| lidge-jun / opencodex | 18,334 | today | MIT | Mac, Windows, Linux |
| vibe-coding-labs / JoyCode2Api | 219 | 3 months ago | Apache-2.0 | Mac, Linux |
| cheaper-inference / OmniRoute | 86,020 | yesterday | MIT | Mac, Windows, Linux |
More: download files, languages, topics and project record
Download files, v4.6.1
- Mac2 files, 27 downloads
- Linux2 files, 20 downloads
Languages
- Rust 99%
- JavaScript <1%
- Shell <1%
- Makefile <1%
Topics
- ai-gateway
- amp
- anthropic-api
- claude
- copilot
- cursor
- gemini
- llm
- oauth
- openai-api
- proxy
- rust
Project record
- JobModel gateways
- StatusListed
- Commits378
- Forks27
- Watching0
- Stars in 28 days+3
- CreatedFeb 20, 2026
- First seen by usNov 7, 2026
- CheckedNov 8, 2026
