
GPT-5 Search (2025-10-14)
gpt-5-search-api-2025-10-14Snapshot version of GPT-5 Search API for stable deployments.
Web SearchStableProduction
Input¥10.00
Output¥80.00
per 1M tokens
Web Search
Access live information
Stable
Pinned model version
Production
Ready for deployment
Reliable
Predictable behavior
API Documentation
View complete API reference with all parameters and examples.
Advanced Features
Streaming
Enable real-time streaming responses with Server-Sent Events.
{
"model": "gpt-5-search-api-2025-10-14",
"stream": true,
"messages": [...]
}Function Calling (Tools)
Enable the model to use tools and call functions.
{
"model": "gpt-5-search-api-2025-10-14",
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}
}],
"messages": [{"role": "user", "content": "What's the weather in Tokyo?"}]
}JSON Mode
Get structured JSON responses from the model.
{
"model": "gpt-5-search-api-2025-10-14",
"response_format": {"type": "json_object"},
"messages": [{"role": "user", "content": "Extract info as JSON: John is 30 years old"}]
}API Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g., gpt-5-search-api-2025-10-14) |
| messages | array | Yes | Array of message objects with role and content |
| max_tokens | integer | No | Maximum tokens in the response |
| stream | boolean | No | Enable streaming responses (SSE) |
| temperature | number | No | Sampling temperature (0.0 - 2.0) |
| top_p | number | No | Nucleus sampling threshold (0.0 - 1.0) |
| tools | array | No | Function calling tools definition |
| response_format | object | No | Output format (e.g., json_object) |
Full API Documentation
View complete API reference with streaming, thinking, and more.
Pricing
Input
¥10.00
per 1M tokens
Output
¥80.00
per 1M tokens
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000