COMMON QUESTIONS
What developers ask
Can Claude Code use WorldGate without an Anthropic login?
Yes. Set ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY in the same shell before starting Claude Code. WorldGate authenticates the request with a WorldGate key; it does not provide an Anthropic account or consumer subscription.
What base URL should Claude Code use?
Use https://worldgateapi.com with no trailing /v1. Claude Code appends the Anthropic Messages path itself.
Which Claude Code model should I select?
Use a model identifier that is currently listed by WorldGate, such as claude-opus-5. Compare current Opus, Sonnet, Haiku, and Fable rates on the pricing page before choosing.
Why does Claude Code ask me to log in?
The API key may be missing from the active shell or ANTHROPIC_AUTH_TOKEN may still be set. Unset the auth token, export ANTHROPIC_API_KEY again in the same terminal, and restart Claude Code.
Why do I get an output tokens error?
Set max_tokens to an integer between 1 and 16,384. The error concerns requested output length, not your prompt or the full context window.
How is Claude Code usage charged?
Requests deduct the published input, output, and applicable cached-token cost from WorldGate prepaid credit. There is no standard monthly WorldGate subscription for API usage.
Is WorldGate affiliated with Anthropic?
No. WorldGate is an independent API gateway and is not affiliated with or endorsed by Anthropic.