Anthropicfeature
November 6, 2026·Source

Claude API Latency Optimizer in Claude Code

A new Claude Code command that finds where your Claude API code makes users wait and tries faster settings against your eval. For developers building on the Claude API.

  • Run /claude-api latency-optimize inside Claude Code.
  • It looks for the places in your Claude API code where users wait, then tries faster settings against your own eval.
  • Shipped in Claude Code version 2.1.319.

Best for

Speeding up an app or feature that calls the Claude API.

When to use it

Your users wait too long on responses and you already have an eval to test changes against.

Who benefits

Developers shipping Claude-powered features.

Join the newsletter to get ahead with AI.

I share strategies, new modules, free guides, and tools to get you better at using AI in your work.

Leading a team? See team programs →