openai/gpt-5-search-api

openai/gpt-5-search-api
ZDR
VisionToolsJSON
by openai

GPT-5 Search API by OpenAI is a large language model designed for text and image input, with a maximum output of 128,000 tokens. It is offered through OrcaRouter's OpenAI-compatible API at base URL https://api.orcarouter.ai/v1 using the model ID "openai/gpt-5-search-api". This model supports both text and image modalities, enabling rich multimodal interactions. Pricing is transparent and based on provider rates with zero markup: $1.25 per 1 million input tokens and $10.00 per 1 million output tokens. There are no additional platform fees. This makes GPT-5 Search API a cost-effective choice for tasks requiring high token volumes, particularly in search-augmented generation and image understanding workflows.

Max output128K
Inputtext + image
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
INPUT$1.25/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFTCollecting…
p95 TTFTCollecting…

Pricing

Pricing
Input / 1M tokens$1.25
Output / 1M tokens$10.00
Cache read / 1M$0.125
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $6.00 · With prompt caching $5.10

1.6M input × $1.25/M + 400K output × $10/M

Prompt caching assumes half of the input tokens are read from cache at $0.13/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0032$3.25
Summarize a long doc30K / 1K$0.048$47.50
Code review8K / 2K$0.030$30.00

Token & cost estimator

Input tokens: 20Cost per request: $0.005025

Estimate only — actual token counts depend on the provider's tokenizer.

Compare monthly costs across models in the LLM cost calculator

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="openai/gpt-5-search-api",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "openai/gpt-5-search-api",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.
stopSequences where the model stops generating.

Full API reference

Use cases and examples

  • Multimodal input — Takes text + image in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Search-enhanced text generation and retrieval-augmented answers
  • Multimodal reasoning combining text and image inputs
  • Long-form content creation up to 128,000 output tokens
  • Document analysis and summarization with image support
  • Customizable chatbot backends needing high output capacity

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
Collecting…
Output speedHow many tokens per second the model streams once it starts answering.
Collecting…
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
Collecting…
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
100.0%

Benchmarks

Source: Design Arena

Compare models

openai/gpt-5-search-apiGPT-5.2 ProGPT-5.4 ProGPT-5.5
Input $/M$1.25$21.00$60.00$5.00
Output $/M$10.00$168.00$270.00$30.00
Context—400K1.1M—
Quality7/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost of using GPT-5 Search API?
Input tokens cost $1.25 per 1M tokens; output tokens cost $10.00 per 1M tokens. These are provider rates with zero markup from OrcaRouter.
What is the maximum output context window?
The model can generate up to 128,000 tokens per output. Input context size is not specified.
What are the main strengths of GPT-5 Search API?
It combines a high output token limit with multimodal text and image input, and is optimized for search-augmented generation tasks.
How does it compare to GPT-4o?
It has a larger output limit (128K vs 16K), supports images, and is search-focused. It is more expensive per token.
How do I call it via OrcaRouter?
Use the OpenAI-compatible API at https://api.orcarouter.ai/v1 with model "openai/gpt-5-search-api" and your OrcaRouter API key.
Does OrcaRouter add any markup on pricing?
No, OrcaRouter passes through provider rates with zero markup. You pay exactly $1.25/$10 per 1M tokens.
Can I use images as input?
Yes, the model accepts both text and image inputs via the standard chat completions format.
Are there any benchmark results available?
No specific benchmark scores are provided in the given facts. Performance should be evaluated on your own tasks.
What are the limitations?
No public benchmarks, potentially high cost for long outputs, and image processing may add latency. Input context limit is unknown.
How do I migrate from another model?
Change the base URL to OrcaRouter’s and update the model ID to "openai/gpt-5-search-api". Adjust max_tokens if needed.

Embed this badge

openai/gpt-5-search-api•$1.25/M in•—•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5-search-api" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5-search-api.svg" alt="openai/gpt-5-search-api on OrcaRouter" /> </a>
Markdown [![openai/gpt-5-search-api](https://www.orcarouter.ai/embed/openai/gpt-5-search-api.svg)](https://www.orcarouter.ai/models/openai/gpt-5-search-api)

Model card as data

GET /api/public/models/openai/gpt-5-search-apiOpen
Machine-readable:/llms.txt/llms-full.txt