You can now access OpenAI's latest models, GPT-5.1 Instant and GPT-5.1 Thinking, using Vercel's AI Gateway with no other provider accounts required.
GPT-5.1 Instant offers improved instruction following, adaptive reasoning, and warmer, more conversational responses.
GPT-5.1 Thinking builds on GPT-5 Thinking with dynamic performance tuning that prioritizes speed for simple tasks and deeper reasoning for complex ones.
To use these models with the AI SDK , set the model to openai/gpt-5.1-instant or openai/gpt-5.1-thinking :
import { streamText } from 'ai'
const result = streamText ( {
model : "openai/gpt-5.1-instant" ,
prompt : "What are the benefits to adaptive reasoning?"
} )
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime.…