Back to Models
gpt-4o-mini-search-preview
openai/gpt-4o-mini-search-preview
OpenAI
Chat
Description
gpt-4o-mini-search-preview by OpenAI. This model supports chat capabilities.
Specifications
Pricing
- Input Cost:
- $0.0300/100K tokens
- Output Cost:
- $0.1200/100K tokens
Usage Example
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.yourproxy.com/v1",
apiKey: process.env.PROXY_KEY,
});
const completion = await client.chat.completions.create({
model: "openai/gpt-4o-mini-search-preview",
messages: [{ role: "user", content: "Hello!" }],
});