Claude-style routing

Anthropic API router for Claude Code and Claude-style clients

Use one Anthropic-compatible base URL for Claude Code, Claude-style SDK clients, Dario-backed routes, local models, and BYOK providers. Sage Router keeps provider access authorized by the customer; public plans do not bundle or pool unauthorized Anthropic subscriptions.

Create API key Read integrations Claude Code guide Browse models

Anthropic-compatible base URL

Point supported Claude-style clients at ANTHROPIC_BASE_URL=https://api.sagerouter.dev for hosted routing, or at a local/Tailnet Sage Router when provider credentials should stay private.

Dario-ready routing

If Dario or another authorized Anthropic-compatible path is available, keep it in the routing matrix. If it is not active, the route stays optional instead of becoming a bundled entitlement.

429 failover

When a Claude-compatible route, provider key, or fallback provider rate-limits, Sage Router can select another eligible authorized route instead of forcing each client to own failover logic.

60-second Anthropic-compatible setup

export ANTHROPIC_BASE_URL=https://api.sagerouter.dev
export ANTHROPIC_API_KEY=sk_sage_your_generated_key

curl "$ANTHROPIC_BASE_URL/v1/messages" \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "sage-router/frontier",
    "max_tokens": 200,
    "messages": [{"role": "user", "content": "Route this Claude-style request"}]
  }'

Multimodal routing

Image, audio, video, and document inputs are routed only to capable models, and served modalities are recorded per model for future routing decisions.

Multiple credentials

Provider credential pools can load balance and fail over across authorized keys or subscription paths when a route is unhealthy or rate-limited.

Provider boundary

Sage Router does not grant unauthorized Anthropic access. Customers bring authorized provider access or use hosted routing for Sage Router account control.

Why route Claude-style traffic?

Anthropic-compatible clients are excellent when Claude is the intended model family, but agent teams still need policy, fallback, local models, OpenAI-compatible alternatives, credential health, and observability. Sage Router keeps the Claude-style interface while moving route choice behind a controllable gateway.

Next steps

Create an API key, read integrations, open the Anthropic-compatible guide, or request managed Anthropic review.