AI/TLDR

Anthropic · 2026-08-21 · major

Claude Code 2.1.239 — a proxy bug that doubled Bedrock API calls is fixed

Claude Code 2.1.239 fixes a bug where Bedrock streaming behind proxies that strip the Content-Type header silently doubled billed API calls. The release also adds /claude-api upgrade, which migrates Python projects to anthropic 1.x.

GitHub repository card for anthropics/claude-code

Anthropic's 2.1.239 build closes a Bedrock proxy bug that silently doubled the API calls you were billed for.

Quick facts

Version2.1.239
MakerAnthropic
ReleasedAugust 21, 2026
New command/claude-api upgrade
Billing fixBedrock streaming behind Content-Type-stripping proxies
Agent listing/list-agents now shows teammates and the session's own name
Later builds2.1.240 and 2.1.241 are bug fixes only

What is it?

Claude Code 2.1.239 fixes a billing bug on Amazon Bedrock. When streaming ran behind a proxy that strips the response Content-Type header, Claude Code fell back to re-running the whole turn without streaming, so every turn was billed twice. The same build adds /claude-api upgrade, a command that migrates Python projects from the anthropic 0.x library to 1.x.

How does it work?

The fix stops Claude Code from reading a missing response Content-Type header as a broken stream, so the turn is no longer replayed as a second, non-streaming request. A related fix makes the credential pre-check honor HTTPS_PROXY, which had left Claude Code hanging at startup on Bedrock with an SSO profile and awsAuthRefresh set.

Why does it matter?

Teams on Bedrock behind a corporate proxy were paying twice per turn with nothing on screen to show it, and the 2.1.239 notes are where that behavior is first described. Anthropic widened platform coverage in the same build, so Alpine and musl images and native Windows setups pick up features that previously worked only on glibc Linux and macOS.

Who is it for?

teams running Claude Code on Bedrock or behind a corporate proxy

Frequently asked questions

Was I overcharged by the Bedrock streaming bug?
Claude Code users on Amazon Bedrock whose traffic passed through a proxy that strips the response Content-Type header were billed for twice as many API calls, because Claude Code re-ran every turn non-streaming. The 2.1.239 notes describe the doubled billing but say nothing about refunds or credits, so contact Anthropic support for account-specific billing questions.
Does Claude Code 2.1.239 change the cost figures I see?
Cost estimates in Claude Code now include the 1.1x US-only-inference premium charged to data-residency workspaces. The change applies to the /cost command, the status line, and the --max-budget-usd flag, so a workspace pinned to US-only inference sees a higher, more accurate running total than it did on earlier builds.
Can Claude Code sessions on Windows message each other now?
Windows gets cross-session messaging in the Claude Code 2.1.239 notes, so sessions across your machines can message each other with SendMessage and find each other with ListAgents, as they already could on macOS and Linux. Anthropic's documentation states native Windows needs version 2.1.234 or later for the feature.
Does Claude Code work properly on Alpine Linux?
Alpine and other musl-based builds now load the native image paste, clipboard, and audio-capture add-ons in Claude Code 2.1.239. Earlier builds shipped glibc binaries that the musl runtime refused, so those three add-ons silently failed on Alpine images. Anthropic now ships musl-built binaries for them.
Should I upgrade if I code in JetBrains IDEs?
JetBrains users get a concrete speed fix in Claude Code 2.1.239: Edit and Write calls no longer pause for about five seconds in JetBrains IDE terminals when the Claude Code plugin is connected. The same build also stops a raw crash dump when you start Claude Code from a directory that no longer exists.

Try it

claude --version

Sources · 2 outlets

Tags

  • tool
  • claude-code
  • anthropic
  • coding-agent
  • release
  • changelog
  • bedrock
  • billing
  • cross-session-messaging
  • windows
  • alpine
  • cli

← All releases · Learn AI