Point Anthropic Messages clients at the RouterBrain Anthropic-compatible surface.

Base URL

BeforeAfter
https://api.anthropic.comhttps://51kik.com

SDK baseURL:

https://51kik.com/anthropic/v1

Paths remain /v1/messages, /v1/models.

API key

Use a RouterBrain inference key (not an Anthropic console key):

x-api-key: YOUR_ROUTERBRAIN_KEY
anthropic-version: 2023-06-01

model field

Use catalog id from List models or OpenAI GET /models — do not assume official Claude version strings.

Verify

  • Non-stream POST /messages
  • stream: true + SSE parsing
  • Tools: tool_use / tool_result turns
  • Capture request_id on errors

Differences

Anthropic compatibility · Create message

One surface per product line

Pick Anthropic or OpenAI-compatible HTTP per integration; shared catalog ids, different wire formats.