CanalAPI

Connect AI to the way you work.

Set up Claude Code or Codex, or bring models into your own app. Choose a path and make your first request.

See how it connects
API URL
https://api.canalapi.com
Protocol
Anthropic Messages
Key configuration
ANTHROPIC_AUTH_TOKEN

Configuration preview. Set your key and model using the guide.

View the full setup

Choose your starting point

New here? Get your API key first.

  1. Create an account and API key. Save it and set its access limits.
  2. Choose a tool guide and set the right URL, key, and model.
  3. Send a request, then confirm the result in usage logs.
Follow the illustrated guide
CanalAPI test account key-creation dialog, with sensitive information masked
Test account interface · key masked

Find the tool you already use

17 setup guides, including the two coding tools above. Pick a category to jump into configuration.

Go deeper when you need to

About CanalAPI and platform capabilities

CanalAPI is an AI model API aggregation platform that exposes a single endpoint compatible with the OpenAI, Anthropic, and Google Gemini protocols, fronting hundreds of large language and multimodal models from overseas providers (OpenAI, Anthropic, Google, xAI, …) and Chinese providers (DeepSeek, Moonshot / Kimi, Zhipu, Alibaba Qwen, Baidu ERNIE, MiniMax, and more).

It is operated by a Japan-incorporated entity and serves two complementary audiences:

  • Developers and teams inside China that need reliable access to overseas frontier models, with local payment methods (Alipay / WeChat Pay / Stripe) and compliant Japanese invoices (Qualified Invoice / 適格請求書).
  • Developers in Japan and the rest of the world that want a fast, affordable gateway into Chinese open-weight and proprietary models.

What this site covers

This site is the public documentation for CanalAPI. It is intended for:

  • End users who manage an account, API keys, and billing.
  • External developers who want to integrate CanalAPI into their own applications.
  • Teams evaluating CanalAPI for production workloads.

It is not a reference for CanalAPI's internal services or operations.

Highlights

  • One endpoint, many models. A single Base URL exposes hundreds of models — pick the model name in the request body.
  • Multiple protocol endpoints. OpenAI Chat Completions / Responses, Anthropic Messages, and native Gemini. Set the URL for your client and verify the selected model supports the required capabilities.
  • Multimodal coverage. Text, vision, tool calling, text-to-image, speech transcription / translation / TTS, text embeddings, content moderation.
  • Transparent metering. Every request is recorded with token counts and cost. Real-time balance, usage logs, and CSV export are available in the console.
  • Access and spending controls. IP/model restrictions, key spending caps, and expiration; see rate limits for throttling responses and handling.
  • Flexible billing. Both prepaid balance (Alipay / WeChat Pay / Stripe) and period-based subscriptions (Stripe Checkout), with Japan-compliant invoicing.
  • Account security. Email + password, OAuth (GitHub / Google), TOTP 2FA, active-session management, and new-device login alerts.

Where to go next

  • Getting Started — create an account, get an API key, send your first request.
  • User Guide — account, API keys, billing, subscriptions, security, referrals.
  • Developer Guide — authentication, endpoints, errors, streaming, models, rate limits.
  • Examples — curl, JavaScript, Python.
  • FAQ

Note: CanalAPI is under active development. Some endpoints and features may evolve. Breaking changes are announced in the Changelog.