Common questions
General
What is YourAPI?+
A single access point to AI models: one API key and one balance unlock GPT, Claude, Gemini, DeepSeek and dozens more. The API is OpenAI-compatible, so nearly any existing SDK or tool works out of the box.
How do I get started?+
Sign up, top up your balance and create an API key in the dashboard. Then paste the key into a snippet from the docs and send your first request — the whole thing usually takes under ten minutes.
Which models are available?+
Over 70 models from 19 providers: text, images, video, music and embeddings. The full list with prices is on the Models & pricing page; the dashboard has a catalog with filters and favorites.
Do I need a VPN or a foreign card?+
No. The service works from Russia without a VPN; top up with a Russian card or SBP. For euro payments there is a separate option — a card via Stripe.
Payments & balance
How do I top up my balance?+
In the dashboard, under Billing: with a Russian card or SBP in rubles, or with a card via Stripe in euros. Funds are credited as soon as the payment is confirmed.
How is request cost charged?+
Text models are charged by input and output tokens at the model price at request time. Media models have a fixed price per generation. Every charge is visible in the transaction history and stats.
What happens when the balance runs out?+
Requests start returning a 402 error — no penalties, no account locks. Top up and requests resume immediately; nothing needs reconfiguring.
Which currency are prices shown in?+
Your choice: rubles, dollars or euros — the switcher is in the site header. Internal accounting is in dollars; display prices are converted at the current rate.
Can I get a low-balance warning?+
Yes. In Billing, enable balance notifications: set a threshold and an email — we send a message when the balance drops below it.
Is there a referral program?+
Yes. Share your link from the Referrals section — 5% of every top-up made by people you invited lands straight on your balance.
Integration & API
How do I connect through an OpenAI-compatible SDK?+
Point the official SDK base_url at our service with the /v1 suffix and use your ya-… key. The rest of your code stays the same. Ready-made snippets for curl, Python and JavaScript are in the docs.
How do I switch between models?+
Change the model parameter in the request — it goes to a different provider. Your code, SDK and key stay the same.
Is streaming supported?+
Yes. Pass "stream": true — the response arrives in SSE chunks, just like OpenAI, and ends with data: [DONE].
Can I plug YourAPI into existing tools?+
Yes, into any tool that supports an OpenAI-compatible API: Cursor, Claude Code, Cline, n8n, LangChain and more. See the Tools section for the collection.
Does YourAPI support OpenRouter?+
No separate integration is needed: YourAPI itself is a single access point with an OpenAI-compatible API — connect directly with one key.
Keys & limits
Why is the API key shown only once?+
We never store full keys — only their hash, so showing a key again is technically impossible. Copy it at creation; if lost, create a new one and revoke the old.
How do I cap spending on a key?+
On the key page, set a spend limit per day, week or month. Once reached, the gateway returns 429 and stops charging until the next window starts.
Can I restrict a key by time of day?+
Yes. Every key has an access schedule: mark the allowed hours per weekday in your time zone — outside those hours requests are rejected.
What if a key is compromised?+
Pause or revoke it in the dashboard — the block takes effect within a minute. The key's request history stays in your stats.
Is there a rate limit?+
Yes, per key and per IP. Exceeding it returns 429 with a Retry-After header — retry after the indicated pause.
How do I monitor what a key is doing?+
On the key page: spend and token charts, a 24-hour availability bar and live logs in real time. Logs can be downloaded as CSV or run through AI analysis.
Data & reliability
Do you store my prompts and model responses?+
No. Request and response bodies are never stored — not in the database, logs or analytics. Stats keep metadata only: model, tokens, cost, time.
Can I export stats and transaction history?+
Yes, as CSV: request stats from the API keys page, transaction history from Billing. The files open in Excel and Google Sheets.
How do I find out about outages?+
The Server status page shows hourly availability of the gateway and models for the last 24 hours. If your requests are failing, check there first.
Do my payment details pass through you?+
No. Payments are processed by the payment providers on their side — we neither receive nor store your card details.