Documentation

FAQ

Troubleshoot Claude Code, Codex, and Gemini CLI

Authentication

For 401 or 403 responses, verify that the key is complete, active, permitted to use the model, and that traffic reaches api.tokenbyte.ai.

Model IDs

Copy the exact ID from List Models or the model market.

Claude Code

Use ANTHROPIC_BASE_URL=https://api.tokenbyte.ai without /v1, and store the key in ANTHROPIC_AUTH_TOKEN.

Codex

Use https://api.tokenbyte.ai/v1 and wire_api = "responses". Ensure the provider's env_key matches the environment variable containing your key.

Gemini CLI

Set GEMINI_API_KEY and GOOGLE_GEMINI_BASE_URL=https://api.tokenbyte.ai, then select Use Gemini API key at startup.

On this page