Claude Sonnet 4

Claude Sonnet 4

Anthropic

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

What is Claude Sonnet 4?

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Specifications

  • Developer: Anthropic
  • Context window: 1M tokens
  • Max output: 64K tokens
  • Input modalities: image, text, file
  • Output modalities: text
  • Input price: $3.00 per 1M tokens
  • Output price: $15.00 per 1M tokens
  • Knowledge cutoff: 2025-01-31
  • Supported parameters: include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p

Use Claude Sonnet 4 with PromptLayer

PromptLayer lets teams manage, evaluate, and observe prompts that run on Claude Sonnet 4 alongside every other model in their stack. Version prompts, run evals across models, and ship safe rollouts from the same dashboard.

Ready to try it yourself? Sign up for PromptLayer and start managing your prompts in minutes.

Socials
PromptLayer
Company
All services online
Location IconPromptLayer is located in the heart of New York City
PromptLayer © 2026