Developer guides · API access # Xinghuo AI API guides: integration, models, billing and buying Developer guides for Xinghuo AI Gateway: OpenAI-compatible API, Claude Code, model selection, billing, troubleshooting and buying credits. Xinghuo AI Gateway · Updated 2026-10-14 Choose the guide matching your application or buying question. These pages describe the site-issued API service and its current integration addresses. ## Find your starting point ## [OpenRouter alternatives: choosing an AI API relay or self-hosted gateway](https://ai.wfpromax.xyz/guides/en/ai-api-relay-selection.html) Compare hosted AI API relays and self-hosted LLM gateways. Check OpenAI compatibility, token costs and request results before using Xinghuo AI Gateway. ## [What is Xinghuo AI Gateway? API access, models and service scope](https://ai.wfpromax.xyz/guides/en/service.html) Xinghuo AI Gateway is a third-party multi-model API service. Learn its base URLs, key permissions, pricing sources and supported integration workflows. ## [OpenAI-compatible API quickstart: base URL, key and model](https://ai.wfpromax.xyz/guides/en/openai-compatible-api.html) Connect applications to Xinghuo AI Gateway with a site API key, discover permitted model IDs and send a small Chat Completions request using cURL. ## [Claude Code gateway setup: base URL, authentication and model](https://ai.wfpromax.xyz/guides/en/claude-code.html) Configure Claude Code for Xinghuo AI Gateway on macOS, Linux or PowerShell. Check authentication, editor environment and actual model permissions. ## [AI API token billing explained: input, output and cache](https://ai.wfpromax.xyz/guides/en/token-billing.html) Understand input tokens, output tokens, cache reads and writes, group multipliers and usage records before estimating Xinghuo AI API costs. ## [AI API error guide: 401, 403, 404, 429 and 503](https://ai.wfpromax.xyz/guides/en/api-errors.html) Troubleshoot Xinghuo API authentication, model permissions, endpoint mistakes, rate limits and temporary service errors with a concise diagnostic checklist. ## [AI API buying guide: models, pricing, credits and redemption](https://ai.wfpromax.xyz/guides/en/buying-guide.html) Buy Xinghuo AI API credits with a clear checklist: model access, input and output pricing, group rates, expiry, checkout, redemption and usage verification. ## [How to choose GPT, Claude, Gemini or Kimi API models](https://ai.wfpromax.xyz/guides/en/model-selection.html) Choose an AI API model by task, protocol, tool support and real cost. Check group access and the current Xinghuo catalog before integrating your application. ## [ChatGPT and Claude subscriptions vs API credits: what is different?](https://ai.wfpromax.xyz/guides/en/api-vs-subscription.html) Understand web subscriptions versus API credits: accounts, keys, billing and clients differ. Choose the right product before buying Xinghuo API access. ## Before your first request 1. Create a site account and API key. 2. Check the model ID, protocol, group permissions and pricing. 3. Use `https://ai.wfpromax.xyz/v1` for OpenAI-compatible clients or the root URL for Claude Code. 4. Validate a small request and inspect usage before increasing volume. ## API credits are separate from web memberships A provider web subscription does not supply credits on this site. Model availability and prices can change; confirm them in the current catalog and your account. ## Choose a model. Connect your application. Check current model access and account pricing, then register and buy the credits you need. [View models & pricing](https://ai.wfpromax.xyz/available-channels?entry=guide_en_overview) [Buy credits](https://ai.wfpromax.xyz/purchase?entry=guide_en_overview) [Create an account →](https://ai.wfpromax.xyz/register?entry=guide_en_overview) ## Related guides [What is Xinghuo AI Gateway? API access, models and service scope](https://ai.wfpromax.xyz/guides/en/service.html)[OpenAI-compatible API quickstart: base URL, key and model](https://ai.wfpromax.xyz/guides/en/openai-compatible-api.html)[Claude Code gateway setup: base URL, authentication and model](https://ai.wfpromax.xyz/guides/en/claude-code.html)[AI API token billing explained: input, output and cache](https://ai.wfpromax.xyz/guides/en/token-billing.html)[AI API error guide: 401, 403, 404, 429 and 503](https://ai.wfpromax.xyz/guides/en/api-errors.html)[AI API buying guide: models, pricing, credits and redemption](https://ai.wfpromax.xyz/guides/en/buying-guide.html)[How to choose GPT, Claude, Gemini or Kimi API models](https://ai.wfpromax.xyz/guides/en/model-selection.html)[ChatGPT and Claude subscriptions vs API credits: what is different?](https://ai.wfpromax.xyz/guides/en/api-vs-subscription.html)