Anthropic released Claude Code version 2.1.268, introducing gateway pricing configuration, significant bug fixes for third-party endpoints and network requests, and various UI improvements.
- Added `pricing` support to the Claude apps gateway so signed-in clients receive matching rates via managed settings.
- Fixed HTTP 400 errors on third-party Anthropic-compatible endpoints caused by a regex in the Artifact tool's input schema.
- Resolved WebFetch hanging indefinitely by implementing a 300-second deadline, configurable via `CLAUDE_CODE_WEBFETCH_DEADLINE_MS`.
- Added the `gatewayInternalNetworks` managed setting to allow `/login` from specific public IPv4 blocks.
- Fixed sustained high CPU usage in long-running idle sessions and improved startup time for projects with workflow scripts.
- Updated task-tracking tools to be offered only on Claude 3.x, Opus 4.0–4.7, Sonnet 4.0–4.6, and Haiku 4.5.
The update enhances security and reliability for self-hosted gateways while correcting critical connectivity issues with external API endpoints.