# Claude 4 Sonnet

## Model ID
claude-4-sonnet

## Context window
200k

## Max context
-

## Provider
Anthropic

## Capabilities
AgentThinking

## Speed
Medium

## Cost
Medium

## Intelligence
High

We recommend using [Claude 4.6 Sonnet](/content/docs/models/claude-4-6-sonnet/index.html). It's the latest Sonnet with stronger capabilities at the same price.

## Tools

Claude 4 Sonnet has access to all agent tools when used with Cursor including:

### Semantic search
Search your [indexed codebase](/content/docs/context/semantic-search/index.html) by meaning, not exact matches.

### Search files and folders
Find files by name, read directory structures, and grep for patterns.

### Web
Generate search queries and fetch results from the web.

### Read files
Read file contents, including images for vision-capable models.

### Edit files
Suggest edits and apply them automatically.

### Run shell commands
Execute terminal commands and monitor output.

### Browser
Control a browser to take screenshots, test applications, and verify visual changes. See the [Browser documentation](/content/docs/agent/browser/index.html).

### Image generation
Generate images from text descriptions or reference images.

### Ask questions
Ask clarifying questions while continuing to work in the background.

### Fetch rules
Retrieve [rules](/content/docs/rules/index.html) based on type and description.

Learn more about [how tools work](/content/docs/agent/overview#tools/index.html) and [tool calling fundamentals](/content/learn/tool-calling/index.html).

## Pricing

Cursor [plans](/content/docs/models-and-pricing/index.html) include two usage pools. Claude 4 Sonnet draws from the **API** pool, which charges at the rates below. Individual plans include at least $20 of API usage each month (more on higher tiers). All prices are per million tokens.

| Name | Input | Cache Write | Cache Read | Output |
| --- | --- | --- | --- | --- |
| <br>[Claude 4 Sonnet](/content/docs/models/claude-4-sonnet/index.html) | $3 | $3.75 | $0.3 | $15 |
