> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ruapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI (ChatGPT) API key in Russia: where to get it and how to pay

> Where to get an OpenAI API key from Russia: why a key on platform.openai.com is hard to get and pay for, how a ChatGPT Plus subscription differs from the API, and how to get a working key for GPT models in 5 minutes — pay in USDT, no VPN.

**Short answer:** the official API key is created on platform.openai.com, but Russia is not on the list of countries where the OpenAI API works, OpenAI doesn't accept Russian cards, and your account may be blocked for accessing it from an unsupported country. A ChatGPT Plus subscription doesn't give you a key: the API is billed separately. The working option from Russia is a RuAPI key: it works with the official OpenAI SDK (only the key and `base_url` change), and you top up your balance in USDT.

## Where people get an OpenAI key and why it doesn't work from Russia

The usual route is an account on platform.openai.com, prepaying in the Billing section and a key in the API keys section. From Russia, it runs into three things:

| Step | What gets in the way |
| - | - |
| Account and access | Russia is not on the list of supported countries; OpenAI warns that accounts accessing it from outside that list may be blocked |
| Payment | OpenAI doesn't accept Russian cards: Visa and Mastercard suspended operations in Russia in March 2022 |
| Workarounds with a VPN and someone else's card | The same risk of a ban — together with the balance you've already paid in |

> [!NOTE]
>
> The country list is on the [Supported countries and territories](https://developers.openai.com/api/docs/supported-countries) page (checked 22 October 2026). The same page says: "Accessing or offering access to our services outside of the countries and territories listed below may result in your account being blocked or suspended".

## ChatGPT Plus and the API are different things

A ChatGPT Plus or Pro subscription pays for ChatGPT itself, not for the API. The API is a separate product with separate billing: it's not included in Plus, and the subscription doesn't give you a key for programs ([OpenAI help article](https://help.openai.com/en/articles/6950777)). You need an API key if you're connecting GPT to your own code, a bot, Cursor-like editors, n8n or Cherry Studio.

## How to get a key for GPT models in 5 minutes

**1. Sign up**

Sign up at [www.ruapi.ai](https://www.ruapi.ai/?lng=en\&utm_source=docs\&utm_campaign=en-openai-api-key-russia) — with email, Google or Yandex. No VPN needed.

**2. Top up**

In the Console, open **Wallet** and top up your balance with USDT or USDC (TRC20 / BEP20 / Polygon), from 5 USDT. No USDT yet? [Buy it with rubles via SBP (Faster Payments System)](/en/buy-usdt.md). Cards from foreign banks are accepted too.

**3. Key**

Console → **API Keys** → **Create API key**. The key looks like `sk-...` — just like an OpenAI key.

**4. Connect**

In the official OpenAI SDK, put in your RuAPI key and change `base_url`:

```python Python theme={null}
from openai import OpenAI

client = OpenAI(
    api_key="sk-your-RuAPI-key",
    base_url="https://www.ruapi.ai/v1",
)

resp = client.chat.completions.create(
    model="gpt-5.4",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
```

```bash curl theme={null}
curl https://www.ruapi.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-your-RuAPI-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-5.4", "messages": [{"role": "user", "content": "Hello!"}]}'
```

GPT models from gpt-5.4-mini to gpt-6-astra are available — and, with the same key, Claude, Gemini and DeepSeek. More on GPT models in the [GPT API guide](/en/gpt-api.md); the full list and prices are on the [pricing page](https://www.ruapi.ai/pricing?lng=en\&utm_source=docs\&utm_campaign=en-openai-api-key-russia).

## How much it costs

Prices are per 1M tokens, separately for input and output. For example, gpt-5.4 costs \$3 per 1M input tokens and \$18 per 1M output tokens; gpt-5.4-mini costs \$0.90 and \$5.40 (prices on the pricing page as of 22 October 2026; the price in your account may be lower). There's no subscription: you pay only for the tokens you use.

## What about buying a ready-made key?

Marketplaces and Telegram sell "ready-made OpenAI keys". Such a key is tied to someone else's account: the owner or OpenAI can disable it at any moment — along with the remaining balance you paid for — and your requests go through a stranger's account. With a RuAPI key, the balance is yours: you can see it in the Console, and unused balance [doesn't expire](/en/legal/refund.md).

## FAQ

> **Can I get an OpenAI API key for free?**
>
> There's no free OpenAI key for Russia. At RuAPI, we usually give new users \$0.05 right away to try the deepseek-flash model; GPT models unlock after your first top-up — from 5 USDT.

> **Can I pay for the OpenAI API with a Russian card?**
>
> Not directly. With RuAPI, your Russian card still comes in handy: use it to buy USDT via SBP (for example, on the P2P market in [t.me/CryptoBot](https://t.me/CryptoBot)) and top up your balance — no foreign card needed.

> **Do I need a VPN?**
>
> No. The RuAPI website and API are reachable from Russia directly.

> **Will the key work with Codex, Cherry Studio, n8n?**
>
> Yes — with any tool that supports an OpenAI-compatible API: set the address to `https://www.ruapi.ai/v1` and add the key. Ready-made guides: [Codex](/en/integrations/codex.md), [Cherry Studio](/en/integrations/cherry-studio.md), [n8n](/en/integrations/n8n.md).

> **Are these the original OpenAI models?**
>
> Yes — the original GPT models, with no substitution and no quality cuts.

## Next steps

> **[ChatGPT API in Russia: prices and payment](https://www.ruapi.ai/chatgpt-api?lng=en\&utm_source=docs\&utm_campaign=en-openai-api-key-russia)**
>
> Current prices for GPT models.

> **[GPT API guide](/en/gpt-api.md)**
>
> Which models are available and how they differ.

> **[How to buy USDT with rubles](/en/buy-usdt.md)**
>
> Crypto Bot, Bybit P2P or an exchanger — three ways.

> **[Quickstart](/en/quickstart.md)**
>
> Sign up, get a key and send your first request in 5 minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.