In Claude Code 2.1.268, prices from gateway.yaml are passed to signed-in users in managed settings, so /cost data and telemetry match the spend meter. The release adds a warning when access_control.allow_cidrs is empty and another warning when a request first arrives from a public address.

WebFetch is a tool for fetching web pages.

WebFetch now fails a request after 300 seconds when a server does not finish sending the response, while CLAUDE_CODE_WEBFETCH_DEADLINE_MS can change the deadline and a value of 0 disables it. Version 2.1.268 fixes an HTTP 400 error on third-party Anthropic-compatible endpoints that appeared in 2.1.265.

Claim check:

  • In Claude Code 2.1.268, prices from gateway.yaml are passed to signed-in users in managed settings, so /cost data and telemetry match the spend meter. (confirmed by the publication itself: evidence; «Added to the Claude apps gateway: with pricing: set in gateway.yaml , signed-in Claude Code clients receive the same rates through managed settings, so /cost and telemetry match the spend meter»)
  • The release adds a warning when access_control.allow_cidrs is empty and another warning when a request first arrives from a public address. (confirmed by the publication itself: evidence; «Added a startup warning for gateways when access_control.allow_cidrs is empty, and a one-time warning the first time a request arrives from a public address»)
  • WebFetch now fails a request after 300 seconds when a server does not finish sending the response, while CLAUDE_CODE_WEBFETCH_DEADLINE_MS can change the deadline and a value of 0 disables it. (confirmed by the publication itself: evidence; «Fixed WebFetch hanging indefinitely on a server that keeps the response open without finishing; a fetch now fails after 300 seconds. Set CLAUDE_CODE_WEBFETCH_DEADLINE_MS to override the deadline (0 turns it off)»)
  • Version 2.1.268 fixes an HTTP 400 error on third-party Anthropic-compatible endpoints that appeared in 2.1.265. (confirmed by the publication itself: evidence; «Fixed every turn failing with HTTP 400 on third-party Anthropic-compatible endpoints ( ANTHROPIC_BASE_URL ) since 2.1.265: a regex in the Artifact tool’s input schema that those endpoints reject»)

Primary sources:

score 73.3 out of 100 · kind: release · update 7