Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
TTAPI’s Claude-compatible base URL is
https://cc.ttapi.io. Once your local environment variables are set, Claude Code will send requests through TTAPI.- Windows
- macOS
- Linux
Required environment variables
Troubleshooting
claude command not found
- Reopen the terminal
- Confirm the install path is on
PATH - Run
claude --versionagain
Auth or request error after launch
- Check that
ANTHROPIC_BASE_URLis set tohttps://cc.ttapi.io - Check that
ANTHROPIC_API_KEYcontains a valid TTAPI key - Reopen the terminal to reload environment variables
Can I still use the default Anthropic setup?
Yes. But if you want Claude Code traffic to go through TTAPI, bothANTHROPIC_BASE_URL and ANTHROPIC_API_KEY must point to the TTAPI-compatible endpoint and your TTAPI key.
What models does Claude Code support?
Claude Code is not a single fixed model. Instead, it dynamically routes across multiple Claude models. Commonly used models include:- Claude Opus (high-performance reasoning and complex coding)
- Claude Sonnet (balanced performance and cost for general development)
- Claude Haiku (lightweight and fast for simple tasks)