ToolClaudeClaude Code
Claude Code update adds AWS cost attribution
Original title: Claude Code 2.1.318
- Date
- Company
- Anthropic
- Type
- Tool
- Source
- AnthropicRead the source (opens in a new tab)

Plain language
- What it is
- A new update for Claude Code, version v2.1.318, has been released with bug fixes and small usability improvements.
- How it works
- The tool now remembers your choices when asking to enable modifications it writes, and displays warnings before your login session expires.
- Where it is available
- This update is available for Claude Code users across different environments, including macOS, cloud sessions, and remote setups.
- Example
- The system will display a one-line warning ten days before your stored claude.ai login session is set to expire.
For developers
- What it is
- Claude Code version v2.1.318 has been released, introducing bug fixes, configuration improvements, and new options for AWS integration and MCP servers.
- How it works
- It adds assume_role on mantle upstreams of the Claude apps gateway for cross-account AWS roles and cost attribution. It also introduces an effort option to a mod's $.model.fork and fixes config file locking issues for claude mcp commands.
- Where it is available
- The changes apply to the Claude Code CLI, self-hosted runners, cloud sessions, and the VSCode integration.
- Example
- Developers can use the new effort option in $.model.fork to run a quick side job at a lower effort level than the main session.
The original post
The headline and explanation on this page are based on Anthropic's post. The full details are in the original.
Claude Code 2.1.318
Read the source (opens in a new tab)