AI Gateway

/

GPT-5 mini

GPT-5 mini by OpenAI

GPT-5 mini is a cost optimized model that excels at reasoning/chat tasks. It offers an optimal balance between speed, cost, and capability.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5-mini',
prompt: 'Why is the sky blue?'
})