Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
584 changes: 292 additions & 292 deletions content/.metadata.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/blog/engineering/claude-code-sandboxing.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Our new sandboxed bash tool and Claude Code on the web offer substantial improve
To get started with these tools:

1. Run `/sandbox` in Claude and check out [our docs](https://docs.claude.com/en/docs/claude-code/sandboxing) on how to configure this sandbox.
2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.0a932e1b-c15e-4962-8ff5-4a285387316f/code) to try out Claude Code on the web.
2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.b0157fd3-99db-436f-a42e-5cef466be6b0/code) to try out Claude Code on the web.

Or, if you're building your own agents, check out our [open-sourced sandboxing code](https://github.com/anthropic-experimental/sandbox-runtime), and consider integrating it into your work. We look forward to seeing what you build.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ If you’re interested in joining Anthropic’s engineering team, visit our [car

## Related content

### Anthropic expands partnership with Google and Broadcom for multiple gigawatts of next-generation compute

[Read more](https://www.anthropic.com/news/google-broadcom-partnership-compute)

### Australian government and Anthropic sign MOU for AI safety and research

[Read more](https://www.anthropic.com/news/australia-MOU)
Expand All @@ -32,9 +36,3 @@ If you’re interested in joining Anthropic’s engineering team, visit our [car
We’re launching the Claude Partner Network, a program for partner organizations helping enterprises adopt Claude.

[Read more](https://www.anthropic.com/news/claude-partner-network)

### Introducing The Anthropic Institute

We’re launching The Anthropic Institute, a new effort to confront the most significant challenges that powerful AI will pose to our societies.

[Read more](https://www.anthropic.com/news/the-anthropic-institute)
10 changes: 4 additions & 6 deletions content/blog/news/claude-code-on-team-and-enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ To explore how Claude for Enterprise can transform your organization's productiv

## Related content

### Anthropic expands partnership with Google and Broadcom for multiple gigawatts of next-generation compute

[Read more](https://www.anthropic.com/news/google-broadcom-partnership-compute)

### Australian government and Anthropic sign MOU for AI safety and research

[Read more](https://www.anthropic.com/news/australia-MOU)
Expand All @@ -55,9 +59,3 @@ To explore how Claude for Enterprise can transform your organization's productiv
We’re launching the Claude Partner Network, a program for partner organizations helping enterprises adopt Claude.

[Read more](https://www.anthropic.com/news/claude-partner-network)

### Introducing The Anthropic Institute

We’re launching The Anthropic Institute, a new effort to confront the most significant challenges that powerful AI will pose to our societies.

[Read more](https://www.anthropic.com/news/the-anthropic-institute)
10 changes: 4 additions & 6 deletions content/blog/news/claude-code-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ To learn more, visit [claude.com/solutions/claude-code-security](http://claude.c

## Related content

### Anthropic expands partnership with Google and Broadcom for multiple gigawatts of next-generation compute

[Read more](https://www.anthropic.com/news/google-broadcom-partnership-compute)

### Australian government and Anthropic sign MOU for AI safety and research

[Read more](https://www.anthropic.com/news/australia-MOU)
Expand All @@ -54,9 +58,3 @@ To learn more, visit [claude.com/solutions/claude-code-security](http://claude.c
We’re launching the Claude Partner Network, a program for partner organizations helping enterprises adopt Claude.

[Read more](https://www.anthropic.com/news/claude-partner-network)

### Introducing The Anthropic Institute

We’re launching The Anthropic Institute, a new effort to confront the most significant challenges that powerful AI will pose to our societies.

[Read more](https://www.anthropic.com/news/the-anthropic-institute)
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ These updates are available now for Claude Code users.

## Related content

### Anthropic expands partnership with Google and Broadcom for multiple gigawatts of next-generation compute

[Read more](https://www.anthropic.com/news/google-broadcom-partnership-compute)

### Australian government and Anthropic sign MOU for AI safety and research

[Read more](https://www.anthropic.com/news/australia-MOU)
Expand All @@ -63,9 +67,3 @@ These updates are available now for Claude Code users.
We’re launching the Claude Partner Network, a program for partner organizations helping enterprises adopt Claude.

[Read more](https://www.anthropic.com/news/claude-partner-network)

### Introducing The Anthropic Institute

We’re launching The Anthropic Institute, a new effort to confront the most significant challenges that powerful AI will pose to our societies.

[Read more](https://www.anthropic.com/news/the-anthropic-institute)
2 changes: 1 addition & 1 deletion content/en/api/cli/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/cli/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/php/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/download.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/retrieve_metadata.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/files/upload.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/beta/skills/versions/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/completions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/completions/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/cancel.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/delete.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/results.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/batches/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/count_tokens.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/messages/create.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models/list.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/api/terraform/models/retrieve.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/build-with-claude/adaptive-thinking.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ You can combine adaptive thinking with the [effort parameter](/docs/en/build-wit

| Effort level | Thinking behavior |
|:-------------|:------------------|
| `max` | Claude always thinks with no constraints on thinking depth. Opus 4.6 only. Requests using `max` on other models return an error. |
| `max` | Claude always thinks with no constraints on thinking depth. Available on Claude Opus 4.6 and Claude Sonnet 4.6. |
| `high` (default) | Claude always thinks. Provides deep reasoning on complex tasks. |
| `medium` | Claude uses moderate thinking. May skip thinking for very simple queries. |
| `low` | Claude minimizes thinking. Skips thinking for simple tasks where speed matters most. |
Expand Down
5 changes: 3 additions & 2 deletions content/en/build-with-claude/effort.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This approach has two major advantages:

| Level | Description | Typical use case |
| -------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `max` | Absolute maximum capability with no constraints on token spending. Opus 4.6 only. Requests using `max` on other models return an error. | Tasks requiring the deepest possible reasoning and most thorough analysis |
| `max` | Absolute maximum capability with no constraints on token spending. Available on Claude Opus 4.6 and Claude Sonnet 4.6. | Tasks requiring the deepest possible reasoning and most thorough analysis |
| `high` | High capability. Equivalent to not setting the parameter. | Complex reasoning, difficult coding problems, agentic tasks |
| `medium` | Balanced approach with moderate token savings. | Agentic tasks that require a balance of speed, cost, and performance |
| `low` | Most efficient. Significant token savings with some capability reduction. | Simpler tasks that need the best speed and lowest costs, such as subagents |
Expand All @@ -57,6 +57,7 @@ Sonnet 4.6 defaults to `high` effort. Explicitly set effort when using Sonnet 4.
- **Medium effort** (recommended default): Best balance of speed, cost, and performance for most applications. Suitable for agentic coding, tool-heavy workflows, and code generation.
- **Low effort:** For high-volume or latency-sensitive workloads. Suitable for chat and non-coding use cases where faster turnaround is prioritized.
- **High effort:** For tasks requiring maximum intelligence from Sonnet 4.6.
- **Max effort:** For tasks requiring the absolute highest capability with no constraints on token spending.

## Basic usage

Expand Down Expand Up @@ -255,7 +256,7 @@ puts message.content.first.text

## When to adjust the effort parameter

- Use **max effort** when you need the absolute highest capability with no constraints: the most thorough reasoning and deepest analysis. Only available on Opus 4.6; requests using `max` on other models return an error.
- Use **max effort** when you need the absolute highest capability with no constraints: the most thorough reasoning and deepest analysis. Available on Claude Opus 4.6 and Claude Sonnet 4.6.
- Use **high effort** (the default) when you need Claude's best work: complex reasoning, nuanced analysis, difficult coding problems, or any task where quality is the top priority.
- Use **medium effort** as a balanced option when you want solid performance without the full token expenditure of high effort.
- Use **low effort** when you're optimizing for speed (because Claude answers with fewer tokens) or cost. For example, simple classification tasks, quick lookups, or high-volume use cases where marginal quality improvements don't justify additional latency or spend.
Expand Down
20 changes: 10 additions & 10 deletions content/en/build-with-claude/working-with-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
--header "content-type: application/json" \
--data \
'{
"model": "claude-opus-4-6",
"model": "claude-sonnet-4-5",
"max_tokens": 1,
"messages": [
{"role": "user", "content": "What is latin for Ant? (A) Apoidea, (B) Rhopalocera, (C) Formicidae"},
Expand All @@ -404,7 +404,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
import anthropic

message = anthropic.Anthropic().messages.create(
model="claude-opus-4-6",
model="claude-sonnet-4-5",
max_tokens=1,
messages=[
{
Expand All @@ -423,7 +423,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
const anthropic = new Anthropic();

const message = await anthropic.messages.create({
model: "claude-opus-4-6",
model: "claude-sonnet-4-5",
max_tokens: 1,
messages: [
{
Expand All @@ -450,7 +450,7 @@ You can pre-fill part of Claude's response in the last position of the input mes

var parameters = new MessageCreateParams
{
Model = Model.ClaudeOpus4_6,
Model = Model.ClaudeSonnet4_5,
MaxTokens = 1,
Messages = [
new() { Role = Role.User, Content = "What is latin for Ant? (A) Apoidea, (B) Rhopalocera, (C) Formicidae" },
Expand Down Expand Up @@ -479,7 +479,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
client := anthropic.NewClient()

response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{
Model: anthropic.ModelClaudeOpus4_6,
Model: anthropic.ModelClaudeSonnet4_5,
MaxTokens: 1,
Messages: []anthropic.MessageParam{
anthropic.NewUserMessage(anthropic.NewTextBlock("What is latin for Ant? (A) Apoidea, (B) Rhopalocera, (C) Formicidae")),
Expand All @@ -505,7 +505,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
AnthropicClient client = AnthropicOkHttpClient.fromEnv();

MessageCreateParams params = MessageCreateParams.builder()
.model(Model.CLAUDE_OPUS_4_6)
.model(Model.CLAUDE_SONNET_4_5)
.maxTokens(1L)
.addUserMessage("What is latin for Ant? (A) Apoidea, (B) Rhopalocera, (C) Formicidae")
.addAssistantMessage("The answer is (")
Expand All @@ -530,7 +530,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
['role' => 'user', 'content' => 'What is latin for Ant? (A) Apoidea, (B) Rhopalocera, (C) Formicidae'],
['role' => 'assistant', 'content' => 'The answer is ('],
],
model: 'claude-opus-4-6',
model: 'claude-sonnet-4-5',
);
echo $message->content[0]->text;
```
Expand All @@ -541,7 +541,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
client = Anthropic::Client.new

message = client.messages.create(
model: "claude-opus-4-6",
model: "claude-sonnet-4-5",
max_tokens: 1,
messages: [
{
Expand All @@ -566,7 +566,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
"text": "C"
}
],
"model": "claude-opus-4-6",
"model": "claude-sonnet-4-5",
"stop_reason": "max_tokens",
"stop_sequence": null,
"usage": {
Expand All @@ -577,7 +577,7 @@ You can pre-fill part of Claude's response in the last position of the input mes
```

<Warning>
Prefilling is deprecated and not supported on Claude Opus 4.6, Claude Sonnet 4.6, and Claude Sonnet 4.5. Use [structured outputs](/docs/en/build-with-claude/structured-outputs) or system prompt instructions instead.
Prefilling is not supported on Claude Opus 4.6 and Claude Sonnet 4.6. Requests using prefill with these models return a 400 error. Use [structured outputs](/docs/en/build-with-claude/structured-outputs) or system prompt instructions instead. See the [migration guide](/docs/en/about-claude/models/migration-guide) for migration patterns.
</Warning>

## Vision
Expand Down
4 changes: 0 additions & 4 deletions content/en/resources/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,4 @@

<Card title="llms.txt" icon="file" href="/llms.txt">
LLM-optimized documentation index.
</Card>

<Card title="llms-full.txt" icon="file" href="/llms-full.txt">
Complete LLM-optimized documentation.
</Card>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Precisely define your desired output format using JSON, XML, or custom templates

## Prefill Claude's response

<Note>Prefilling is deprecated and not supported on Claude Opus 4.6, Claude Sonnet 4.6, and Claude Sonnet 4.5. Use [structured outputs](/docs/en/build-with-claude/structured-outputs) or system prompt instructions instead.</Note>
<Note>Prefilling is not supported on Claude Opus 4.6 and Claude Sonnet 4.6. Use [structured outputs](/docs/en/build-with-claude/structured-outputs) or system prompt instructions instead.</Note>

Prefill the `Assistant` turn with your desired format. This trick bypasses Claude's friendly preamble and enforces your structure.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ If you decide to implement leak-resistant techniques, be sure to test your promp
## Strategies to reduce prompt leak

- **Separate context from queries:**
You can try using system prompts to isolate key information and context from user queries. You can emphasize key instructions in the `User` turn, then reemphasize those instructions by prefilling the `Assistant` turn. (Note: prefilling is deprecated and not supported on Claude Opus 4.6, Sonnet 4.6, and Sonnet 4.5.)
You can try using system prompts to isolate key information and context from user queries. You can emphasize key instructions in the `User` turn, then reemphasize those instructions by prefilling the `Assistant` turn. (Note: prefilling is not supported on Claude Opus 4.6 and Sonnet 4.6.)

<section title="Example: Safeguarding proprietary analytics">

Expand Down
Loading