ApiHub Developer Documentation
ApiHub Docs
ApiHub docs are organized around integration scenarios: get your API Key, configure your tool, make your first request, then explore models, limits, errors, and billing.

Recommended reading order
Content overview
| Section | Who it's for |
|---|---|
| Quick Start | First-time ApiHub users |
| Integrations | Users of Claude Code, Codex, Cherry Studio, OpenCode, OpenClaw, or Hermes |
| API Protocols | Developers calling OpenAI / Anthropic compatible protocols directly |
| Account | Users who want to understand quota, concurrency, billing, and reset rules |
| Error Codes | Self-service troubleshooting for failed requests, disconnected tools, or balance issues |
| Billing & Refunds | Top-up, refunds, and order-related questions |
Quick Start
Get your API Key, confirm the Base URL, and make your first request.
Claude Code
Configure the Anthropic-compatible service to connect Claude Code to ApiHub.
Codex
Configure config.toml and OPENAI_API_KEY to use OpenAI-compatible models.
Integrations
Connect Cherry Studio, OpenCode, OpenClaw, Hermes, and more to ApiHub.
Error Codes
Diagnose 401, 403, 413, 429, and upstream errors.
API Protocols
OpenAI Compatible and Anthropic Compatible endpoints and request formats.
Model List
View available model IDs and billing types for Claude, GPT/Codex, and more.
Billing & Refunds
Top-up, refund conditions, and refund process.