Claude 3.7 Sonnet
Claude 3.7 Sonnet is the first hybrid reasoning model, a single model that delivers near-instant responses or extended step-by-step thinking with API-controllable thinking token budgets up to 128K tokens, scoring 63.7% on SWE-bench Verified and showing strong gains in coding and front-end web development.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-3.7-sonnet', prompt: 'Why is the sky blue?'})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|