AI Gateway

/

GPT-5 pro

GPT-5 pro by OpenAI

GPT-5 pro uses more compute to think harder and provide consistently better answers. Since GPT-5 pro is designed to tackle tough problems, some requests may take several minutes to finish.

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