CLAUDE LABJP
MCP — The July 28 MCP spec release candidate drops the Mcp-Session-Id header and goes stateless, so remote MCP servers no longer need sticky sessionsAPPS — The same release adds MCP Apps for server-rendered UI and a Tasks extension for long-running workMEMORY — The Python 0.116.0, TypeScript 0.110.0, and Go 1.56.0 SDKs now send agent-memory-2026-07-22 on every memory store callSPILL — Output from agent_toolset and MCP tools past 100K characters now spills to a file in the sandbox, with the model receiving a truncated preview it can expandBG — MCP tool calls running past two minutes move to the background automatically, keeping the session usable; tune it with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSRESUME — Typing /resume in the agent view opens a picker of past sessions and brings your pick back as a background sessionMCP — The July 28 MCP spec release candidate drops the Mcp-Session-Id header and goes stateless, so remote MCP servers no longer need sticky sessionsAPPS — The same release adds MCP Apps for server-rendered UI and a Tasks extension for long-running workMEMORY — The Python 0.116.0, TypeScript 0.110.0, and Go 1.56.0 SDKs now send agent-memory-2026-07-22 on every memory store callSPILL — Output from agent_toolset and MCP tools past 100K characters now spills to a file in the sandbox, with the model receiving a truncated preview it can expandBG — MCP tool calls running past two minutes move to the background automatically, keeping the session usable; tune it with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSRESUME — Typing /resume in the agent view opens a picker of past sessions and brings your pick back as a background session
Articles/Claude.ai
Claude.ai/2026-03-26Intermediate

Claude Opus 4.6 Complete Feature Guide: 1M Context, Adaptive Thinking & Agent Teams

Claude Opus 4.6 and Sonnet 4.6 released March 25, 2026. Explore 1M context at standard pricing, 128k output, Adaptive Thinking, Dynamic Filtering, Compaction, and Fast Mode with code examples.

claude-ai15opus-4-6sonnet-4-621m-context2agent-teams3adaptive-thinking2

Claude Opus 4.6: A Turning Point

On March 25, 2026, Anthropic released Claude Opus 4.6 and Sonnet 4.6. This isn't a minor update—it fundamentally changes what's possible with AI.

What's New

  • 📊 1M tokens now standard-priced (was premium-only)
  • 128k and 64k output tokens
  • 🧠 Adaptive Thinking (reasoning for hard problems)
  • 🌐 Dynamic Filtering (smarter web search)
  • ♾️ Compaction (infinite conversations)
  • 🚀 Fast Mode (2.5x speed)
  • 👥 Agent Teams (multi-agent orchestration)

Deep Dive: The Major Features

1. One Million Tokens (1M Context) Democratized

Until now, 1M context was an expensive luxury reserved for power users. Starting March 25, 2026, anyone at standard pricing can use 1M tokens. This isn't a small change—it unlocks entirely new classes of problems.

What 1M Context Enables

With 1 million tokens, you're no longer limited to small documents or code snippets. You can provide:

Example 1: Entire Codebase Review

# Upload a 50,000-line Python project
# + 500 pages of design documentation
# + 100MB of commit history
# + 10,000 lines of test cases
 
# Claude analyzes everything at once:
# "Here's your architecture's bottleneck"
# "Refactoring roadmap"
# All in one response

Example 2: Multilingual Documentation Sync

You have English technical docs (100 pages), Japanese manual (80 pages), glossaries, and prior translations. Feed everything to Claude at once. It grasps terminology context across languages and outputs perfectly aligned documentation in seconds.

Example 3: Enterprise Business Intelligence

Input: 5 years of sales data (CSV, Excel), 10,000 customer feedback entries, market research PDFs, and competitive analysis. Output: multi-layered analysis with trend visualization, strategic recommendations, risk assessment, and actionable insights—all with complete context.

Pricing Comparison

ModelContextInputOutput
Sonnet 4.6200k$3 / 1M tokens$15 / 1M tokens
Opus 4.61M$15 / 1M tokens$75 / 1M tokens

Think about this: previous Pro plans cost roughly the same, but gave you only 200k context. Now you get 5x more context for nearly identical pricing.

2. Adaptive Thinking

When facing a genuinely hard problem, Claude now says "let me think about this properly."

Adaptive Thinking differs from Chain-of-Thought:

  • Dynamic Duration: Thinking time scales to problem complexity
  • Self-Correction: "That approach won't work, let me try again"
  • Refinement Layers: Rough sketch → detailed solution

Implementation

from anthropic import Anthropic
 
client = Anthropic()
 
response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=16000,
    thinking={
        "type": "enabled",
        "budget_tokens": 10000
    },
    messages=[{
        "role": "user",
        "content": "Solve this complex optimization problem"
    }]
)
 
# Response includes both thinking and final answer
for block in response.content:
    if block.type == "thinking":
        print("Claude's reasoning process:")
        print(block.thinking)
    elif block.type == "text":
        print("Final answer:")
        print(block.text)

Adaptive Thinking excels in mathematics (multi-step proofs, calculus), programming (algorithm design, debugging), philosophy (thought experiments), business (scenario analysis), and science (hypothesis formation). Essentially, any domain where depth and self-correction improve output quality.

3. Dynamic Filtering for Web Search

When you ask a question requiring current information, Opus 4.6 automatically decides:

  • 🔍 Should I search? (insufficient knowledge → yes)
  • 🎯 What keywords? (smart extraction)
  • 🚫 What to ignore? (noise filtering)
response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=4096,
    tools=[
        {
            "type": "web_search",
            "name": "search"
        }
    ],
    messages=[{
        "role": "user",
        "content": "What are the latest AI trends in 2026?"
    }]
)
 
# Opus decides it needs current info and auto-searches
# Fills knowledge gaps intelligently

Why it matters: Previously, you'd instruct "use web search." Now Claude judges when it's necessary.

4. Compaction: Infinite Conversations

Long chat histories inflate token usage. Compaction semantically compresses old messages while preserving essential context.

messages = [
    {"role": "user", "content": "Message 1"},
    {"role": "assistant", "content": "Response 1"},
    # ... 1000 more exchanges ...
    {"role": "user", "content": "Message 1000"}
]
 
response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=4096,
    messages=messages
)
 
# Compaction compresses old messages
# Recent messages stay at full fidelity
# Context loss: ~0%

Internal mechanism:

  • Older messages → semantic summaries
  • Recent messages → full precision
  • Lost nuance → negligible

5. Fast Mode

For lighter tasks, Opus 4.6 executes 2.5x faster with no quality loss.

response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=2048,
    messages=[{
        "role": "user",
        "content": "Fix the syntax error in this code"
    }]
)
 
# Normal: 2 seconds → Fast Mode: 0.8 seconds
# Routing is automatic (no manual selection needed)

6. Agent Teams (Opus-Exclusive)

Deploy multiple specialized agents that collaborate:

# Simplified Agent Teams example
 
analyst = Agent(
    model="claude-opus-4-6",
    role="data_analyst"
)
 
visualizer = Agent(
    model="claude-opus-4-6",
    role="visualization_expert"
)
 
report_writer = Agent(
    model="claude-opus-4-6",
    role="report_writer"
)
 
team = AgentTeam([analyst, visualizer, report_writer])
result = team.execute(
    task="Create a quarterly sales analysis report"
)
 
# Output: data analysis + charts + formatted report
# All created collaboratively

Sonnet 4.6: The New Workhorse

Sonnet 4.6 gets substantial upgrades:

FeatureSonnet 4.6
Context200k tokens
Output64k tokens
SpeedFastest (3x faster than Opus)
Price$3 / 1M input tokens
Adaptive Thinking✅ Yes
Fast Mode✅ Yes
Agent Teams❌ Opus only

When to use Sonnet 4.6:

  • ✅ Daily text processing
  • ✅ Lightweight code generation
  • ✅ Real-time response requirements
  • ✅ Cost-sensitive projects

When to use Opus 4.6:

  • ✅ Complex reasoning tasks
  • ✅ Multi-agent orchestration
  • ✅ 1M context projects
  • ✅ Deep analytical work

Implementation Guide

Step 1: API Setup

export ANTHROPIC_API_KEY="sk-ant-..."

Step 2: Use 1M Context

from anthropic import Anthropic
 
client = Anthropic()
 
with open("enterprise_handbook.pdf", "rb") as f:
    doc_data = f.read()
 
response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=4096,
    messages=[{
        "role": "user",
        "content": "Analyze this handbook and summarize best practices"
    }]
)
 
print(response.content[0].text)

Step 3: Enable Adaptive Thinking

response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=16000,
    thinking={"type": "enabled", "budget_tokens": 8000},
    messages=[{
        "role": "user",
        "content": "What's the optimal strategy for this scenario?"
    }]
)
 
for block in response.content:
    if block.type == "thinking":
        print("Reasoning:", block.thinking)
    elif block.type == "text":
        print("Answer:", block.text)

Step 4: Maximize Output

response = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=128000,  # Up to 128k tokens
    messages=[{
        "role": "user",
        "content": "Write a comprehensive whitepaper on AI ethics"
    }]
)
 
with open("whitepaper.txt", "w") as f:
    f.write(response.content[0].text)

Cost Comparison

Scenario 1: Large Document Analysis

  • Input: 1M tokens × $15/M = $1.50
  • Output: 50k tokens × $75/M = $0.375
  • Total: ~$1.88 (vs. $50+ with old multi-request approach)

Scenario 2: Agent Teams 3 agents × 10 exchanges = ~3M tokens = $50-70 (vs. $150+ previously)

Why This Matters Now

The convergence of these features—1M context, Adaptive Thinking, Compaction, Fast Mode, Agent Teams—represents a qualitative shift in AI capability. You're no longer using AI for isolated tasks. You're collaborating with an intelligence that understands your entire project, thinks deeply about hard problems, forgets nothing, and scales effortlessly.

Consider the economic impact alone: Previous approaches for handling 1M tokens would cost $50+. Now, the same work costs $1.88. But the real impact isn't financial—it's psychological and practical. Tasks that were theoretically possible but practically infeasible become routine.

Looking back

Claude Opus 4.6 and Sonnet 4.6 represent three fundamental advances:

  1. Scale: 1M tokens at standard pricing makes previously impossible workflows routine
  2. Intelligence: Adaptive Thinking solves genuinely difficult problems through dynamic reasoning
  3. Efficiency: Fast Mode, Compaction, and Agent Teams dramatically reduce latency and cost

The models are available today. If you're building anything complex—code analysis, document processing, research, strategy—the 1M context alone justifies trying Opus 4.6 right now. Your next breakthrough is probably waiting on the other side of that upgrade.

Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

Claude.ai2026-05-16
How I Handle 30+ App Store Reviews Monthly Using Claude — A Solo Developer's Workflow
Managing Beautiful HD Wallpapers and other apps with 50 million total downloads means dealing with reviews in 8 languages. Here's the Claude-powered workflow I built to handle 30–40 replies per session without triggering App Store throttling.
Claude.ai2026-05-13
What Changed After I Started Using Claude to Refine My English Artist Statements
An artist with 17 international art awards shares how using Claude to refine English artist statements changed the experience of applying to global open calls — and how to keep your own voice in the process.
Claude.ai2026-05-05
Claude Keeps Making the Same Mistake — Why Corrections Don't Stick and How to Fix It
Why Claude repeats mistakes even after correction, and how to make your instructions stick permanently using Projects, custom prompts, and smarter conversation design.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →