OpusZen Docs
Anthropic-compatible API gateway providing Claude API access without waitlists. Drop-in replacement — just change your base URL.
Overview
OpusZen is an Anthropic-compatible API gateway providing Claude API access without waitlists. It works with Claude Code, Cursor, Windsurf, Cline, Roo Code, and any Anthropic SDK — just swap your base URL and go.
Quick Start
Prerequisites
- Node.js 18+
- OpusZen API key (from your admin or reseller)
- Supported IDE: Claude Code, VS Code, Cursor, Windsurf, Cline, or Roo Code
Interactive Setup
Run the interactive setup wizard — it handles everything:
npx opuszenOr use the platform-specific setup scripts:
irm https://opuszen.com/setup.ps1 | iexcurl -fsSL https://opuszen.com/setup.sh | bashManual Setup
If you prefer to configure manually, edit your settings file and set the following environment variables or config values:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://opuszen.com"
}
}IDE Configuration
Edit ~/.claude/settings.json
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://opuszen.com",
"ANTHROPIC_MODEL": "Opus 4.8",
"ANTHROPIC_SMALL_FAST_MODEL": "Haiku 4.5",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "Sonnet 4.6",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "Opus 4.8",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "Haiku 4.5",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
},
"hasCompletedOnboarding": true
}In Cursor settings, set Base URL and model:
https://opuszen.com/v1claude-sonnet-4-6In Windsurf settings, set the Base URL:
https://opuszen.com/v1Add to your VS Code settings.json with provider "anthropic", your base URL, and API key.
API Reference
Authentication
Pass your API key using either header:
x-api-key: YOUR_API_KEYAuthorization: Bearer YOUR_API_KEY/api/v1/messagesCreate a message. Set stream: true for Server-Sent Events with message_start, content_block_delta, and message_stop events.
{ "model": "claude-opus-4-8", "messages": [{ "role": "user", "content": "Hello" }], "max_tokens": 1024, "stream": false }/api/v1/modelsList all available models with context window information.
/api/v1/messages/count_tokensCount tokens without sending a message.
{ "model": "claude-opus-4-8", "messages": [{ "role": "user", "content": "Hello" }] }/api/key-status?key=YOUR_API_KEYCheck your key status, current usage, and rate limit windows.
Models
All models are Anthropic-compatible and work with standard Anthropic SDK calls. Just set the model ID in your requests.
| Model | Model ID | Context | Type | Created |
|---|
Built-in Tools
Web search and image analysis are available server-side — no client-side MCP setup or additional configuration required.
Web Search
Real-time web search powered by OpusZen. Use 3–5 focused keywords for best results.
POST /tools/web_search{ "query": "latest Anthropic API updates 2026" }Image Analysis
Analyze images via HTTP URLs, local file paths, or base64-encoded data. Max file size: 18MB.
POST /tools/understand_image{ "image": "https://example.com/photo.jpg" }Troubleshooting
Connection errors
Check the key is active and not expired on the Check Usage page.
Web search or image tools not firing
They are server-side and always on. If they seem inactive, the key is usually the problem, not the config.
Model not found
Use an exact ID from the models list above, or a friendly alias.
Rate limited
Your five-hour window may be spent. Check /api/key-status for the reset time.
Changes not applying
Restart the editor after any config change.
Cursor or Windsurf not routing
Make sure the URL you pasted ends in /v1.
Still stuck?
Contact your admin or reseller for key-specific support.