Documentation
ChatGPT API - what it is and how to start using the OpenAI API in 2026
Last updated:
What is the ChatGPT API?
The ChatGPT API is a third-party, OpenAI-compatible gateway that gives you access to the latest OpenAI models through a single API key. It speaks the official OpenAI request and response format, so any existing OpenAI integration keeps working after you change one setting: the base URL.
ChatGPT API is an independent provider and is not affiliated with or endorsed by OpenAI.
What does ChatGPT API provide?
ChatGPT API exposes the current GPT model catalog through one key. It speaks the official OpenAI format, so you can plug it into any SDK, code editor, agent or automation by changing the base URL.
| Capability | Description |
|---|---|
| OpenAI-compatible | POST /v1/chat/completions, POST /v1/responses, GET /v1/models with SSE streaming |
| OpenAI models | GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Luna |
| Integrations | Cursor, GitHub Copilot, opencode, Codex CLI, VS Code, SDK, cURL |
| Payments | 91% cheaper than official OpenAI rates, pay with crypto |
ChatGPT API vs the official OpenAI API
You keep the same code, SDKs and request format. The differences are commercial:
| Official OpenAI | ChatGPT API | |
|---|---|---|
| Pricing | List per-token rates | 91% below official, per token |
| Billing | Subscription or card required | Pay-as-you-go, credits never expire |
| Payment | Card | Crypto - BTC, ETH, USDT, USDC |
| Setup | api.openai.com | Change only the base URL |
| Models | OpenAI only | Same OpenAI models, one key |
How to get a ChatGPT API key
- Register a free account and open your dashboard.
- Click Generate key to create your ChatGPT API key.
- Set it as your API key and point the base URL at our endpoint - no approval queue, no waiting.
Current models
Choose a current model below and pass its ID in the model field of your request.
gpt-6.2-solGPT-6.2 Solgpt-6.1-solGPT-6.1 Solgpt-6.1-terraGPT-6.1 Terragpt-6-astraGPT-6 Astragpt-6-lunaGPT-6 LunaCodex API: models for vibe coding
Start with Sol for everyday coding, code review and agents. Use Astra for complex reasoning, large refactors and difficult debugging; Terra for a mix of code and text; and Luna for simple, repetitive tasks. Test the family on your own project before choosing a current version.
How much does the ChatGPT API cost?
Pricing is pay-as-you-go and mirrors the official OpenAI per-token rates minus 91%, on both input and output tokens. There is no subscription and no minimum spend - you buy credits once, they are consumed only when a request runs, and they never expire.
Payment and access without official billing
Because top-ups are paid with cryptocurrency, you can use the OpenAI API even where official card billing isn't available. Buy credits once, use them across every model, and track token-level spend in your dashboard.
Guides
Frequently asked questions
Everything about pricing, models, keys and setup.