Anthropic logo
LLM

Claude Sonnet 4

Anthropic Claude 4 May 22, 2025
Featured

A smart, efficient model for everyday use with strong safety features and 200K context window. Perfect for content creation, coding help, research, and complex problem-solving.

Model Capabilities

Input

Accepted Formats

Text

Input Length

Context Window: 200K Tokens

Output

Generated Formats

Text

Output Length

Max Output: 64,000 Tokens

Core Features & Strengths

Function Calling / Tools
Function Calling
Large Context
Code Interpretation

Specifications & Pricing

Specifications

Model Size: 100B params
Architecture: Transformer

Pricing

Input / 1M tk

$3.0000

Output / 1M tk

$15.0000

Est. cost in USD

Proprietary, subscription available (e.g., Claude Pro)

Usage Guidance

Prompting Guide

General Tips

  • **Be Specific & Clear:** Detail the desired outcome, format, tone, and constraints.
  • **Provide Context:** Explain the background, your role, or the purpose (e.g., "Act as a helpful architect...").
  • **Specify Format:** Request bullet points, JSON, markdown, code blocks, etc.
  • **Use Examples (Few-Shot):** Provide 1-3 examples of input/output for complex tasks.
  • **Iterate:** Refine prompts based on the model's responses. Don't expect perfection first try.

Function Calling Example

"Book a meeting room for 3 people tomorrow at 2 PM for 1 hour. Find available rooms first."

// Model should trigger 'find_rooms' then 'book_room'