OpenCode2API

One Endpoint // Every Model // Zero Compromise
or install using NPM
npm install -g opencode2api-proxy
SCROLL // SCROLL // SCROLL

OpenAI & Anthropic & Responses

Zero-translation latency router transcoding requests on native paths without losing streaming fidelity or context state.

Autonomous 429 Hopping

Discovers live Cloudflare IPv6 edge pools via DoH (1.1.1.1), steers subrequests, and dynamically bypasses upstream quotas.

Full Context Preservation

Preserves deep reasoning history and long-token sequences without truncation or artificial tier downgrading.

Serve OpenCode Zen and Go models from a single unified router compatible with standard OpenAI, Anthropic Claude, and Responses clients. Features automatic key rotation, DoH edge routing, and a built-in AI Chat suite.

Built for Performance & Precision

Enterprise-grade architecture crafted for continuous uptime, model auto-discovery, and seamless compatibility.

01 // PROTOCOL

Tri-Protocol Transcoding

Serves OpenAI Chat Completions, Anthropic Messages, and OpenAI Responses simultaneously on native paths without translation lag.

02 // RESILIENCE

Unlimited Lane & DoH Edge

Discovers live Cloudflare IPv6 edge pools via DoH (1.1.1.1), steers subrequests, and autonomously rotates identities across 429 quota walls.

03 // INTERFACE

WebUI Suite & AI Chat

Built-in control panel with 30-day stateless HMAC sessions, real-time SSE streaming chat, IDE split-pane document preview, and remote self-updater.

04 // FIDELITY

1M Context Preservation

Auto-discovers model catalogs with full context window preservation without down-tiering in free equivalents.