Back to tools
AvailableAPI·

OpenAI API (GPT-4o, o3)

Programmatic access to OpenAI models: GPT-4o, o1, o3, GPT-4o mini, Whisper, DALL-E 3 and more, via REST with official SDKs for Python, Node.js and more.

Compatible with

openaiapigpt-4oo3sdk

OpenAI API

The OpenAI API provides access to OpenAI's full model family for production integrations.

Key models

  • GPT-4o: multimodal (text + image + audio), 128k context
  • o3: deep reasoning model for complex problems
  • o4-mini: efficient reasoning, low cost
  • GPT-4o mini: balanced for production at scale

Available endpoints

  • /v1/chat/completions — Chat and completions
  • /v1/responses — New endpoint with integrated search and reasoning
  • /v1/images/generations — DALL-E 3
  • /v1/audio/transcriptions — Whisper
  • /v1/embeddings — Text embeddings
  • /v1/assistants — Assistants API (agents)

Quick start

pip install openai
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

OpenAI API documentation