tunnelapi · API
Claude Code · Connect your tools
Connect your coding tools and applications to tunnelapi. Compare input, output and cache costs before your first request.
Use a dedicated API key for each tool. Set a spending limit and verify one small request, then inspect actual usage and cost in your account logs.
Connect your tools
https://api.tunnelapi.ru
Back up your existing configuration before editing. Merge settings rather than replacing the whole file. Never publish an API key or commit it to Git.
# macOS / Linux (CLI)
export ANTHROPIC_BASE_URL="https://api.tunnelapi.ru"
export ANTHROPIC_AUTH_TOKEN="replace-with-a-dedicated-key"
export ANTHROPIC_MODEL="replace-with-an-available-Claude-model"
claude
# Windows PowerShell (CLI)
$env:ANTHROPIC_BASE_URL="https://api.tunnelapi.ru"
$env:ANTHROPIC_AUTH_TOKEN="replace-with-a-dedicated-key"
$env:ANTHROPIC_MODEL="replace-with-an-available-Claude-model"
claude401 / 404 / 429
401: check the key and its permissions. 404: check the endpoint, API path and model. 429: reduce concurrency and check rate limits and group availability.