The OpenAI API provides developer access to OpenAI's current GPT-6 family of models: GPT-6 Astra, the flagship for complex reasoning and coding; GPT-6.1 Sol, which balances intelligence and cost; GPT-6.1 Terra (October 2026), a fast, efficient model for visual reasoning, precise computer use and high-volume work at $1 input / $5 output per million tokens; GPT-6 Sol, built for complex coding and agentic workflows; and GPT-6 Luna for cost-sensitive, high-volume workloads. Earlier GPT-5.x models remain available, alongside specialized models for realtime audio, image generation, embeddings and open-weight (gpt-oss) self-hosting. Standard pricing per million tokens ranges from $0.10 input / $0.50 output for GPT-6 Luna to $10 input / $50 output for GPT-6 Astra (short context), with Batch at half price. The API gives developers programmatic access to these models without running the infrastructure themselves.
The platform centers on the Responses API for agent-native applications, with multimodal input, tool calling, conversation state, background mode, streaming, multi-agent support and the Agents SDK. All of the latest models accept text and image input and support configurable reasoning effort, trading extra latency and tokens for more reliable results on complex multi-step tasks.
The OpenAI API serves the broadest developer ecosystem in the AI industry, from solo developers building side projects to large enterprises deploying AI at scale. It integrates with virtually every AI framework and tool chain, including LangChain, LlamaIndex, Vercel AI SDK, and hundreds of others. The platform provides organization management, usage tracking, rate limiting, and fine-tuning capabilities for customizing models on proprietary data. OpenAI competes with the Anthropic API, Google Vertex AI, and AWS Bedrock as a leading model provider, with its extensive documentation, large community, and broad model selection as key advantages.
The Decisions API (v1/decisions), generally available since October 2026 with gpt-6-luna, returns typed answers for classification and routing questions over text and images without generating a full response, with up to 400 questions per request. For calling the API from a terminal or shell script, OpenAI also publishes the open-source OpenAI CLI.

