AprilNEA

Byokey — AI skill for Claude Code

AI community

Turn AI subscriptions into standard API endpoints.

How to install Byokey

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AprilNEA/BYOKEY and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Byokey does

Turn AI subscriptions into standard API endpoints. OpenAI & Anthropic compatible gateway — for Amp Code, Cursor, Factory CLI, and more.

Alternatives in AI

  • WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
  • Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
  • Claude To ChatGPT — This project converts the API of Anthropic's Claude model to the OpenAI Chat API format 1.3k ★

README

English | 简体中文

BYOKEY

**Bring Your Own Keys**
Turn AI subscriptions into standard API endpoints.
Expose any provider as OpenAI- or Anthropic-compatible API — locally or in the cloud.

[![ci](https://img.shields.io/github/actions/workflow/status/AprilNEA/BYOKEY/ci.yml?style=flat-square&labelColor=000&color=444&label=ci)](https://github.com/AprilNEA/BYOKEY/actions/workflows/ci.yml)   [![crates.io](https://img.shields.io/crates/v/byokey?style=flat-square&labelColor=000&color=444)](https://crates.io/crates/byokey)   [![license](https://img.shields.io/badge/license-MIT%20%7C%20Apache--2.0-444?style=flat-square&labelColor=000)](LICENSE-MIT)   [![rust](https://img.shields.io/badge/rust-1.85+-444?style=flat-square&labelColor=000&logo=rust&logoColor=fff)](https://www.rust-lang.org)

BYOKEY screenshot

Subscriptions                                     Tools

Claude Pro  ─┐                              ┌──  Amp Code
OpenAI Plus ─┼──  byokey serve  ────────────┼──  Cursor · Windsurf
Copilot     ─┘                              ├──  Factory CLI (Droid)
                                            └──  any OpenAI / Anthropic client

Features

  • Multi-format API — OpenAI and Anthropic compatible endpoints; just change the base URL
  • OAuth login flows — PKCE, device-code, and auth-code flows handled automatically
  • Token persistence — SQLite at ~/.byokey/tokens.db; survives restarts
  • API key passthrough — Set raw keys in config to skip OAuth entirely
  • Deploy anywhere — Run locally as a CLI, or deploy as a shared AI gateway
  • **