NezhaGateNezhaGate

NezhaGate FAQ

Common questions on access, billing, models and safety.

Last updated:

Basics

What is NezhaGate?
NezhaGate is an OpenAI-compatible AI API platform: one key gives you chat, image and video models. Existing OpenAI SDK code connects by changing the base URL to https://nezhagate.com/v1 and using your NezhaGate key, and Claude models also speak the native Anthropic API.
What does "chat, images, video — one API" actually mean?
One Base URL and one API key cover all three kinds of work: chat at /v1/chat/completions, images at /v1/images/generations (image-to-image at /v1/images/edits), and video at /v1/videos/generations. The models come from OpenAI (GPT), Anthropic (Claude), Google (Gemini), ByteDance (Seedance), Alibaba (Wan), xAI (Grok), MiniMax and more, so you do not integrate an SDK, open an account and reconcile a bill for each vendor separately. To switch or compare models, you change a single model parameter.
How does NezhaGate differ from the official OpenAI / Claude / Gemini APIs?
NezhaGate serves the vendors' own models; what changes is how you reach them. One key covers every vendor, the API is OpenAI-compatible across the board (Claude also speaks the native Anthropic API), and billing, logs and balance live in one console. Flagship models are connected to multiple suppliers with automatic failover, and you save up to 85% against official prices.

Models & quality

Which models are supported?
NezhaGate currently offers OpenAI's GPT-6 family (Astra / 6.1 Sol / Sol / Luna), the GPT-5.6 family (Sol / Luna) and the image models GPT Image 2 and GPT Image 2.5 (Flare / Sunburst); Anthropic's Claude Opus 5.5, Claude Sonnet 5.5, Claude Opus 5, Claude Sonnet 4.6 and Claude Fable 5; Google's Gemini 3.1 Pro, Gemini 3.8 Flash and the image models Nano Banana 2.1, Nano Banana 2 and Nano Banana Pro; DeepSeek V4.1 Flash and V4 Flash 0731; Z.ai's GLM-5.3; Alibaba's Qwen3.8 family (Max / Flash); xAI's Grok 4.7 and the image model Grok Imagine Image (Standard / Quality); and for video, Seedance 2.5 and the Seedance 2.0 family, Wan 3.0, MiniMax H3 and Grok Imagine Video 1.5. Every model shares the same endpoint and key; the live, complete list is on the Model Marketplace.
Are NezhaGate's models the original vendor models?
Yes. The model you ask for is the model that answers, and we never rewrite its output. The one exception is the Chinese models GLM and Qwen: if every line for one of them fails at the same time, the request is answered by a model of equal or greater capability, billed at whichever of the two prices is lower, and your call log says which model answered and which price applied. Every call is in your logs with the model, usage, charge and latency, and each model's live state is public on the Status page. Every week we also run a fixed question set against our flagship models to measure success rate, time to first token and output speed.
Do you support GPT, Claude and Gemini?
Yes. The main models from GPT (OpenAI), Claude (Anthropic) and Gemini (Google) are all available through one OpenAI-compatible interface. Switching models only requires changing the model field in your request — no new SDK or re-integration needed.
Do you support image and video generation?
Yes. For images there are GPT Image 2, GPT Image 2.5 (Flare / Sunburst), Nano Banana 2.1, Nano Banana 2 and Nano Banana Pro: text-to-image at /v1/images/generations and image-to-image at /v1/images/edits, up to 4K. For video there are Seedance, Wan 3.0, MiniMax H3 and Grok Imagine Video at /v1/videos/generations. Results come back as direct links you can use in your app right away.
How often are prices and model details updated?
The Pricing page and the Model Marketplace are wired to the billing system in real time, so the price you see is exactly the price you are charged. New models and price changes appear as soon as they go live, and price changes are announced on the site one day in advance.

Pricing & billing

How is NezhaGate priced? Are there hidden fees?
NezhaGate bills by actual usage: chat by the token, images by the picture, and video mostly by the second (a few models are priced per clip, as the Pricing page shows). You save up to 85% against official prices, and every model is listed next to its official price on the Pricing page — no hidden multipliers, no prices that only appear after you top up. Price changes are announced on the site one day in advance.
Why is NezhaGate cheaper than the official APIs?
NezhaGate buys model capacity in bulk from multiple suppliers at below-retail cost, so most models cost less here than at the official API; the Pricing page shows exactly how much you save on each one. We earn the margin between our cost and our price, and we charge no top-up fees.
How are failed calls billed?
NezhaGate never charges for a failed call. Asynchronous jobs such as images and video reserve credits when you submit them and refund them in full automatically if the job fails, with the reason written to your log. If a streamed answer breaks off midway, you are billed only for the usage the upstream actually returned.
Do NezhaGate credits expire? Can I get a refund?
NezhaGate credits don't expire. Top-ups start at ¥10 (260 credits) with WeChat Pay and at $5 with USDT or a card, and every new account gets 30 free credits at sign-up and 50 more with its first top-up. Your top-up history and the charge for every call in the last 60 days are in the console. Within 7 days of a top-up, unused purchased credits can be refunded through support, minus a fee per refund of $1.40 for top-ups made on or after October 29, 2026 and $0.40 for earlier ones; bonus credits are not refundable, and USDT payments can be refunded too.
How do I check my balance and usage?
Sign in and the console shows your live balance, usage per API key, and every call from the last 60 days: model, time, tokens or image count, latency and charge, with the reason written next to any failed call. You can also read your balance programmatically through the balance endpoint.

Reliability & limits

How reliable is NezhaGate?
NezhaGate connects flagship models — GPT, Gemini, DeepSeek, GLM, Kimi, GPT Image, Nano Banana, Seedance 2.0 and more — to multiple suppliers. If one returns an error, times out or is at capacity, the request moves automatically to the next supplier for the same model; a streamed answer switches before it starts and is never moved once output has begun. The gateway is probed around the clock, every 2 minutes; live model status and gateway availability are published on the Status page, with success rates counted from real customer traffic only. Failed calls are never billed, and failed image and video jobs are refunded in full.
Does NezhaGate have rate limits?
NezhaGate sets no default per-account rate limit. On the API Keys page you can give each key its own requests-per-minute cap, daily budget, total spend limit, model allowlist and IP allowlist. If every line for a model is at capacity at once, you get a 429 with a Retry-After header; retry after that interval. For sustained high concurrency, contact support in advance and we will add capacity for your volume. Free promotional models carry a daily call quota.
Is it suitable for commercial projects or AI tool sites?
Yes. NezhaGate gives you an OpenAI-compatible API, per-project API keys (each with its own spend, rate, model and IP limits), itemised call logs and billing that never charges for failures, ready to plug into commercial products and tool sites. Please follow the Terms of Service and each model vendor's usage policies.
Do you support enterprise cooperation or bulk calls?
Yes. NezhaGate can handle larger-scale batch calls, and we welcome enterprise inquiries. For higher concurrency, dedicated quota or integration needs, email support@nezhagate.com or use the Contact us option on the site. The plan is tailored to your usage and scenario.
Which scenarios suit NezhaGate best?
NezhaGate suits cases where you need to call several model providers in one project, want unified billing and usage management, or want to quickly validate different models. Common uses include AI tool sites, SaaS products, automation workflows, agents and multi-model comparison. It is especially convenient when you need to switch flexibly between models.

Integration & development

How do I get started quickly with NezhaGate?
Getting started takes three steps: register an account, create an API key in the console, then point your Base URL at NezhaGate and add the key. Because it is fully OpenAI-compatible, existing OpenAI SDK code needs almost no changes — just swap base_url and api_key. See the developer docs for details.
How should I configure the Base URL?
Set the Base URL to https://nezhagate.com/v1. In the OpenAI SDK, set base_url (or the OPENAI_BASE_URL environment variable) to that address and use the key you created in the console. Use /v1/chat/completions for chat and /v1/images/generations for images — the paths match OpenAI.
Is it compatible with the OpenAI SDK?
Yes. NezhaGate implements the OpenAI-compatible interface, so the official openai SDK works by simply changing base_url and api_key. Request and response shapes match OpenAI, including streaming output and multimodal input.
Do you support Python, Node.js and curl?
Yes. Any language that can make HTTP requests or use the OpenAI SDK works, including Python, Node.js, Go, Java and plain curl. The docs include ready-to-run Python, Node.js and curl examples.
Do you support n8n, Dify, LangChain, Open WebUI, LobeChat, Cherry Studio and ChatBox?
Yes. Most of these tools let you set a custom OpenAI-compatible Base URL and API key — point them at NezhaGate to use the platform's models. If a tool supports an OpenAI-compatible or custom endpoint, it can connect to NezhaGate with no extra plugin.
What if my API key is leaked?
If you suspect an API key is leaked, delete or rotate it in the console immediately — once revoked, the old key can no longer be used. We recommend creating separate keys per project and never embedding keys in front-end code or public repos. You can check each key's usage in the console at any time to spot anomalies.

Data, security & support

Does NezhaGate store or look at my data?
NezhaGate uses call content only to complete the call, to show it to you in your logs and to troubleshoot problems; it is never used to train any model and never sold or shared with advertisers. Apart from the model suppliers and infrastructure services needed to complete a call (CDN, cloud storage, and a search service when you turn on web search), it is not shared with third parties. Call logs stay in your console for 60 days; their text content is deleted after 30 days, leaving only the usage record needed for billing. Generated images and videos are deleted after 15 days and uploaded reference files after 7 days. Database backups are kept for up to 30 more days.
Are my account and API keys safe?
Every API key can carry its own spend limit, requests-per-minute cap, model allowlist and IP allowlist, and can be disabled or deleted at any time, so one leaked key never reaches your other projects. Keys are stored encrypted on our servers and you can view and copy them whenever you are signed in; every call and every balance change is itemised for you to check.
Who do I contact if something goes wrong?
NezhaGate support is under "Contact" in the site's top navigation and in your console: WeChat, our Telegram group, and email at support@nezhagate.com. Support hours are 10:00–19:00 Beijing time (UTC+8), and we reply within an hour of seeing your message.
What uses are prohibited?
You may not use NezhaGate for anything that violates laws or the model vendors' usage policies, including generating or distributing illegal, infringing, fraudulent or malware content, or automated abuse and bypassing quota or safety limits. Violations may lead to account restriction or termination. The full rules are in the Terms of Service.
What should I keep in mind when using NezhaGate?
Keep your API keys safe, top up as you need, and follow the Terms of Service and each model vendor's usage policies. Check unit prices on the Pricing page before you call, and give your keys a daily budget and a total limit to rule out unexpected spend.
Browse the model market View pricing API Docs →