Back to products
Claude Code and Claude 3.7 Sonnet

Claude Code and Claude 3.7 Sonnet

Our most intelligent model to date

Website anthropic.com
Overview

What it is

Anthropic’s AI coding assistant, designed for deep context understanding and capable of handling complex software tasks with a massive context window (up to 200K tokens).

Intent

I need it when

Improve instruction-following and reduce unnecessary AI refusals in production systems

Claude 3.7 Sonnet makes 45% fewer unnecessary refusals compared to predecessor by making more nuanced distinctions between harmful and benign requests. Improved safety evaluation and resistance to prompt injection attacks documented in system card, enabling more reliable production deployments.

Integrate AI coding assistance into existing development workflows

Claude Code provides command-line tool for agentic coding with ability to search/read code, edit files, write/run tests, commit/push to GitHub, and use command-line tools. GitHub integration available on all Claude plans enables developers to connect repositories directly for bug fixing, feature development, and documentation across projects.

Deploy AI models across multiple cloud platforms and infrastructure

Claude 3.7 Sonnet available on all Claude plans (Free, Pro, Team, Enterprise), Claude Developer Platform, Amazon Bedrock, and Google Cloud Vertex AI. Provides flexibility for organizations with existing cloud commitments or multi-cloud strategies.

Solve complex coding tasks and software engineering problems efficiently

Claude 3.7 Sonnet achieves state-of-the-art performance on SWE-bench Verified for real-world software issues. Claude Code enables developers to delegate substantial engineering tasks directly from terminal, completing tasks in single pass that normally take 45+ minutes. Both tools excel at handling complex codebases, full-stack updates, and production-ready code generation.

Access flexible reasoning capabilities that balance speed and depth for different tasks

Claude 3.7 Sonnet offers both standard mode for near-instant responses and extended thinking mode for step-by-step reasoning visible to users. API users control thinking budget (up to 128K tokens), allowing trade-off between speed, cost, and answer quality based on task requirements.

Drop

Not a fit when

  • User needs a reasoning model optimized exclusively for math and computer science competition problems; Claude 3.7 Sonnet prioritizes real-world business tasks over competition benchmarks
  • User requires production-ready agentic coding without research preview limitations; Claude Code is in limited research preview with ongoing improvements
  • User operates on free tier and needs extended thinking mode; extended thinking is unavailable on the free Claude tier
  • User needs guaranteed sub-second response times; extended thinking mode trades speed for reasoning depth
  • User requires offline-only deployment; Claude 3.7 Sonnet requires API access or cloud platform integration (Bedrock, Vertex AI)
Commercials

Pricing

Claude 3.7 Sonnet API: $3 per million input tokens, $15 per million output tokens (includes thinking tokens). Claude plans: Free tier available; Pro $17-20/month; Max $100+/month; Team $20-25/seat/month; Enterprise custom pricing. Claude Code: Limited research preview (pricing not specified). View pricing