← AI Glossary

What Is the OpenAI API?

The OpenAI API provides programmatic access to OpenAI’s models — including GPT-6 Astra, the GPT-5.6 family, GPT-Image-2, and the GPT-Realtime audio models. Unlike ChatGPT (the consumer product), the API lets developers and power users integrate these models into their own applications.

API vs. ChatGPT

FeatureChatGPTOpenAI API
InterfaceWeb/mobile appHTTP API
PricingMonthly subscription tiersPay per token
CustomizationLimitedFull (temperature, system prompts, tools)
ModelsCurated selectionFull model lineup
Data usageMay train on conversationsNot used for training

Current Models

ModelBest For
GPT-6 AstraThe hardest end-to-end work — 1.05M token context, selectable reasoning levels
GPT-5.6 SolProfessional work at lower cost than Astra
GPT-5.6 TerraBalancing intelligence and cost for everyday tasks
GPT-5.6 LunaHigh-volume, cost-sensitive workloads
GPT-Image-2Image generation
GPT-Realtime / GPT-TranscribeSpeech-to-speech and transcription

Getting Started

  1. Create an account at platform.openai.com
  2. Generate an API key
  3. Add billing (pay-as-you-go)
  4. Start making requests

Pricing

Per 1M tokens, as of September 2026:

ModelInputCached inputOutput
GPT-6 Astra$10.00$1.00$50.00
GPT-5.6 Sol$4.00$0.40$20.00
GPT-5.6 Terra$2.00$0.20$12.00
GPT-5.6 Luna$0.20$0.02$1.20

Two discounts are worth knowing about. Cached input costs 90% less than standard input, so repeated system prompts and long shared context get substantially cheaper. The Batch API halves every rate for work that can tolerate delayed results.

Sol’s rate is promotional at least through November 21, 2026, and long-context requests bill at higher rates. Check OpenAI’s pricing page for current figures.

A typical conversation costs fractions of a cent on the lower tiers — far cheaper than a monthly subscription for light-to-moderate use.

OpenAI API in Elvean

Elvean connects to the OpenAI API with your own key — no subscription needed. You get access to all OpenAI models plus the ability to use them alongside Claude, Gemini, and local models in the same conversation.

Elvean brings all these concepts together in one native Mac app — local models, cloud APIs, agentic tools, and more.

Learn more about Elvean