Claude Code routing

Connect Claude Code to TEKIZ.AI

Give Claude Code one Anthropic-compatible address. Use a TEKIZ.AI key for hosted models available to your account, or run a private router with your own Anthropic access, local models, and approved backups.

Create API key Read integrations Anthropic API route Browse models

Anthropic-compatible setup

Claude Code and Claude-style clients can use ANTHROPIC_BASE_URL=https://api.tekiz.ai with a generated sk_tekiz_* key for hosted account control.

Use your own Anthropic access

Configure an authorized Anthropic credential on your local or private TEKIZ.AI router. Ask about installation access if you need a local router. Hosted routes use models enabled for your TEKIZ.AI account.

When a Claude Code route reaches a limit

If a provider account or model reaches a limit, TEKIZ.AI can try another configured route that supports the request.

Configure Claude Code

This example uses a hosted TEKIZ.AI key. For your own provider credentials, set up a local router.

export ANTHROPIC_BASE_URL=https://api.tekiz.ai
export ANTHROPIC_API_KEY=sk_tekiz_your_generated_key

# Claude Code uses Anthropic-compatible messages traffic.
# Keep your provider credentials on a local or private router.
claude --append-system-prompt "Use TEKIZ.AI for model routing"

Optional Claude Code settings file

Merge this JSON into ~/.claude/settings.json. Keep the API key in your shell, secret manager, or service environment; do not paste this file example into a terminal.

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.tekiz.ai"
  }
}

Backups that support tool calls

Coding profiles only switch to models that can handle the tool calls Claude Code needs.

Send files to services that accept them

Image, audio, video, and document requests are matched to models that can handle those files.

Use accounts you are allowed to use

Configure your authorized Anthropic access on a router you control. Your TEKIZ.AI account gives you a separate hosted route.

Choose a Claude Code route

Use the hosted address for models available to your TEKIZ.AI account. Point Claude Code to your own router for authorized provider accounts and local models. Each address can choose among the eligible models configured for that deployment.

Next steps

Create an API key, read integrations, review Anthropic-compatible routing, or request Anthropic access review.