Claude Code
Configure
Section titled “Configure”export ANTHROPIC_BASE_URL=https://api.nexinfer.comexport ANTHROPIC_AUTH_TOKEN="$NEXINFER_API_KEY"claudeUse a key permitted for Claude models. Model availability is shown in the dashboard.
Verify tools and long context
Section titled “Verify tools and long context”Open a new Claude Code session and ask it to inspect a small local project using a tool call. A plain text response alone does not verify tool events. For a long existing session, keep a rollback copy of its configuration before switching providers.
NexInfer passes supported system, tools, thinking, cache_control, max_tokens, and streaming fields to the selected Claude channel without intentional rewriting.
Troubleshooting
Section titled “Troubleshooting”| Status | Check |
|---|---|
| 400 | Request schema, model context limit, and client version |
| 401 | ANTHROPIC_AUTH_TOKEN and base URL |
| 403 | Model permission on this key |
| 429 | Key balance, quota, and rate limits |
| 5xx / 529 | Retry with backoff; persistent failures need support investigation |