Quick Start
Get started with Xynaa API in minutes. We provide Claude API access without a waitlist, with drop-in compatibility and built-in tools.
Prerequisites
- ✓ Node.js 18+
- ✓ Xynaa API key
- ✓ Supported IDE (Claude Code, VS Code, Cursor, Windsurf, Cline, or Roo Code)
Installation
Choose your preferred installation method:
Interactive Setup
npx xynaaWindows (PowerShell)
irm https://xynaa.com/setup.ps1 | iexmacOS / Linux (Shell)
curl -fsSL https://xynaa.com/setup.sh | shConfiguration
Add your API credentials to the settings file:
Claude Code / VS Code
Edit ~/.claude/settings.json:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY",
"ANTHROPIC_BASE_URL": "https://api.xynaa.com",
"ANTHROPIC_MODEL": "Sonnet 4.6",
"ANTHROPIC_SMALL_FAST_MODEL": "Haiku 4.5",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
},
"hasCompletedOnboarding": true
}Cursor
Add as OpenAI-compatible model:
Base URL:https://api.xynaa.com/v1Model:claude-sonnet-4-6
Windsurf
Configure base URL:
https://api.xynaa.com/v1Cline / Roo Code
Add to VS Code settings.json:
{
"cline.apiProvider": "anthropic",
"cline.anthropicBaseUrl": "https://api.xynaa.com",
"cline.anthropicApiKey": "YOUR_API_KEY"
}Authentication
Include your API key in all requests using one of these methods:
Header
Bearer Token
API Endpoints
/v1/messagesCreate message (supports streaming)/v1/modelsList available models/v1/messages/count_tokensCount tokens/key-status?key=Check key status and usage/tools/web_searchReal-time web search/tools/understand_imageImage analysis (max 18MB)Available Models
| Model | Tier | Model ID |
|---|---|---|
| Opus 4.6 | Premium | claude-opus-4-6 |
| Sonnet 4.6 | Popular | claude-sonnet-4-6 |
| Haiku 4.5 | Fast | claude-haiku-4-5-20251001 |
Shortcuts: opus, sonnet, haiku, or gpt-4 map to these models.
Built-in Tools
Web Search
Get real-time information from the web. No client setup required - tools are built into the server.
Image Analysis
Analyze images up to 18MB. Server-side processing means no additional client configuration needed.
Troubleshooting
Connection errors
Check your API key validity and ensure you have an active subscription.
Web search not working
Our tools are built-in server-side - no additional setup required.
Model not found
Use exact model IDs listed in the models section above.
Rate limited
Check your 5-hour token window using the Key Status page.
Config not applying
Restart your IDE after making configuration changes.
Cursor/Windsurf routing
Use the /v1 endpoint URL (e.g., https://api.xynaa.com/v1).