Multi-SDK Router • OpenAI & Anthropic Compatible
The Design Tool for WebGL AI Routing
Nui Router is an open, high-performance gateway bridging Anthropic Messages API and OpenAI SDKs with persona identity spoofing and zero-latency routing across 24+ AI models.
Anthropic Messages API
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ apiKey: "nui-sk-key" });
const client = new Anthropic({ apiKey: "nui-sk-key" });
Click "Run Test" to execute request via Nui Router...
Architecture
Engineered for Universal Compatibility & Low Latency
Dual SDK Compatibility
Native support for both /v1/chat/completions (OpenAI) and /v1/messages (Anthropic). Works out of the box with Claude Code, Cursor, and Anthropic SDK.
Persona Identity Spoofing
Calls to claude-opus or gpt-4o automatically route to high-performance base models with injected persona system prompts.
Native Anthropic Tools
Bi-directional conversion for Anthropic tools, tool_use content blocks, and tool_result messages.
4ms Edge Startup Time
Deployed on Cloudflare Workers edge network with O(1) pre-compiled route lookups.