What this thread does
Do first: in your Claude API application's repository, run /claude-api latency-optimize inside Claude Code 2.1.319.
Anthropic's November 6 release introduces this entry point.
What changed
- The bundled API skill can locate where application code makes users wait and try faster settings against the application's eval. Official changelog
Make the comparison useful
1. Open Claude Code in the app repository and enter the command at the start of a message. Claude Code treats the remaining text as arguments; see the command reference. To inspect available commands first, type / and then letters to filter the menu. 2. Give it the slow request path and your existing runnable evaluation. State what response quality must remain acceptable. If you still need an eval set, the bundled /claude-api build-eval workflow creates one for the application. 3. Ask for a baseline and one proposed change at a time. Compare elapsed time and eval results on the same inputs before keeping a change.
/claude-api latency-optimize
The comparison steps are a suggested way to assess the feature. The release does not promise a particular model switch, a fixed list of settings, or a universal speedup. It targets your application's Claude API code; it is not a setting for speeding up every Claude Code turn. Release scope
Evidence and limits
VibeHacker, November 6 at 5:29 PM independently reports the command's addition. It provides no before-and-after latency measurements.
A lower elapsed time is useful only if the application still meets its quality bar. Keep the baseline and changed-run results together so a faster answer is not mistaken for a better result.
Not for: Claude API cost profiling with /claude-api cost-optimize; see claude-api-cost-optimize-guide.
Started from a post by @Anthropic, packaged by the editor. Original post