name = "Claude Sonnet 4" description = "Balanced Claude model for coding, analysis, agent workflows, and cost control" family = "claude-sonnet" release_date = "2025-05-22" last_updated = "2025-05-22" attachment = true reasoning = true reasoning_options = [{ type = "budget_tokens", min = 1_024 }] temperature = true tool_call = true knowledge = "2025-03-31" open_weights = false [cost] input = 3.00 output = 15.00 cache_read = 0.30 cache_write = 3.75 [[cost.tiers]] tier = { size = 200_000 } input = 6.00 output = 22.50 cache_read = 0.60 cache_write = 7.50 [limit] context = 1_000_000 output = 64_000 [modalities] input = ["text", "image", "pdf"] output = ["text"] [provider] npm = "@ai-sdk/anthropic"