OpenAIChat
OpenAI: GPT-4o-mini Search Preview
openai/gpt-4o-mini-search-preview
128KContext Window
16KMax Output
Supported Protocols:web_search_optionsmax_tokensresponse_formatstructured_outputs
Normal
GPT-4o mini Search Preview is a specialized model for web search in Chat Completions. It is trained to understand and execute web search queries.
Capabilities
Text GenerationCode GenerationAnalysis & ReasoningReasoning
Technical Specs
Input Modality
Text
Output Modality
Text
Arch
—
Default Temperature
0.7
Default Top_P
1
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $0.1500/M tokens |
| Text Output | — | $0.6000/M tokens |
| Image Input | — | < $0.001/张 |
| Web Search | — | $0.0275/次 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-4o-mini-search-preview",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
OpenAI
OpenAI: GPT-4o-mini Search Preview
openai/gpt-4o-mini-search-preview
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window128K
Max Output16K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →