Skip to content

Alipay LLM API billing for GPT, Claude, Gemini, Claude Code, and Codex

Router One gives developers in China an OpenAI-compatible API gateway with Alipay checkout, automatic hosted-checkout email invoices, wallet pay-per-token billing, and live subscription plans. Top up with Alipay in RMB, create one API key, and route requests to GPT, Claude, Gemini, Grok, and coding tools such as Claude Code and Codex without managing separate provider accounts.

Alipay checkout & invoice facts at a glance

ItemCurrent checkout rule
Payment railsTop up with a card, Alipay or WeChat Pay through hosted checkout, or with USDT/USDC on six chains (Tron, BSC, Ethereum, Polygon, Base, Arbitrum). No US credit card required.
WeChat PaySupported since 2026-11-20 — choose the Card / Alipay / WeChat Pay option in Dashboard → Deposit, then pick WeChat Pay on the hosted checkout page.
Minimum top-upThe checkout page is the source of truth for the minimum amount. Card, Alipay and WeChat Pay top-ups currently usually start at $5 USD equivalent; RMB amounts are converted and shown at checkout using the current FX rate. Stablecoin top-ups usually start at $5 USD equivalent.
InvoicesEvery hosted-checkout payment (card, Alipay or WeChat Pay) automatically emails a checkout-issued invoice — including ordinary pay-as-you-go wallet top-ups, not only plans. Not a Chinese VAT invoice (fapiao); stablecoin top-ups are not invoiced.
Balance expiryWallet balance never expires and spends across all listed models at /models posted rates.
Empty walletWallet-billed requests outside active plan quota return HTTP 402 until you top up.

Why Alipay matters for LLM API access

RMB top-up & automatic email invoice

Alipay checkout credits your Router One wallet after payment confirmation and automatically emails a hosted-checkout invoice (for ordinary pay-as-you-go top-ups and plans alike; not a Chinese VAT fapiao). API usage draws from wallet balance or active plan quota.

One OpenAI-compatible endpoint

Use https://api.router.one/v1 with OpenAI-compatible SDKs, Codex CLI, OpenClaw, Hermes Agent, and application backends. Use https://api.router.one for Claude Code and Anthropic-compatible clients.

Cost traces after every request

Each request records model, request ID, token counts, recorded latency, status, and the wallet charge or plan quota used, so teams can audit spend instead of guessing from a monthly provider invoice.

Models and tools supported after Alipay top-up

The same Router One wallet can pay for GPT, Claude, Gemini, Grok, Claude Code, Codex CLI, and image generation endpoints when the selected model or feature is available on your account.

Browse models and pricing

How to pay for LLM API calls with Alipay

  1. 1Create a Router One account and open the dashboard.
  2. 2Open Dashboard → Deposit, choose a hosted checkout option (Card / Alipay or Card / Alipay / WeChat Pay), enter your top-up amount, and continue to the hosted checkout page.
  3. 3Select Alipay on the hosted checkout page and confirm the payment — your USD wallet credits automatically and an invoice is emailed to your checkout address.
  4. 4Create an API key after the balance is credited.
  5. 5Set OPENAI_BASE_URL to https://api.router.one/v1 for OpenAI-compatible clients.
  6. 6Use Logs to match the model and request ID, then verify tokens, recorded latency, status, and the wallet charge or plan quota used.

FAQ

Is WeChat Pay supported, and do Alipay top-ups come with an invoice?

Yes — WeChat Pay has been available since 2026-11-20 on the Card / Alipay / WeChat Pay hosted checkout option; RMB top-ups also run through Alipay on the hosted checkout (alongside major credit and debit cards, or per-order USDT/USDC deposit addresses on six chains). Every payment completed through the hosted checkout (card, Alipay or WeChat Pay) is invoiced automatically by email as soon as payment succeeds, including ordinary pay-as-you-go wallet top-ups, not only subscriptions or enterprise accounts. Invoices are issued by the hosted checkout and are not Chinese VAT invoices (fapiao); stablecoin top-ups are a separate rail and are not invoiced. Company buying notes: https://router.one/llm-api-procurement.

Can I use Alipay instead of a US credit card?

Alipay replaces a US credit card on Router One: Alipay top-ups through the hosted checkout credit the same USD wallet used for every model call, for developers who cannot or do not want to use a US credit card. The checkout page is the source of truth for the current minimum amount, FX rate, and any channel fee.

Does Alipay work for Claude Code and Codex?

Yes. Alipay credits the same Router One wallet. Claude Code uses the Anthropic-compatible endpoint at https://api.router.one, while Codex and OpenAI-compatible SDKs use https://api.router.one/v1.

Is Router One an agent orchestration runtime?

No. Router One is the model invocation gateway. Your application, coding tool, or framework controls orchestration; Router One handles model calls, routing, fallback, billing, and observability.

What happens when wallet balance is exhausted?

Requests outside active plan coverage return HTTP 402 until you top up again. The dashboard shows wallet balance events and, for requests the gateway forwards to a model, the wallet charge or plan quota used.

Choose the payment path that matches your workflow

After topping up: compare other payment options, set up your client once the credit lands, fund with stablecoins instead, or check billing rules.

Start with Alipay top-up

Top up your wallet