# Claude Sonnet 4.0 API Pricing & Context Window (/models/anthropic/claude-sonnet-4-0)

Claude Sonnet 4.0 is an Anthropic model tracked in Sim. It supports a 200k token context window. Pricing starts at $3/1M input tokens and $15/1M output tokens. Key capabilities include Temperature 0-1, Tool choice, Thinking low, medium, high.

| Specification | Value |
| - | - |
| Model ID | `claude-sonnet-4-0` |
| Provider | [Anthropic](/models/anthropic) |
| Status | Retired by the provider |
| Released | May 22, 2025 |
| Context window | 200k tokens |
| Max output | 64k tokens |

## Pricing \[#pricing]

Prices are in US dollars per 1M tokens, as listed in Sim's model catalog on Sep 4, 2026.

| Tokens | Price per 1M |
| - | - |
| Input | $3 |
| Cached input | $0.3 |
| Output | $15 |

## Capabilities \[#capabilities]

| Capability | Support |
| - | - |
| Temperature | 0 to 1 |
| Reasoning effort | Not supported |
| Verbosity | Not supported |
| Thinking levels | low, medium, high (default: high) |
| Structured outputs | Not supported |
| Tool choice | Supported |
| Computer use | Not supported |
| Memory support | Supported |
| Max output tokens | 64k |

## Use Claude Sonnet 4.0 in Sim \[#use-claude-sonnet-40-in-sim]

Anthropic has retired this model, so API calls to it fail and it no longer appears in the model picker. Workflows that still name it keep validating; switch their [Agent blocks](/workflows/blocks/agent) to a current model such as [Claude Sonnet 5.5](/models/anthropic/claude-sonnet-5-5).

## Related models \[#related-models]

| Model | Input | Output | Context window |
| - | - | - | - |
| [Claude Sonnet 4.6](/models/anthropic/claude-sonnet-4-6) | $3 | $15 | 1M |
| [Claude Opus 4.5](/models/anthropic/claude-opus-4-5) | $5 | $25 | 200k |
| [Claude Haiku 4.5](/models/anthropic/claude-haiku-4-5) | $1 | $5 | 200k |
| [Claude Opus 4.6](/models/anthropic/claude-opus-4-6) | $5 | $25 | 1M |
| [Claude Sonnet 5.5](/models/anthropic/claude-sonnet-5-5) | $2 | $10 | 1M |
| [Claude Sonnet 5](/models/anthropic/claude-sonnet-5) | $2 | $10 | 1M |

## Frequently asked questions \[#frequently-asked-questions]

### What is Claude Sonnet 4.0? \[#what-is-claude-sonnet-40]

Claude Sonnet 4.0 is an Anthropic model tracked in Sim. It supports a 200k token context window. Pricing starts at $3/1M input tokens and $15/1M output tokens. Key capabilities include Temperature 0-1, Tool choice, Thinking low, medium, high.

### How much does Claude Sonnet 4.0 cost? \[#how-much-does-claude-sonnet-40-cost]

Claude Sonnet 4.0 starts at $3/1M input tokens, $0.3/1M cached input tokens, and $15/1M output tokens.

### What is the context window for Claude Sonnet 4.0? \[#what-is-the-context-window-for-claude-sonnet-40]

Claude Sonnet 4.0 supports a context window of 200k tokens in Sim. In an agent, this determines how much conversation history, tool outputs, and retrieved documents the model can hold in a single call.

### What capabilities does Claude Sonnet 4.0 support? \[#what-capabilities-does-claude-sonnet-40-support]

Claude Sonnet 4.0 supports the following capabilities in Sim: Temperature 0-1, Tool choice, Thinking low, medium, high, Max output 64k.
