Skip to main content
GPT-4o Mini is a fast, efficient language model from OpenAI. Call gpt-4o-mini through both the OpenAI-compatible Chat Completions API and the Responses API.

Key capabilities

  • OpenAI-compatible - Works with the OpenAI SDK by changing base_url
  • Streaming - Real-time token output through SSE
  • Multi-turn conversations - Uses role-based messages
  • Responses API - Uses input for text and structured content
  • Reasoning control - Configure reasoning effort on supported models
  • Tool use - Supports function and hosted tool definitions

Quick example

Chat Completions

Responses API

Parameters

Chat Completions

Responses API