OpenAI: GPT-5 Search APIOfficial docs

OpenAI: GPT-5 Search API

byOpenAI
Official docs

GPT-5 Search API is a language model from OpenAI released on Oct 14, 2025. It reads text, images and files and writes text, with a 272K token context window and up to 128K tokens per reply.

Show more

It costs $1.25 per million input tokens and $10 per million output tokens.

It supports tool calling and structured JSON output.

2 providers serve it, including Eden AI and Merge Gateway.

Modalities
In / out price
$1.25 / $10 per 1M
Context
272K
Max output
128K
Released
Oct 14, 2025
Knowledge cutoff
n/a
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

GPT-5 Search API pricing

USD, as listed on Oct 20, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$1.25 / 1M tokens
Output$10 / 1M tokens

GPT-5 Search API providers

2 providers serve it, including Eden AI and Merge Gateway. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.

ProviderInput /MOutput /MCache read /MContextMax output
Eden AI$1.25$10$0.125272K100K
Merge Gateway$1.25$10n/a272K128K

What GPT-5 Search API costs per month

Pick a workload close to yours or type your own volumes.

GPT-5 Search API per month
$199
Without caching
$199
Per request
$0.0066

Supported request parameters

What you can set when you call GPT-5 Search API through an OpenAI compatible API.

  • Toolstools
  • Structured outputsstructured_outputs

Alternatives to GPT-5 Search API

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 29 providers.

    by googleFeb 5, 2025$1.25/M input tokens$10/M output tokens29 providers

  • Index 46.5

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 24 providers.

    by x-aiSep 16, 2026500K context$2/M input tokens$6/M output tokens24 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 31 providers.

    by x-aiAug 10, 2026$2/M input tokens$6/M output tokens31 providers

  • Index 45.4

    Reads text, images, files and video. Tool calling, structured output, reasoning. Served by 31 providers.

    by qwenJul 19, 20261M context$2/M input tokens$6/M output tokens31 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 25 providers.

    by x-aiJul 7, 2026$2/M input tokens$6/M output tokens25 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 11 providers.

    by openaiNov 13, 2025$1.25/M input tokens$10/M output tokens11 providers

More from OpenAI

  • Index 51.8

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 29 providers.

    by openaiSep 29, 20261.05M context$2/M input tokens$10/M output tokens29 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 29, 2026$2/M input tokens$10/M output tokens2 providers

  • Index 38.1

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 31 providers.

    by openaiSep 22, 20261.05M context$0.10/M input tokens$0.50/M output tokens31 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 22, 2026$0.10/M input tokens$0.50/M output tokens2 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 30 providers.

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens30 providers

  • Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.

    by openaiSep 22, 2026$2/M input tokens$10/M output tokens2 providers

All OpenAI models

GPT-5 Search API questions

How much does the GPT-5 Search API API cost?

$1.25 per million input tokens and $10 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of GPT-5 Search API?

272,000 tokens of input, and it can write up to 128,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Which providers serve GPT-5 Search API?

2 providers serve it, including Eden AI and Merge Gateway. Prices differ by host, so the Providers table on this page lists each one with its input and output price.

Does GPT-5 Search API support tool calling?

Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.

Is GPT-5 Search API open source?

No. OpenAI serves it through an API only, so you cannot download the weights or host it yourself.

When was GPT-5 Search API released?

Oct 14, 2025.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 20, 2026. The summary is written from these facts.