Skip to content
ChatGPT API
Documentation

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.

CapabilityDescription
OpenAI-compatiblePOST /v1/chat/completions, POST /v1/responses, GET /v1/models with SSE streaming
OpenAI modelsGPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Luna
IntegrationsCursor, GitHub Copilot, opencode, Codex CLI, VS Code, SDK, cURL
Payments91% 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 OpenAIChatGPT API
PricingList per-token rates91% below official, per token
BillingSubscription or card requiredPay-as-you-go, credits never expire
PaymentCardCrypto - BTC, ETH, USDT, USDC
Setupapi.openai.comChange only the base URL
ModelsOpenAI onlySame OpenAI models, one key

How to get a ChatGPT API key

  1. Register a free account and open your dashboard.
  2. Click Generate key to create your ChatGPT API key.
  3. 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 Sol
gpt-6.1-solGPT-6.1 Sol
gpt-6.1-terraGPT-6.1 Terra
gpt-6-astraGPT-6 Astra
gpt-6-lunaGPT-6 Luna

Codex 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.

Ready to start building?

Get API access to the available OpenAI models in 2 minutes.

Sign up