An unofficial, complete integration guide for AgentRouter — an OpenAI & Anthropic compatible API gateway.
Launch the interactive Web Dashboard directly to test live API calls, generate cURL commands, and view setup guides:
AgentRouter supports 3 distinct integration paths depending on your workflow:
Status: ❌ Blocked by Design / Requires Client Spoofing
Directly calling AgentRouter's base URL in custom apps or raw cURL scripts is blocked by Cloudflare WAF unless client spoofing headers are explicitly sent.
- Why it's blocked: WAF returns
unauthorized client detectedfor standard HTTP clients.- Fix: Include
Originator,Version, andUser-Agentheaders on every call.
Status: ✅ Confirmed Working
Seamlessly integrates into official developer tools, CLI agents, and IDE extensions without WAF issues.
- Supported: Claude Code CLI, Claude Code VS Code, Cline, Cursor IDE, Roo Code / Kilo Code.
- Rule: Claude models use
https://agentrouter.org, GPT models usehttps://agentrouter.org/v1.
Status: ✅ Confirmed Working
Integrates into desktop AI clients (Claude Desktop, Cowork, Cursor Desktop, custom tools).
- Supported: Claude Desktop, Cowork, Cursor, and any app supporting custom Base URLs.
- Postman Collections: Pre-configured Postman collections in
postman/(openai-collection.json,claude-collection.json). - 7-Language Code Snippets: Native code implementations in
snippets/(Node.js, TypeScript, Python, Go, PHP, C#, cURL).
Register at agentrouter.org to get your API key.
| Model ID | Description | Primary Base Endpoint |
|---|---|---|
gpt-5.6-sol |
Fast GPT model | https://agentrouter.org/v1/chat/completions |
claude-opus-4-8 |
Balanced Claude model | https://agentrouter.org/v1/messages |
claude-opus-5 |
High quality Claude model | https://agentrouter.org/v1/messages |
Made with garri💔 by ѕαмкιєℓ.∂єν