Skip to content
Dashboard

Claude Sonnet 4.6 is live on AI Gateway

import { streamText } from 'ai';
const result = streamText({
model: 'anthropic/claude-sonnet-4.6',
prompt:
`Build a dashboard component from this spec with
responsive layout, dark mode support, and accessibility.`,
providerOptions: {
anthropic: {
effort: 'medium',
thinking: { type: 'adaptive' },
},
},
});