✓ Every tool is hand-reviewed by a human before it's listed. Now accepting free submissions (dofollow included) →

xxapi

AI Coding & Dev ToolsPaidWeb, API (OpenAI-compatible endpoint), Claude Code integration, Codex integration, CC Switch import.

A single API key that reaches Claude, GPT, Gemini, Grok, and DeepSeek from mainland China, paid with Alipay or WeChat.

Visit xxapiCompare

Are you the maker? Claim this listing to keep info, pricing and screenshots current. Verified via your tool's domain email.

62
Editor's Score
Reviewed by our team
Capability
17
Ease of use
18
Value
16
Delivery
11
xxapi screenshot 1
xxapi screenshot 2
The short verdict

xxapi is the clearest option for a mainland China developer who needs Claude Code or Codex access without an overseas card. Pricing on some tiers is genuinely cheap (Grok economy at roughly 4.3% of official price), but the relay model means you are trusting a third-party operator with your API traffic, and the service has no track record comparable to OpenRouter or the official APIs. Developers outside China who already have direct API access should skip it entirely.

Best for
Mainland China developers blocked by payment or access friction on official AI APIs.
Pricing
Paid
Free tier
No
Category
AI Coding & Dev Tools

What is xxapi?

xxapi (https://xxapi.ai) is an AI API relay for people who want to use top models from mainland China without an overseas card. One API key reaches Claude (Opus, Sonnet, Haiku, Fable), GPT and Codex, Gemini, Grok, DeepSeek and image models; Claude Code and Codex connect directly, and the key page imports into CC Switch in one click. Setup is short: register with email or Google, top up with Alipay, WeChat or Stripe at ¥1 = $1, pick a plan, create a key. Pricing is grouped in tiers - Codex standard about 5.8% of official price and advanced about 8.6%, Claude Code economy about 13% and welfare about 23% (no Fable), Gemini standard about 58%, Grok economy about 4.3% and standard about 6.5%, DeepSeek official about 65%; image generation $0.05 per image, 4K $0.35. Usage logs show per-request cost, and support is handled by real people.

How we scored xxapi

Capability scores 17 because the model coverage (Claude, GPT, Codex, Gemini, Grok, DeepSeek, images) is genuinely broad and the Claude Code and Codex direct integrations are a real differentiator for the target audience, but the service does nothing that a developer with direct API access cannot do, and model fidelity on relay services is an unverified risk. Ease of use scores 18 because the one-key setup, CC Switch import, and per-request logs are well-designed for the target user, though the credit top-up requirement before any testing adds friction. Value scores 16 because the Grok economy (roughly 4.3% of official) and Codex standard (roughly 5.8%) tiers are genuinely cheap, but Gemini at roughly 58% and DeepSeek at roughly 65% of official rates offer thin savings, and the HKD billing adds a currency variable; the score reflects the mixed picture across tiers rather than the best-case tiers alone. Delivery scores 11 because no SLA, uptime history, or independent user sentiment was found, the relay model means traffic passes through a third-party operator with unknown data handling practices, and the service's track record is short; these are not hypothetical risks for relay services but documented category-level concerns that apply directly here.

Pros and cons

What we liked

  • Grok economy and Codex standard tiers are priced at a small fraction of official rates (roughly 4.3% and 5.8% respectively), making high-volume Grok and Codex usage genuinely cheap for China-based developers.
  • Direct Claude Code and Codex integration, plus one-click CC Switch import, means agentic coding workflows connect without manual endpoint configuration.
  • Accepts Alipay, WeChat Pay, and Stripe, removing the overseas card requirement that blocks most mainland China developers from official API access.

Where it falls short

  • All traffic routes through xxapi's own infrastructure rather than hitting Anthropic, OpenAI, or Google directly, which is a data-privacy and reliability risk with no published SLA or uptime guarantee found during research.
  • Gemini standard is priced at roughly 58% of official Google rates and DeepSeek at roughly 65%, so the discount is thin or negligible for those specific models compared to what a developer with direct access would pay.
  • No free tier exists; developers must top up credits before testing, and the credit system charges in HKD at the day's USD/HKD rate, adding a small but real currency conversion variable to every billing cycle.

Key features

Unified API key across model families
One OpenAI-compatible key covers Claude, GPT, Codex, Gemini, Grok, DeepSeek, and image models. Switching models requires only a model name change, not a new key or endpoint.
China-friendly payment methods
Credits can be purchased with Alipay, WeChat Pay, or Stripe. This directly addresses the overseas card requirement that blocks most mainland China residents from official API billing.
Tiered pricing multipliers per model
Each model family offers multiple tiers (economy, standard, welfare, advanced) at different multipliers of the official list price, letting developers trade cost against output quality or quota.
Claude Code and Codex direct integration
The relay endpoint connects directly to Claude Code and Codex agentic workflows. The API key page also supports one-click import into CC Switch.
Image generation support
Standard image generation is priced at $0.05 per image, with 4K resolution images at $0.35 each, covering use cases beyond text-only LLM calls.
Per-request usage logs
The dashboard shows cost broken down per request, giving developers visibility into which model calls are driving spend without needing to export and parse raw billing data.

xxapi pricing

No free tier

Pay-as-you-go credit system. Top up with Alipay, WeChat, or Stripe at a rate of ¥1 = $1 (CNY-pegged credits). No flat monthly subscription; you pay per token at a plan multiplier applied to each model's list rate. Codex standard is roughly 5.8% of official price, Codex advanced roughly 8.6%, Claude Code economy roughly 13%, Claude Code welfare roughly 23%, Gemini standard roughly 58%, Grok economy roughly 4.3%, Grok standard roughly 6.5%, DeepSeek official roughly 65%. Image generation is $0.05 per image, $0.35 for 4K. Exact tier names and current multipliers should be verified against the live pricing page.

PlanPriceWho it is for
Codex Standard~5.8% of official Codex price (pay-as-you-go credits)Codex model access at the lowest multiplier tier. Credits purchased upfront via Alipay, WeChat, or Stripe.
Codex Advanced~8.6% of official Codex price (pay-as-you-go credits)Codex model access at a higher quality or quota tier.
Claude Code Economy~13% of official Claude price (pay-as-you-go credits)Claude (Opus, Sonnet, Haiku, Fable) access at the economy tier for Claude Code workflows.
Claude Code Welfare~23% of official Claude price (pay-as-you-go credits)Claude access at the welfare tier; Fable model not included at this tier.
Gemini Standard~58% of official Gemini price (pay-as-you-go credits)Gemini model access. Discount over official pricing is modest at this tier.
Grok Economy~4.3% of official Grok price (pay-as-you-go credits)Grok model access at the deepest discount tier available on the platform.
Grok Standard~6.5% of official Grok price (pay-as-you-go credits)Grok model access at the standard tier.
DeepSeek Official~65% of official DeepSeek price (pay-as-you-go credits)DeepSeek model access. Thin discount; primarily useful for payment method convenience rather than cost savings.
Image Generation$0.05 per image; $0.35 per 4K imageImage model access billed per image at flat per-image rates.

Pricing reflects what we saw at time of review (2026-11). Always confirm current pricing on the tool's own site.

Who should use xxapi?

A solo developer or small team in mainland China building with Claude Code, Codex, or any of the covered models who has hit the wall of overseas card requirements. The payment options (Alipay, WeChat, Stripe) and the direct Claude Code and Codex integrations make this a practical fit for someone who wants to run agentic coding workflows without setting up a foreign payment account or VPN-dependent workarounds.

Developers outside China, or anyone already holding official API access with a supported card, will find no advantage here. The relay adds a layer of operational risk and a currency conversion step that official API access avoids entirely. For those users, GitHub Copilot is a better-integrated option for in-editor coding assistance, and Cursor offers a full AI-first editor experience that does not require managing raw API keys at all.

Skip it if: Developers outside China with direct API access and a supported payment method.

xxapi alternatives

Compare xxapi alternatives side by side

Frequently asked questions

Is there a free trial or free tier?+

No. xxapi has no free tier. You must purchase credits before making any API calls. The minimum top-up amount is not confirmed from the pricing page search, so check the site directly before signing up.

What payment methods are accepted?+

Alipay, WeChat Pay, and Stripe are all accepted. Credits are priced at a CNY-pegged rate (¥1 = $1 as stated by the submitter), and billing is processed in HKD at the day's USD/HKD exchange rate.

Does the relay substitute cheaper models without telling you?+

This is a documented risk with API relays generally. A live probe of the xxapi endpoint in October 2026 confirmed it was returning responses, but independent verification of model fidelity (whether the model you request is the model actually serving the response) was not found during research. Treat this as an open question until independently confirmed.

Which models are covered?+

Claude (Opus, Sonnet, Haiku, Fable), GPT and Codex, Gemini, Grok, DeepSeek, and image generation models are listed. Claude Code and Codex connect directly to the relay endpoint.

How does xxapi compare in price to OpenRouter for the same models?+

For Grok and Codex, xxapi's economy tiers (roughly 4.3% and 5.8% of official price respectively) are likely cheaper than OpenRouter's typical margins. For Gemini (roughly 58% of official) and DeepSeek (roughly 65%), the savings are thin and OpenRouter may be competitive or cheaper depending on current rates. A direct comparison requires checking both pricing pages at the same time.

Can I use xxapi with Claude Code or Codex without extra configuration?+

Yes. The service advertises direct integration with Claude Code and Codex, and the key management page supports one-click import into CC Switch. You point the tool's base URL at the xxapi endpoint and use your xxapi key.

More AI Coding & Dev Tools

See all categories
CU
Cursor
AI-first code editor that edits and understands your entire codebase.
85
RO
Roblox GUI Maker
Browser-based AI-assisted visual builder that turns text prompts into Roblox Studio GUI mockups with export-ready Luau code.
82
GI
GitHub Copilot
AI coding assistant from GitHub that autocompletes code, answers questions, and runs agentic workflows inside your editor.
79
Built an AI dev tool?

Get your tool listed on 300+ directories.

One listing here is a strong start. But the founders who get discovered everywhere are listed everywhere. Our sister site, Free AI Directories, submits your tool to 300+ AI directories for you, every single one by hand, by a real person.

It is a one-time payment of $49, no subscription, and you can follow along as the submissions land. Prefer the slow route? The same site keeps a free list of 450+ directories you can work through yourself.

Get my tool listed on 300+ directories

One-time payment, no subscription · 100% human submissions · Free list of 450+ directories included.

Listing here gets a permanent dofollow linkDR 70
300+
Directories, submitted by hand
100%
Hand-submitted, not bots
0
Pay-to-rank slots, ever
Free
To list here, with dofollow
Compare: