gpt-5-search-api

Deprecated
OpenAIopenai/gpt-5-search-api
Modality

Reasoning

Family

gpt-5-search-api

Context window

—

Max output

—

Served On

OpenAI API

Specialized GPT-5 model variant designed for web search execution via the Chat Completions API, supporting a 200,000-token context window with automated search retrieval before generating completions.

Deprecated

This model is deprecated

gpt-5-search-api has been deprecated. It is still served on nRouter and can still be called.

Deprecated. Replaced by gpt-5. Still served.

Caller Notice: API responses include x-nr-model-deprecated: true and Warning: 299 - "Model deprecated" headers.

See the replacement model

Model pricing

Exact provider list price · 0% platform fee · x-nr-request-cost header

Rates are read live

Pricing for gpt-5-search-api is fetched from the live catalogue on load, so it is never served from a cache that could outlive a repricing.

Start building with gpt-5-search-api

One API key, three steps. Choose your tool to begin.

  1. Set your API key

    export NROUTER_API_KEY="<YOUR_API_KEY>"
  2. Configure Claude Code

    Choose a tool, then copy its setup from the panel.

npm install -g @anthropic-ai/claude-code
Claude Code · openai/gpt-5-search-api
# Point Claude Code to nRouter gateway
export ANTHROPIC_BASE_URL="https://api.nrouter.ai"
export ANTHROPIC_API_KEY="$NROUTER_API_KEY"

# Launch with openai/gpt-5-search-api
claude --model openai/gpt-5-search-api

Specifications & capabilities

VisionFunction callingSystem prompt
Compare context window against peer models (—)

Context window, ranked against other reasoning models

Insufficient data

No published context window for this model or its peers.

Availability

Collecting probe samples

Not enough health probe samples collected yet to publish an uptime or latency figure.

More from OpenAI

FAQs

What is gpt-5-search-api?

Specialized GPT-5 model variant designed for web search execution via the Chat Completions API, supporting a 200,000-token context window with automated search retrieval before generating completions.

How much does gpt-5-search-api cost?

gpt-5-search-api is billed at the provider's list price on nRouter with no per-token markup — tokens settle at the exact upstream rate. Input and output rates are read live, so see the pricing section above for the current figures.

Does gpt-5-search-api support tool calling and structured outputs?

Yes. gpt-5-search-api supports tool calling (function calling), so it can invoke external tools and APIs during a conversation.

What inputs and outputs does gpt-5-search-api support?

gpt-5-search-api takes text and images as input and returns text as output.

How do I use gpt-5-search-api via nRouter?

Use any OpenAI-compatible client: point it at https://api.nrouter.ai/v1 with your nRouter API key and set the model to "openai/gpt-5-search-api". The quick-start panel above has a copy-paste curl command for this model.

Where is the gpt-5-search-api documentation?

Start at nrouter.ai/docs. The quick-start guide (nrouter.ai/docs/getting-started/quick-start) covers API keys and your first request, and the API reference (nrouter.ai/docs/api-reference) lists every parameter.

What other text models does OpenAI have?

Other OpenAI text models on nRouter include GPT Image 2 (nrouter.ai/models/gpt-image-2-2026-04-21), GPT Image 2.5 Sunburst (nrouter.ai/models/gpt-image-2.5-sunburst-2026-09-08), GPT-5 Pro (nrouter.ai/models/gpt-5-pro), GPT-5.4 Mini (nrouter.ai/models/gpt-5.4-mini).