Skip to content
Dashboard

GPT 5.1 Codex Max now available on Vercel AI Gateway

import { streamText } from 'ai';
const result = streamText({
model: 'openai/gpt-5.1-codex-max',
prompt:
`Write a CLI tool that scans web server logs, counts 5xx errors per endpoint,
and prints the ten endpoints with the most errors using only standard libraries.`
providerOptions: {
openai: {
reasoningSummary: "auto",
reasoningEffort: "low"
},
},
});

AI Gateway: Track top AI models by usage

The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.

View the leaderboard

Ready to deploy?