TenZenTenzen AI
Tool Integration

Claude Code

Connect Claude Code to Tenzen AI (Anthropic-compatible)

Claude Code

Claude Code is Anthropic’s coding CLI. Point its base URL and token at Tenzen AI to use your routed models.

Quick start

  1. Install via Anthropic’s docs.
  2. Set environment variables (names may vary by CLI version):
export ANTHROPIC_BASE_URL="https://your-tenzen.example.com/anthropic"
export ANTHROPIC_AUTH_TOKEN="YOUR_TENZEN_API_KEY"
  1. Run claude and pick a model ID that exists on your Tenzen AI instance.

Troubleshooting

  • 401: invalid or expired token.
  • 404: wrong path—use the Anthropic-compatible prefix documented for your gateway.
  • Unknown model: verify spelling in the console or API reference.