Migrate in two lines
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.
$1 buys $10 in credit, billed per token. One base_url, 48+ models.
One-click Google / GitHub sign-in · No card required · $1 credit on sign-up ≈ 10M input tokens at our lowest per-token price
from openai import OpenAIclient = OpenAI( base_url="https://api.y-api.bestvirtualgoods.com/v1", api_key="YOUR_API_KEY",)response = client.chat.completions.create( model="deepseek/deepseek-v4-flash", messages=[{"role": "user", "content": "Hello!"}],)tencent/hy3↑14.7K ↓2.3KFree — no credit deductedqwen/qwen3.8-max↑12.5K ↓1.5K-$0.034anthropic/claude-opus-4.6↑2K ↓400-$0.02openai/gpt-5.5-pro↑500 ↓200-$0.051Sample rows; your console itemizes every call like this.
Free models
Every call to these models deducts nothing from your balance. Same base_url, same key, same SDK — the model field is the only thing you change, so they are also the fastest way to try Y-API before you top up.
Free status is set by our upstream provider and can be withdrawn — when it is, these calls start billing at the listed rate and your code does not change. The models page always shows the current state.
deepseek/deepseek-v4-flashminimax/minimax-m2.7tencent/hy3xiaomi/mimo-v2.5Why Y-API
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.
The prompts you send and the content the model returns are never saved. Request logs record only time, model, token counts, and credit deducted — for reconciliation, nothing more.
The top-up rate is 1:10. Credit is deducted for actual token consumption, and any top-up amount converts at the same rate. From $10 up, each top-up also adds the same amount again as a bonus. You pay for what you call, and nothing when you don't.
Keys under the same account share a single balance. Manage them per project or environment, and create or revoke any of them at any time without affecting the rest.
The console request log lists the time, model, token counts, credit used, and latency of every call; the overview page aggregates the last 30 days of usage by model.
Only Google and GitHub sign-in are supported. The site stores no passwords, so there is no attack surface for password leaks or reset flows.
Migration cost
If you already use the official OpenAI SDK, swapping base_url and api_key is the whole migration. Set model to any ID from the catalog.
Protocol reference: OpenAI Chat Completions API
from openai import OpenAI client = OpenAI(- base_url="https://api.openai.com/v1",- api_key=os.environ["OPENAI_API_KEY"],+ base_url="https://api.y-api.bestvirtualgoods.com/v1",+ api_key=os.environ["YAPI_KEY"], )Three steps
01
Sign in with Google or GitHub. Your account opens automatically with $1 in credit — no forms to fill out.
02
A default key is created when your account opens — view it on the "API Keys" page in the console, or create more per project.
03
Point your SDK's base_url at Y-API, set model to any ID from the catalog, and start calling.
Available models
Explore these featured models for token prices, model IDs and API examples. The full catalog includes every available model.
| Model ID | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| Vendor: DeepSeek | ||
deepseek/deepseek-v4-flash | Free — no credit deducted | |
| Vendor: Qwen | ||
qwen/qwen3.8-max | $2.00 | $6.00 |
| Vendor: MiniMax | ||
minimax/minimax-m2.7 | Free — no credit deducted | |
| Vendor: Z.ai | ||
z-ai/glm-5.1 | $1.40 | $4.40 |
| Vendor: Moonshot AI | ||
moonshotai/kimi-k3 | $3.00 | $15.00 |
| Vendor: Anthropic | ||
anthropic/claude-opus-4.6 | $5.00 | $25.00 |
| Vendor: Google | ||
google/gemini-4-argon | $4.00 | $20.00 |
| Vendor: OpenAI | ||
openai/gpt-5.5-pro | $30.00 | $180.00 |
| Vendor: xAI | ||
x-ai/grok-4.6 | $4.00 | $12.00 |
| Vendor: Other | ||
tencent/hy3 | Free — no credit deducted | |
Catalog updates
The newest listings, most recent first. Specs and prices are verified against the upstream catalog before a model goes live.
Pricing & billing
Each model has its own input and output token rates, billed in USD credit. The request log records the exact credit deducted per call.
| You pay | Credit received | Bonus | Total credit |
|---|---|---|---|
| $5 | $50 | — | $50 |
| $10 | $100 | +$10 | $110 |
| $50 | $500 | +$50 | $550 |
| $100 | $1,000 | +$100 | $1,100 |
A top-up is not a plan tier — the conversion rate has no amount threshold, so any top-up converts at the same rate. A top-up of $10 or more additionally receives a bonus; see the terms above. Fixed 30-day plans are separate from top-ups: a plan gives you a fixed credit pool valid for 30 days, with no auto-renewal.
Top-up bonus
Every top-up of $10 or more adds an equal amount of credit on top of the standard 1:10 rate. It applies to every qualifying top-up — not just your first one.
How it adds up
$10 → $100 credit + $10 bonus = $110
$50 → $500 credit + $50 bonus = $550
$100 → $1,000 credit + $100 bonus = $1,100
Who it fits
A demo with no revenue yet shouldn't carry fixed costs. Pay for what you use; pause the project and pay nothing.
Multi-round tool calls, long context, and batch processing multiply token consumption — and the unit-price gap multiplies straight into the bill.
Hand out different keys per environment sharing one balance, and reconcile who called which model, when, from the logs.
Your code is already built on the OpenAI SDK, and you don't want to rewrite the call layer just to switch providers.
Up front
The GLM 5.3 and GPT 6 Astra tests are public, including the endpoints, results and original sources.
You pay $1 and your account gains $10 in credit. Credit burns at each model's multiplier, which varies widely — so it is not "official pricing at 10% off". Treat the actual deductions in the request log as the real cost.
The prompts you send and the content the model returns pass through in memory and are never written to disk — not by us, and not for training. What we keep is call metadata only: time, model, token counts, latency, and credit deducted, for billing reconciliation.
A key's plaintext is returned on demand only when you click "Reveal"; it never sits exposed in lists. Once deleted, calls using that key fail immediately while other keys are unaffected.
Credit is deducted only for calls you actually make. An idle account costs nothing — there is no plan to renew and no floor under the balance, and the $1 sign-up credit arrives without a card.
FAQ
Sign in and your account opens automatically with a default key and $1 in credit. No card, no forms.