---
title: OpenAI: GPT 4o Mini Search Preview | Text Generation | ModelsLab
description: Build with OpenAI: GPT 4o Mini Search Preview API by Openai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/modelslab/openai-gpt-4o-mini-search-preview.md
canonical: https://modelslab.com/models/modelslab/openai-gpt-4o-mini-search-preview.md
type: product
component: Playground/LLM/Index
generated_at: 2026-06-24T12:47:32.678222Z
---

OpenAI: GPT-4o-mini Search Preview
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-gpt-4o-mini-search-preview/llms.txt) [.md](https://modelslab.com/models/openai/openai-gpt-4o-mini-search-preview.md)

OpenAI: GPT-4o-mini Search Preview
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: GPT-4o-mini Search Preview

openai openai-gpt-4o-mini-search-preview

Copy model ID

PricingInput $0.15 / 1M tokens

Output $0.60 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### open\_router/Qwen: Qwen3.5-122B-A10B

qwen-qwen3.5-122b-a10b

From $1.17/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.5-122b-a10b)

[#### open\_router/MythoMax 13B

gryphe-mythomax-l2-13b

From $0.06/M tokens](https://modelslab.com/models/open_router/gryphe-mythomax-l2-13b)

[#### open\_router/Qwen: Qwen3.5 397B A17B

qwen-qwen3.5-397b-a17b

From $1.42/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.5-397b-a17b)

[#### open\_router/Qwen: Qwen3.7 Max

qwen-qwen3.7-max

From $2.50/M tokens](https://modelslab.com/models/open_router/qwen-qwen3.7-max)

[#### open\_router/NVIDIA: Nemotron 3 Super

nvidia-nemotron-3-super-120b-a12b

From $0.27/M tokens](https://modelslab.com/models/open_router/nvidia-nemotron-3-super-120b-a12b)

[#### arcee\_ai/Arcee AI Coder-Large

arcee-ai-coder-large

From $0.65/M tokens](https://modelslab.com/models/arcee_ai/arcee-ai-coder-large)

[#### open\_router/Amazon: Nova Pro 1.0

amazon-nova-pro-v1

From $2.00/M tokens](https://modelslab.com/models/open_router/amazon-nova-pro-v1)

[#### google/Gemini 2.5 Pro

gemini-2.5-pro

From $5.63/M tokens](https://modelslab.com/models/google/gemini-2.5-pro)

[#### google\_deepmind/Gemma-2 Instruct (27B)

google-gemma-2-27b-it

From $0.65/M tokens](https://modelslab.com/models/google_deepmind/google-gemma-2-27b-it)

[#### meta/Typhoon 2.1 12B

scb10x-scb10x-typhoon-2-1-gemma3-12b

From $0.24/M tokens](https://modelslab.com/models/meta/scb10x-scb10x-typhoon-2-1-gemma3-12b)

[#### open\_router/MiniMax: MiniMax M2.1

minimax-minimax-m2.1

From $0.62/M tokens](https://modelslab.com/models/open_router/minimax-minimax-m2.1)

[#### openai/GPT OSS 120b

gpt-oss-120b

From $0.11/M tokens](https://modelslab.com/models/openai/gpt-oss-120b)

[#### open\_router/Google: Nano Banana Pro (Gemini 3 Pro Image)

google-gemini-3-pro-image

From $7.00/M tokens](https://modelslab.com/models/open_router/google-gemini-3-pro-image)

[#### meta/Meta Llama 3.1 8B Instruct Turbo

meta-llama-Meta-Llama-3.1-8B-Instruct-Turbo

From $0.18/M tokens](https://modelslab.com/models/meta/meta-llama-Meta-Llama-3.1-8B-Instruct-Turbo)

[#### together\_ai/Pearl-ai Gemma-4-31B-it-pearl

pearl-ai-gemma-4-31b-it

From $0.57/M tokens](https://modelslab.com/models/together_ai/pearl-ai-gemma-4-31b-it)

[#### open\_router/Cohere: North Mini Code (free)

cohere-north-mini-code-free

Free](https://modelslab.com/models/open_router/cohere-north-mini-code-free)

[#### open\_router/Z.ai: GLM 4.6V

z-ai-glm-4.6v

From $0.60/M tokens](https://modelslab.com/models/open_router/z-ai-glm-4.6v)

[#### open\_router/Cohere: Command A

cohere-command-a

From $6.25/M tokens](https://modelslab.com/models/open_router/cohere-command-a)

Open Source Alternatives
---

Explore open-source models that offer similar capabilities with full transparency and flexibility

 [View all open source models](https://modelslab.com/models?feature=llm&provider=open-source-models)

[MU

Popular](https://modelslab.com/models/modelslab/uncensored-chat)[ModelsLab](https://modelslab.com/models/modelslab)

 [Modelslab: Uncensored Chat

Open Source Model](https://modelslab.com/models/modelslab/uncensored-chat)

About OpenAI: GPT-4o-Mini Search Preview
---

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.

### Technical Specifications

Model IDopenai-gpt-4o-mini-search-preview

CategoryLLM Models

TaskText Generation

Price$0.375 per million tokens

AddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: GPT-4o-Mini Search Preview into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-gpt-4o-mini-search-preview",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

OpenAI: GPT-4o-Mini Search Preview API costs $0.375000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: GPT-4o-Mini Search Preview FAQ
---

### What is OpenAI: GPT-4o-Mini Search Preview?

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.

### How do I use the OpenAI: GPT-4o-Mini Search Preview API?

You can integrate OpenAI: GPT-4o-Mini Search Preview into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-gpt-4o-mini-search-preview" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: GPT-4o-Mini Search Preview cost?

OpenAI: GPT-4o-Mini Search Preview costs $0.375000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: GPT-4o-Mini Search Preview model ID?

The model ID for OpenAI: GPT-4o-Mini Search Preview is "openai-gpt-4o-mini-search-preview". Use this ID in your API requests to specify this model.

### Does OpenAI: GPT-4o-Mini Search Preview have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: GPT-4o-Mini Search Preview and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-06-24*