Logo
Back to all models

GPT-4o mini Search Preview - In-Depth Overview

OpenAI · GPT-4o mini

preview

Get all the details on GPT-4o mini Search Preview, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as specialized_search, web_browsing_via_tool, available API code samples, and performance strengths.

Key Metrics

Input Limit

128K tokens

Output Limit

16.4K tokens

Input Cost

$0.15/1M

Output Cost

$0.60/1M

Sample API Code

from openai import OpenAI

client = OpenAI()

chat_completion = client.chat.completions.create(
    messages=[
        {
            "role": "user",
            "content": "What is the capital of France?",
        }
    ],
    model="gpt-4o-mini-search-preview",
    tools=[
        {
            "type": "web_search"
        }
    ]
)

print(chat_completion.choices[0].message.content)

Required Libraries

openai
openai

Benchmarks

BenchmarkScoreSourceNotes
961
OpenLLM Leaderboard-

Notes

A specialized model trained to understand and execute web search queries with the Chat Completions API. Web search queries have a fee per tool call in addition to token fees.

Capabilities

specialized search
web browsing via tool

Supported Data Types

Input Types

text

Output Types

text

Strengths & Weaknesses

Exceptional at

web search queries

Additional Information

Latest Update

Mar 11, 2025

Knowledge Cutoff

Oct 1, 2023