DEVELOPER DOCS
Base URLs and quick start
OpenOx exposes OpenAI-compatible and Anthropic-compatible endpoints. Use the same API key across clients.
Anthropic-compatible
export ANTHROPIC_BASE_URL="https://openox.tech"
export ANTHROPIC_AUTH_TOKEN="sk-your-key"Do not add /v1 to ANTHROPIC_BASE_URL; the client appends /v1/messages.
OpenAI-compatible
export OPENAI_BASE_URL="https://openox.tech/v1"
export OPENAI_API_KEY="sk-your-key"The client appends paths such as /chat/completions and /models.
Client tutorials
Step-by-step guides for Claude Code, Codex, CC Switch and other clients are available in thetutorial center. Chinese documentation is atopenox.tech/docs.
FAQ
What base URL should I use for the Anthropic API?
Use https://openox.tech as ANTHROPIC_BASE_URL. The Anthropic SDK appends /v1/messages, so do not add /v1 to the base URL.
What base URL should I use for OpenAI-compatible clients?
Use https://openox.tech/v1 as the OpenAI-compatible base URL. The client appends paths such as /chat/completions.
How do I authenticate?
Create an API key in the dashboard and send it as Authorization: Bearer for OpenAI-compatible requests, or x-api-key / ANTHROPIC_AUTH_TOKEN for Anthropic-compatible requests.