GPT-4o mini Search Preview is a specialized model trained to understand and execute web search queries with the Chat Completions API. In addition to token fees, web search queries have a fee per tool call.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/gpt-4o-mini-search-preview', prompt: 'Why is the sky blue?'})Try out GPT 4o Mini Search Preview by OpenAI. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with
Powered by AI Gateway