Opening RouterHub
RouterHub

RouterHub setup

Claude Code

Use one RouterHub API key with a model that supports the API your tool sends. The public catalogue lists exact model IDs, protocols, and token rates.

Before setup

  1. Create a RouterHub account.
  2. Add credits.
  3. Create an API key and store it privately. Never share it in a public chat or repository.

Choose a guide

Provider API tutorials

API example

API base: https://routerhub.si/v1. Example model: claude-fable-5-1 (messages). Check the selected model's exact API before sending requests.

curl https://routerhub.si/v1/messages \
  -H "x-api-key: $ROUTERHUB_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-fable-5-1","max_tokens":64,"messages":[{"role":"user","content":"Reply with OK."}]}'

Read the complete agent quickstart · Download models.json · OpenAPI