Skip to main content
OpenAI’s Responses API generates text from text and image inputs. Built-in tools extend the model with features such as file search, web search, and computer use. Function calling lets it access external systems and data.

Text messages

Send a basic Responses API request:
To pass several messages as an array, use this format:
Unlike Chat Completions, the Responses API requires the message’s type field (usually message) to be set explicitly at the same level as role.

Supported models

The following models currently support the Responses API:
  • gpt-3.5-turbo
  • gpt-4
  • gpt-4-turbo
  • gpt-4o-mini
  • gpt-4o
  • gpt-4.1
  • gpt-4.1-mini
  • gpt-4.1-nano
  • gpt-5
  • gpt-5-mini
  • gpt-5-nano
  • gpt-5-pro
  • gpt-5-codex
  • o1
  • o1-pro
  • o3-mini
  • o3
  • o3-pro
  • o4-mini
  • codex-mini-latest
  • computer-use-preview
  • o3-deep-research
  • o4-mini-deep-research
Of these, o3-pro, o3-deep-research, o4-mini-deep-research, and gpt-5-pro are available only through the Responses API. The other models support both Responses and Chat Completions.