AI Gateway
Claude 3.5 Sonnet strikes the ideal balance between intelligence and speed—particularly for enterprise workloads. It delivers strong performance at a lower cost compared to its peers, and is engineered for high endurance in large-scale AI deployments.
import { streamText } from 'ai'
const result = streamText({ model: 'anthropic/claude-3.5-sonnet', prompt: 'Why is the sky blue?'})
Try out Claude 3.5 Sonnet by Anthropic. Usage is billed to your team at API rates. Free users get $5 of credits every 30 days, and you are considered a free user if you haven't made a payment.
Chat with Claude 3.5 Sonnet
Powered by Vercel AI Gateway
The AI Gateway supports routing requests across multiple AI providers. You can control provider preferences using the provider slugs available for copying with the buttons below. For more see the AI Gateway provider options documentation.
Anthropic
Context 200K
Input Tokens $3.00/M
Output Tokens $15.00/M
Cache Read Tokens $0.30/M
Cache Write Tokens $3.75/M
Vertex AI
Context 200K
Input Tokens $3.00/M
Output Tokens $15.00/M
Cache Read Tokens $0.30/M
Cache Write Tokens $3.75/M