Skip to main content
OpenAI

API Platform

The most powerful platform for building AI products

Build and scale AI experiences powered by industry-leading models and tools.

Flagship Models

Our reasoning models

These models spend more time thinking before producing a response, making them ideal for complex, multi-step problems.

OpenAI o1

Our frontier reasoning model that supports tools, Structured Outputs, and vision

  • Text and vision

  • 200k context length

  • Input: $15 | Output: $60 per 1M tokens

OpenAI o3-mini

Our cost-efficient reasoning model that’s optimized for coding, math, and science, and supports tools and Structured Outputs

  • Text

  • 200k context length

  • Input: $1.10 | Output: $4.40 per 1M tokens

Our GPT models

These general purpose models are designed to perform a wide variety of everyday tasks.

Introducing GPT-4.5

Our largest GPT model designed for creative tasks and agentic planning is now available as a research preview.

GPT-4o

Our high-intelligence model for complex tasks

  • Text and vision

  • 128k context length

  • Input: $2.50 | Output: $10
per 1M tokens

GPT-4o mini

Our affordable small model for fast, lightweight tasks

  • Text and vision

  • 128k context length

  • Input: $0.15 | Output: $0.60 per 1M tokens

Access the power of our models with APIs

Responses API

A new API primitive for agents, combining the simplicity of Chat Completions with the ability to use built-in tools like the Assistants API.

A JavaScript code snippet using GPT-4o to generate a one-sentence bedtime story about a unicorn. The response is logged to the console.

Extend model capabilities with built-in tools

Web Search

Enhance model responses with up-to-date and clearly cited answers from the web using the same capabilities as ChatGPT search.

A screenshot of a JavaScript code snippet using the GPT-4o model with a web search tool. The code queries for a positive news story that happened today and logs the response output.

File search

Build fast, accurate semantic search to augment model responses in just a few lines of code.

A user interface displaying a storage management system for vector stores. The selected item shows details such as ID, usage, size, last active date, expiration policy, and attached files, including financial reports and organizational charts.

Computer use

Build computer-using agents powered by the same model behind Operator, currently in Research Preview.

Steps to integrate the computer use tool: 1. Send a request with tool details and an optional screenshot. 2. Receive a response with suggested actions. 3. Execute the action. 4. Capture the updated state. 5. Repeat until no further actions are needed.

Code interpreter

Get models to run code iteratively to solve challenging code and math problems, and generate charts.

The image shows a Python code snippet in a math tutorial explaining how to generate the first 10 Fibonacci numbers and calculate their sum. The code appends the Fibonacci numbers to a list and computes the sum, the output showing the sequence and total.

Customize models for your needs

Fine-tuning

Customize a model’s existing knowledge and behavior for a specific task using text and images via supervised fine-tuning. Plus, use our Model Distillation tools to fine-tune smaller models on the outputs of more capable models.

The image shows a model training interface for "ft:gpt-6." It includes details like status, base model, creation date, checkpoints, and steps. A graph at the bottom shows the training and validation loss over time, showing the model's performance progress.

Build useful and reliable agents

The Agents SDK is a robust and lightweight orchestration framework for designing, building, and deploying agents with built-in observability to track and optimize performance.

A dashboard interface displaying logs and traces for AI agents. It includes details on agent interactions, execution times, configurations, and an error message indicating a failed handoff due to a missing agent.

See what you can build in Playground

Explore our models and APIs in Playground without writing a single line of code.

The image shows a chat where a user asks, "How do I get started with OpenAI's API?" The assistant provides steps on signing up, getting API keys, and accessing documentation. Temperature and token settings are visible on the right.

Enterprise-grade features for operating at scale

Security and data privacy

Administrative controls
  • Scope user roles and API keys to individual projects

  • Role-based access controls

  • Limit access to specific models within each project

  • Set billing and usage restrictions to avoid overages

  • View granular usage activity by project

Access to OpenAI expertise
  • Dedicated account team and prioritized support

  • Guidance on AI deployment and best practices from solutions architects

  • Opportunity to collaborate with researchers on building custom AI models