Quick Start
Base URL
The unified root address for ApiHub is `https://www.apihub.ink`. Different protocols and tools require slightly different base URL formats.
Last updated: 2026-08-03
Protocol Addresses
| Protocol | Base URL |
|---|---|
| OpenAI Compatible | https://www.apihub.ink/v1 |
| Anthropic Compatible | https://www.apihub.ink |
Tool URL Rules
Many CLI tools and desktop clients automatically append /v1 or a specific endpoint. Each tool guide specifies which format to use.
| Tool | Base URL to enter |
|---|---|
| Claude Code | https://www.apihub.ink (root, no /v1) |
| Codex | https://www.apihub.ink/v1 |
| OpenAI SDK | https://www.apihub.ink/v1 |
| Cherry Studio | https://www.apihub.ink/v1 |
Troubleshooting
| Symptom | Common Cause |
|---|---|
| 404 Not Found | Base URL has an extra or missing /v1 |
| 401 Unauthorized | API Key is wrong or Bearer prefix is missing |
| Connection timeout | Incorrect domain, or network cannot reach www.apihub.ink |