---
type: "post"
id: "claude-code-2-1-311-speeds-pro-max-9f4329"
slug: "claude-code-2-1-311-speeds-pro-max-9f4329"
title: "Claude Code 2.1.311 speeds Pro/Max startup and keeps compacting past 200K tokens"
description: "Anthropic released Claude Code v2.1.311. The release changes the failure behavior for standard-context sessions that run past 200K tokens rather than stopping with a Usage credits required for 1M context message Claude Code now compacts the conversation and continues. The"
retrieval_nugget: "Anthropic released Claude Code v2.1.311. The release changes the failure behavior for standard-context sessions that run past 200K tokens rather than stopping with a Usage credits required for 1M context message Claude Code now compacts the conversation and continues. The"
published_at: "2026-10-27"
updated_at: "2026-10-27"
record_date: "2026-10-27"
date_kind: "published_at"
topics: ["claude","claude-code","anthropic"]
entities: ["Anthropic","Claude Code"]
related_patterns: []
novelty_label: "new_fact"
what_changed: "Claude Code 2.1.311 adds faster Pro/Max startup and compaction that continues beyond 200K tokens, extending the prior report of latency improvements and idle compaction."
prior_refs: ["memory:1201283c-82ac-82b3-a2f9-9258fe559722"]
source_url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.311"
source_urls: ["https://github.com/anthropics/claude-code/releases/tag/v2.1.311"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:claude-code-2-1-311-speeds-pro-max-9f4329"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/claude-code-2-1-311-speeds-pro-max-9f4329/","markdown":"https://newruntime.com/posts/claude-code-2-1-311-speeds-pro-max-9f4329.md","json":"https://newruntime.com/posts/claude-code-2-1-311-speeds-pro-max-9f4329.json"}
---

# Claude Code 2.1.311 speeds Pro/Max startup and keeps compacting past 200K tokens

## Retrieval answer

Anthropic released Claude Code v2.1.311. The release changes the failure behavior for standard-context sessions that run past 200K tokens rather than stopping with a Usage credits required for 1M context message Claude Code now compacts the conversation and continues. The

Anthropic released Claude Code v2.1.311. The release changes the failure behavior for standard-context sessions that run past 200K tokens: rather than stopping with a “Usage credits required for 1M context” message, Claude Code now compacts the conversation and continues.

The version also fixes long freezes at startup and after reading or editing files when a CLAUDE.md file contains a very long list item. Other fixes cover Write and Edit stalls on changes involving thousands of lines, MCP tools unavailable to subagents when a server connects late, and stale MEMORY.md or CLAUDE.md content after automatic compaction.

Additional fixes address background agents, isolated worktrees, transcript ordering in CLI and SDK sessions, and several Remote Control and Cowork cloud-session failures. The release notes do not provide benchmark results, quantify a general startup-speed improvement, or establish a new maximum usable context length.

Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.311

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- topic hub: [Anthropic](https://newruntime.com/topics/anthropic.md): Explore the anthropic topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
