Skip to main content
GlobalFeaturedtop-picksglobal
OpenAI logo

OpenAI

General purpose, strong ecosystem, good default choice.

getModelKey links official API key pages only. We do not sell, generate, or broker API keys.

Overview

OpenAI provides widely used GPT and reasoning models via the Platform API, with a mature SDK ecosystem and extensive documentation.

Typical use cases include chat, coding assistants, tool calling, and multimodal apps through platform.openai.com.

How to Get an API Key

  1. Visit https://platform.openai.com/api-keys and sign in to your OpenAI account.
  2. Click create new secret key, name it, and copy the value before leaving the page.
  3. Set usage limits in the Platform billing/settings area as needed, then call the official API with the key.
  4. If the key leaks, revoke it immediately and create a replacement in the same UI.

OpenAI frontier models

Astra leads the frontier.

Choose Astra for the hardest end-to-end work, Sol for a lower-priced flagship, Terra for balance, or Luna for cost-sensitive scale.

USD per 1M tokens · Standard · short context

GPT-6 Astra

OpenAI’s most capable model for hard end-to-end and agentic work.

Model ID
gpt-6-astra
Reasoning
lowmediumhighxhighmax
Input
$10.00
Cached input
$1.00
Cache write
$12.50
Output
$50.00
Max output
128K tokens
Context window
1.05M
Knowledge cutoff
Apr 30, 2026
Tools
Functions, Web search, File search, Computer use

GPT-5.6 Sol

Frontier reasoning and coding for complex professional work.

Model ID
gpt-5.6-sol
Alias
gpt-5.6
Reasoning
nonelowmediumhighxhighmax
Input
$4.00
Cached input
$0.40
Cache write
$5.00
Output
$20.00
Max output
128K tokens
Context window
1.05M
Knowledge cutoff
Feb 16, 2026
Tools
Functions, Web search, File search, Computer use

GPT-5.6 Terra

Balanced intelligence and cost for everyday production workloads.

Model ID
gpt-5.6-terra
Reasoning
nonelowmediumhighxhighmax
Input
$2.00
Cached input
$0.20
Cache write
$2.50
Output
$12.00
Max output
128K tokens
Context window
1.05M
Knowledge cutoff
Feb 16, 2026
Tools
Functions, Web search, File search, Computer use

GPT-5.6 Luna

Cost-sensitive, high-volume intelligence with frontier-family controls.

Model ID
gpt-5.6-luna
Reasoning
nonelowmediumhighxhighmax
Input
$0.20
Cached input
$0.02
Cache write
$0.25
Output
$1.20
Max output
128K tokens
Context window
1.05M
Knowledge cutoff
Feb 16, 2026
Tools
Functions, Web search, File search, Computer use
Price snapshot checked September 9, 2026. Verify final charges with OpenAI.Explore the complete pricing guide →

Common Models

GPT-6 AstraGPT-5.6 SolGPT-5.6 TerraGPT-5.6 LunaGPT-5.4GPT-4oo4-minio3o1GPT-Image-2.5 FlareGPT-Image-2.5 Sunburst

FAQ

Is a ChatGPT Plus subscription the same as an API key?

No. ChatGPT product plans and Platform API billing are separate. Create keys only on platform.openai.com.

Where should I read model and pricing details?

The pricing snapshot on this page is checked periodically, not updated in real time. Always confirm final charges on OpenAI’s official pricing page.

Tags

generalcodingecosystem

Related Guides

OpenAI API Key Complete Guide (2026): Setup, Pricing, Errors & Best Practices
Pillar
Everything you need to know about OpenAI API keys: how to create one, set permissions, understand pricing, fix 401/429 errors, and follow security best practices.
ChatGPT Images 2.5 API Guide: Flare vs Sunburst, Pricing & Code
Understand ChatGPT Images 2.5 and its two API models: GPT-Image-2.5 Flare for fast everyday generation and Sunburst for precision editing. Compare pricing, model IDs, features, and working API examples.
GPT-6 Astra API Guide: Pricing, Model ID, Context & Migration
Use GPT-6 Astra through the OpenAI API with the correct model ID. Check pricing, the 1.05M-token context window, supported tools, reasoning settings, and migration changes before production rollout.
OpenAI API Pricing Explained (2026 Guide)
Understand current OpenAI API pricing across GPT-6 Astra, GPT-5.6 Sol, Terra and Luna, Standard, Batch, Flex and Fast processing, image models, tools, and practical cost estimation.
AI API Token Price Comparison 2026: GPT-5.6, Claude Fable 5.1, Gemini 3.6, DeepSeek & More
A practical breakdown of input and output token prices per 1M tokens across the leading AI providers in 2026, with guidance on choosing the right model for your budget and use case.
Claude API vs OpenAI API: Which Should You Choose? (2026)
A detailed comparison of Claude and OpenAI APIs across model capabilities, pricing, context windows, developer experience, latency, and best use cases to help you pick the right one.

Quick Info

Region
Global
Status
active
Last Verified
2026-09-09