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

SectionPurpose
EndpointCopy/use compatible API endpoints.
ProvidersUser/admin provider connections and tests.
CombosRoute and combine multiple providers.
UsagesUsage logs.
Quota trackerLimits and counters.
MITMProxy/inspection tooling.
CLI toolsClaude Code/Codex/Gemini helper settings.
SystemDiagnostics and settings.
Media providerImage/video/3D providers.
EmbeddingEmbedding endpoint support.
Text to imageImage generation.
Text to videoVideo generation.
Image to videoVideo generation from image.
Text to 3D3D generation.
Image to 3D3D generation from image.
Text to speechTTS provider support.
Speech to textSTT provider support.
Web fetch & searchWeb fetch/search proxy.
Proxy poolsProxy pool management.
SkillsUser/admin XRouter skills.

Important Files

PathPurpose
components/dashboard/xrouter/xrouter-dashboard.tsxMain UI.
components/dashboard/xrouter-sidebar.tsxSidebar.
lib/xrouter/runtime.tsRuntime routing.
lib/xrouter/providers.tsProvider helpers.
lib/xrouter/provider-registry.tsProvider registry.
lib/xrouter/quota.tsQuota tracking.
lib/xrouter/web-search.tsWeb fetch/search.
app/api/xrouter/*API endpoints.

Compatible Endpoints

OpenAI-compatible:

  • POST /api/xrouter/v1/chat/completions
  • GET /api/xrouter/v1/models
  • POST /api/xrouter/v1/embeddings
  • POST /api/xrouter/v1/images/generations
  • POST /api/xrouter/v1/videos/generations

Anthropic-compatible:

  • POST /api/xrouter/v1/messages

Other:

  • POST /api/xrouter/v1/search
  • POST /api/xrouter/v1/web/fetch
  • POST /api/xrouter/v1/3d/generations
  • POST /api/xrouter/v1/3d/status
  • POST /api/xrouter/v1/3d/download

Provider Models

Models include:

  • UserXRouterProviderConnection
  • AdminXRouterProviderConnection
  • UserXRouterCustomProvider
  • AdminXRouterCustomProvider
  • UserXRouterOAuthConnection
  • AdminXRouterOAuthConnection
  • XRouterModelCache
  • XRouterUsageLog
  • UserXRouterQuotaCounter
  • AdminXRouterQuotaCounter
  • XRouterProxyPool
  • XRouterProxyPoolItem
  • UserXRouterSkill
  • AdminXRouterSkill

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.

Copyright © 2026