# Y-API > Limited-time: $1 buys $20 of credit (reverts to 1:10 afterwards) — pay per token, with no monthly fee and no minimum spend. OpenAI-compatible — change one base_url to access DeepSeek, Qwen, MiniMax, Z.ai, Moonshot AI, and Xiaomi. Your request content is not stored. The prompts you send and the content the model returns are never saved. Console logs record only call metadata — time, model, token counts, latency, and credit deducted — for reconciliation. ## API - base_url: `https://api.y-api.bestvirtualgoods.com/v1` - Protocol: OpenAI Chat Completions — Keep the OpenAI request and response shapes. openai-python, openai-node, and any SDK, framework, or agent client that speaks the OpenAI protocol can point here directly — your existing code stays untouched. - Auth: `Authorization: Bearer `, keys are created in the console - Streaming: Add the stream parameter — chunks come back in the same SSE format as OpenAI, so clients need no special handling. - Switching models: All models share the same base_url and the same key — switching only means changing the model field. The full catalog is on the models page. ## Billing - Top-up conversion: every $1 paid adds $20 of account credit, at a fixed rate with no volume tiers - What the credit runs: $1 of sign-up credit ≈ 7.14M input tokens on xiaomi/mimo-v2.5, the lowest-priced model in the catalog at $0.14 per 1M tokens in credit. Every $1 you top up becomes $20 in credit ≈ 143M input tokens on that same model. - Cash price: model prices below are quoted in account credit; divide by 20 for the USD actually paid. `xiaomi/mimo-v2.5` at $0.14 in credit costs $0.007 per 1M input tokens in cash. The cash price is the figure to compare against other providers' list prices. - Machine-readable prices, with both the credit price and the cash price already computed: https://y-api.bestvirtualgoods.com/pricing.json - Billing: Credit is deducted per token of usage. No calls, no charges. - Monthly fee: None. No subscription threshold or minimum spend either. - New users: $1 credit on sign-up, no card required. - Credit exhausted: The API returns 429. Top up at https://y-api.bestvirtualgoods.com/app/billing — it recovers immediately, and keys stay valid. ## Models Every model is called through the same base_url and the same key — switching models only means changing the model field. The model IDs below are ready to copy. DeepSeek: `deepseek/deepseek-v4-flash` (in $0.15 / out $0.30 per 1M tokens) Qwen: `qwen/qwen3.8-max` (in $2.00 / out $6.00 per 1M tokens) MiniMax: `minimax/minimax-m3` (in $0.30 / out $1.20 per 1M tokens) Z.ai: `z-ai/glm-5.1` (in $1.40 / out $4.40 per 1M tokens), `z-ai/glm-5.2` (in $1.40 / out $4.40 per 1M tokens), `z-ai/glm-5.3-flash` (in $0.15 / out $0.50 per 1M tokens) Moonshot AI: `moonshotai/kimi-k3` (in $3.00 / out $15.00 per 1M tokens), `moonshotai/kimi-k2.6` (in $0.95 / out $4.00 per 1M tokens), `moonshotai/kimi-k2.5` (in $0.60 / out $3.00 per 1M tokens) Xiaomi: `xiaomi/mimo-v2.5` (in $0.14 / out $0.28 per 1M tokens) ## Pages English is the default locale; mirrors live under /zh (中文), /ja (日本語), /ko (한국어), /es (Español), /pt (Português (BR)), /de (Deutsch). - [Y-API — The LLM API everyone can afford](https://y-api.bestvirtualgoods.com/): Limited-time: $1 buys $20 of credit (reverts to 1:10 afterwards) — pay per token, with no monthly fee and no minimum spend. OpenAI-compatible — change one base_url to access DeepSeek, Qwen, MiniMax, Z.ai, Moonshot AI, and Xiaomi. ([中文](https://y-api.bestvirtualgoods.com/zh) [日本語](https://y-api.bestvirtualgoods.com/ja) [한국어](https://y-api.bestvirtualgoods.com/ko) [Español](https://y-api.bestvirtualgoods.com/es) [Português (BR)](https://y-api.bestvirtualgoods.com/pt) [Deutsch](https://y-api.bestvirtualgoods.com/de)) - [Available models](https://y-api.bestvirtualgoods.com/models): Y-API currently supports 10 models from vendors including DeepSeek, Qwen, MiniMax, Z.ai, Moonshot AI, and Xiaomi — all through one OpenAI-compatible endpoint; switching models only means changing the model field. ([中文](https://y-api.bestvirtualgoods.com/zh/models) [日本語](https://y-api.bestvirtualgoods.com/ja/models) [한국어](https://y-api.bestvirtualgoods.com/ko/models) [Español](https://y-api.bestvirtualgoods.com/es/models) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/models) [Deutsch](https://y-api.bestvirtualgoods.com/de/models)) - [Pricing & billing](https://y-api.bestvirtualgoods.com/pricing): Y-API deducts account credit per token: limited-time top up $1 for $20 in credit (reverts to 1:10 afterwards), get $1 on sign-up — no monthly fee, no subscription threshold, no minimum spend. ([中文](https://y-api.bestvirtualgoods.com/zh/pricing) [日本語](https://y-api.bestvirtualgoods.com/ja/pricing) [한국어](https://y-api.bestvirtualgoods.com/ko/pricing) [Español](https://y-api.bestvirtualgoods.com/es/pricing) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/pricing) [Deutsch](https://y-api.bestvirtualgoods.com/de/pricing)) - [Integration guide](https://y-api.bestvirtualgoods.com/docs): Point base_url at Y-API and leave the rest of your code unchanged. The examples below run as copied, and all 10 models share the same pattern. ([中文](https://y-api.bestvirtualgoods.com/zh/docs) [日本語](https://y-api.bestvirtualgoods.com/ja/docs) [한국어](https://y-api.bestvirtualgoods.com/ko/docs) [Español](https://y-api.bestvirtualgoods.com/es/docs) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/docs) [Deutsch](https://y-api.bestvirtualgoods.com/de/docs)) - [Y-API vs OpenRouter](https://y-api.bestvirtualgoods.com/vs/openrouter): A side-by-side comparison of Y-API and OpenRouter: what a top-up converts into, which fees apply, how request content is handled, and how model coverage differs. Every OpenRouter fact is cited from its own documentation. ([中文](https://y-api.bestvirtualgoods.com/zh/vs/openrouter) [日本語](https://y-api.bestvirtualgoods.com/ja/vs/openrouter) [한국어](https://y-api.bestvirtualgoods.com/ko/vs/openrouter) [Español](https://y-api.bestvirtualgoods.com/es/vs/openrouter) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/vs/openrouter) [Deutsch](https://y-api.bestvirtualgoods.com/de/vs/openrouter)) - [Y-API vs the DeepSeek API](https://y-api.bestvirtualgoods.com/vs/deepseek-official): What the DeepSeek models cost through Y-API versus paying DeepSeek directly: cash price per 1M tokens for every comparable build, the two builds DeepSeek no longer lists, and the case where DeepSeek is the cheaper of the two. Every DeepSeek figure is quoted from its own pricing page. ([中文](https://y-api.bestvirtualgoods.com/zh/vs/deepseek-official) [日本語](https://y-api.bestvirtualgoods.com/ja/vs/deepseek-official) [한국어](https://y-api.bestvirtualgoods.com/ko/vs/deepseek-official) [Español](https://y-api.bestvirtualgoods.com/es/vs/deepseek-official) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/vs/deepseek-official) [Deutsch](https://y-api.bestvirtualgoods.com/de/vs/deepseek-official)) - [Y-API vs the official Qwen API](https://y-api.bestvirtualgoods.com/vs/qwen-official): What the Qwen models cost through Y-API versus paying Alibaba Cloud Model Studio directly: cash price per 1M tokens for 1 of the 1 Qwen builds in the catalog, every Alibaba figure taken from its cheapest region and shortest input tier, plus the tiers it publishes that go the other way. ([中文](https://y-api.bestvirtualgoods.com/zh/vs/qwen-official) [日本語](https://y-api.bestvirtualgoods.com/ja/vs/qwen-official) [한국어](https://y-api.bestvirtualgoods.com/ko/vs/qwen-official) [Español](https://y-api.bestvirtualgoods.com/es/vs/qwen-official) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/vs/qwen-official) [Deutsch](https://y-api.bestvirtualgoods.com/de/vs/qwen-official)) - [LLM API price comparison](https://y-api.bestvirtualgoods.com/compare/prices): The same models priced side by side across vendor official APIs, OpenRouter, Together AI, DeepInfra and Y-API — in dollars per 1M tokens, with the source and verification date for every figure, and an explicit note on where Y-API costs more. ([中文](https://y-api.bestvirtualgoods.com/zh/compare/prices) [日本語](https://y-api.bestvirtualgoods.com/ja/compare/prices) [한국어](https://y-api.bestvirtualgoods.com/ko/compare/prices) [Español](https://y-api.bestvirtualgoods.com/es/compare/prices) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/compare/prices) [Deutsch](https://y-api.bestvirtualgoods.com/de/compare/prices)) - [System status](https://y-api.bestvirtualgoods.com/status): View the current operational status of the Y-API website, public API gateway, and account platform. ([中文](https://y-api.bestvirtualgoods.com/zh/status) [日本語](https://y-api.bestvirtualgoods.com/ja/status) [한국어](https://y-api.bestvirtualgoods.com/ko/status) [Español](https://y-api.bestvirtualgoods.com/es/status) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/status) [Deutsch](https://y-api.bestvirtualgoods.com/de/status)) - [Privacy Policy](https://y-api.bestvirtualgoods.com/privacy): What Y-API collects, what it does not collect, how that information is used and shared, and how you can exercise your rights. ([中文](https://y-api.bestvirtualgoods.com/zh/privacy) [日本語](https://y-api.bestvirtualgoods.com/ja/privacy) [한국어](https://y-api.bestvirtualgoods.com/ko/privacy) [Español](https://y-api.bestvirtualgoods.com/es/privacy) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/privacy) [Deutsch](https://y-api.bestvirtualgoods.com/de/privacy)) - [Terms of Service](https://y-api.bestvirtualgoods.com/terms): Please read before using Y-API: accounts, billing and credit, acceptable use, service availability, and the limits of liability. ([中文](https://y-api.bestvirtualgoods.com/zh/terms) [日本語](https://y-api.bestvirtualgoods.com/ja/terms) [한국어](https://y-api.bestvirtualgoods.com/ko/terms) [Español](https://y-api.bestvirtualgoods.com/es/terms) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/terms) [Deutsch](https://y-api.bestvirtualgoods.com/de/terms)) - [GDPR Notice](https://y-api.bestvirtualgoods.com/gdpr): Supplementary information for users in the EU and EEA: the data controller, the legal bases for processing, your rights, and how to exercise them. ([中文](https://y-api.bestvirtualgoods.com/zh/gdpr) [日本語](https://y-api.bestvirtualgoods.com/ja/gdpr) [한국어](https://y-api.bestvirtualgoods.com/ko/gdpr) [Español](https://y-api.bestvirtualgoods.com/es/gdpr) [Português (BR)](https://y-api.bestvirtualgoods.com/pt/gdpr) [Deutsch](https://y-api.bestvirtualgoods.com/de/gdpr)) ## Notes - Model catalog and prices are a build-time snapshot synced 2026-08-31; the site pages and the console are the source of truth. - A full, self-contained reference for this site is at https://y-api.bestvirtualgoods.com/llms-full.txt. - This file is generated by `scripts/generate-seo-assets.mjs` — do not edit by hand.