Product Workspaces
XRouter
Provider routing, OpenAI and Anthropic compatible endpoints, media, quota, proxy pools, and skills.
XRouter
XRouter is Urmate’s model routing and provider gateway.
Dashboard Sections
| Section | Purpose |
|---|---|
| Endpoint | Copy/use compatible API endpoints. |
| Providers | User/admin provider connections and tests. |
| Combos | Route and combine multiple providers. |
| Usages | Usage logs. |
| Quota tracker | Limits and counters. |
| MITM | Proxy/inspection tooling. |
| CLI tools | Claude Code/Codex/Gemini helper settings. |
| System | Diagnostics and settings. |
| Media provider | Image/video/3D providers. |
| Embedding | Embedding endpoint support. |
| Text to image | Image generation. |
| Text to video | Video generation. |
| Image to video | Video generation from image. |
| Text to 3D | 3D generation. |
| Image to 3D | 3D generation from image. |
| Text to speech | TTS provider support. |
| Speech to text | STT provider support. |
| Web fetch & search | Web fetch/search proxy. |
| Proxy pools | Proxy pool management. |
| Skills | User/admin XRouter skills. |
Important Files
| Path | Purpose |
|---|---|
components/dashboard/xrouter/xrouter-dashboard.tsx | Main UI. |
components/dashboard/xrouter-sidebar.tsx | Sidebar. |
lib/xrouter/runtime.ts | Runtime routing. |
lib/xrouter/providers.ts | Provider helpers. |
lib/xrouter/provider-registry.ts | Provider registry. |
lib/xrouter/quota.ts | Quota tracking. |
lib/xrouter/web-search.ts | Web fetch/search. |
app/api/xrouter/* | API endpoints. |
Compatible Endpoints
OpenAI-compatible:
POST /api/xrouter/v1/chat/completionsGET /api/xrouter/v1/modelsPOST /api/xrouter/v1/embeddingsPOST /api/xrouter/v1/images/generationsPOST /api/xrouter/v1/videos/generations
Anthropic-compatible:
POST /api/xrouter/v1/messages
Other:
POST /api/xrouter/v1/searchPOST /api/xrouter/v1/web/fetchPOST /api/xrouter/v1/3d/generationsPOST /api/xrouter/v1/3d/statusPOST /api/xrouter/v1/3d/download
Provider Models
Models include:
UserXRouterProviderConnectionAdminXRouterProviderConnectionUserXRouterCustomProviderAdminXRouterCustomProviderUserXRouterOAuthConnectionAdminXRouterOAuthConnectionXRouterModelCacheXRouterUsageLogUserXRouterQuotaCounterAdminXRouterQuotaCounterXRouterProxyPoolXRouterProxyPoolItemUserXRouterSkillAdminXRouterSkill
Claude Code Note
Claude Code expects Anthropic-style messages and tool behavior. Keep normal model selection/routing behavior, but return clear errors when the selected target cannot support required tools.

