Skip to content
Dashboard

Use Claude Opus 4.6 on AI Gateway

import { streamText } from 'ai';
const result = streamText({
model: 'anthropic/claude-opus-4.6',
prompt:
`Trace this race condition through the event loop, identify all
affected code paths, and implement a fix with proper test coverage.`,
providerOptions: {
anthropic: {
thinking: { type: 'adaptive' },
effort: 'max',
},
},
});

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?