OpenAI API

Paid
API Available

Build AI products on GPT-6 Astra, Sol, Luna and more

OpenAI · APIs Launched Jun 11, 2020

Visit Website

Quick Answer

OpenAI API is build ai products on gpt-6 astra, sol, luna and more, made by OpenAI. It is a paid product. Key uses: Chatbot backends, Content generation, Embedding search.

Last updated:

Users
not publicly disclosed
Revenue
not publicly disclosed
Growth
not publicly disclosed

What is OpenAI API?

The OpenAI API provides programmatic access to the GPT-6 family (GPT-6 Astra flagship, GPT-6 / GPT-6.1 Sol, low-cost GPT-6 Luna), GPT Image models (GPT Image 2, GPT-Image-2.5 Sunburst), speech and embeddings models via the Responses and Chat Completions endpoints. Batch and Flex processing run at 50% of standard rates.

How did OpenAI API get started?

API launched Jun 2020 (GPT-3 era). Became the de facto standard for AI APIs. GPT-4 API Mar 2023. Function calling Jun 2023. GPT-4o API May 2024. Realtime API (WebSocket) Sep 2024. o1 API Sep 2024. Batch API for 50% discount on async workloads. GPT-4.5 (preview) Feb 2025. o3 + o4-mini Apr 2025. GPT-4.1 family (1M context, lowest latency) Apr 2025 - major step for long-context apps. GPT Image 2 Apr 2026; DALL-E 2/3 removed from API May 2026. GPT-6 Astra API 3 Sep 2026. GPT-6.1 Sol Sep 2026. GPT-6 Cyber for approved security customers 5 Nov 2026. GPT-6.2 Astra and GPT-6.2 Sol 17 Nov 2026.

What's new in OpenAI API in 2026?

GPT-6.2 Astra and GPT-6.2 Sol (17 Nov 2026; Astra $8/$40 per 1M tokens, 20% below GPT-6 Astra; Sol unchanged at $2/$10); GPT-6 Cyber (5 Nov 2026), a GPT-6 Astra variant for authorised security testing, available to approved Daybreak Red customers via the API and Codex; GPT-6.1 Sol (29 Sep 2026, $2/$10 per 1M tokens); GPT-6 Astra (gpt-6-astra) released on Responses and Chat Completions 3 Sep 2026, $10/$50 per 1M tokens, prompts over 272K input tokens billed at higher rates; GPT-6 Luna low-cost tier ($0.10/$0.50); Batch and Flex at 50% of standard; Fast mode at 2x

How much does OpenAI API cost?

GPT-6 Astra

$10/1M input tokens

  • $50/1M output tokens
  • Cached input $1/1M
  • Prompts >272K input tokens billed at higher long-context rates
  • Batch/Flex 50% off

GPT-6.2 Astra

$8/1M input tokens

  • $40/1M output tokens
  • Cached input $0.40/1M
  • Prompts over 272K input tokens billed at higher rates

GPT-6.1 Sol

$2/1M input tokens

  • $10/1M output tokens
  • Cached input $0.10/1M
  • Batch/Flex 50% off

GPT-6 Luna

$0.10/1M input tokens

  • $0.50/1M output tokens
  • Cached input $0.01/1M
  • Lowest-cost tier

What can you do with OpenAI API?

  • Chatbot backends
  • Content generation
  • Embedding search
  • Image generation

Pros

  • State-of-the-art models
  • Reliable infrastructure
  • Extensive documentation

Cons

  • Cost at scale
  • Rate limits
  • Data privacy considerations

Specs

Underlying Models

  • GPT-6.2 Astra
  • GPT-6.2 Sol
  • GPT-6 Astra
  • GPT-6.1 Sol
  • GPT-6 Sol
  • GPT-6 Luna
  • GPT-6 Cyber (approved customers)
  • GPT-Image-2.5 Sunburst
  • GPT Image 2
  • text-embedding-3

Platforms

  • REST API
  • Python SDK
  • Node.js SDK
  • Azure OpenAI Service
  • .NET SDK
  • Go SDK
  • Java SDK

Integrations

  • Azure OpenAI
  • LangChain
  • LlamaIndex
  • Vercel AI SDK
  • AWS (via partnership)
  • Responses API (Agents SDK)

Ideal For

  • Developers building AI apps
  • Enterprises
  • Startups
  • Researchers
  • AI agent builders

What are the best alternatives to OpenAI API?

Compare OpenAI API Head-to-Head

3

Frequently Asked Questions about OpenAI API

How much does OpenAI API cost?

OpenAI API pricing: GPT-6 Astra at $10/1M input tokens; GPT-6.2 Astra at $8/1M input tokens; GPT-6.1 Sol at $2/1M input tokens; GPT-6 Luna at $0.10/1M input tokens.

Is OpenAI API free?

OpenAI API is a paid product with no permanent free tier.

What is OpenAI API used for?

OpenAI API is used for: Chatbot backends, Content generation, Embedding search, Image generation.

What are the best alternatives to OpenAI API?

Top alternatives to OpenAI API include Cohere, Anthropic API, Google AI Studio.

What platforms does OpenAI API support?

OpenAI API is available on: REST API, Python SDK, Node.js SDK, Azure OpenAI Service, .NET SDK, Go SDK, Java SDK.

Parts of this page were prepared with AI tools and reviewed and edited by a person, who is responsible for it. How we use AI