Feature request: Enable 1M context window for claude code python sdk

Resolved 💬 1 comment Opened Sep 7, 2025 by itamarperetz Closed Sep 7, 2025

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The 1M tokens content window is available for the standard python anthropic library, but is not available in claude_code_sdk.
Please make this feature available in the claude_code_sdk library as well.

Proposed Solution

Module name that supports 1M context window / beta argument similarly to the one exists in the anthropic python library.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗