reduce-latency changedtest-and-evaluate/strengthen-guardrails/reduce-latency
Nearest release: v2.1.329, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−1removed
From line
205
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits12to this page, all time
The whole hunk
from line 205, old and new numbered
/
from line 205
205205Here are some tips to help you optimize your prompts and outputs:
206206
207207* **Be clear but concise:** Aim to convey your intent clearly and concisely in the prompt. Avoid unnecessary details or redundant information, while keeping in mind that [Claude lacks context](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#be-clear-and-direct) on your use case and might not make the intended inferences if instructions are unclear.
208* **Ask for shorter responses:** Ask Claude directly to be concise. If Claude is outputting unwanted length, ask Claude to [reduce its verbosity](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#be-clear-and-direct).
208* **Ask for shorter responses:** Ask Claude directly to be concise. If Claude is outputting unwanted length, ask Claude to [reduce its verbosity](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#communication-style-and-verbosity).
209209 <Tip>
210210 Because of how LLMs count
211211
from line 237
237237## Next steps
238238
239239<CardGroup cols={2}>
240 <Card title="Claude Cookbook: latency optimization on the Claude API" icon="book" href="https://platform.claude.com/cookbook/latency-optimization-latency-optimization">
241 Follow a runnable notebook that builds a latency eval for a sample agent, applies one technique at a time, and checks that output quality stays above a threshold.
242 </Card>
243
240244 <Card title="Reduce hallucinations" icon="shield" href="https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations">
241245 Minimize hallucinations in Claude’s outputs by allowing uncertainty, grounding responses in direct quotes, and verifying claims with citations.
242246 </Card>
from line 247
243247
244248 <Card title="Streaming messages" icon="bolt" href="https://platform.claude.com/docs/en/build-with-claude/streaming">
245249 Stream Messages API responses incrementally with server-sent events, including text, tool use, and extended thinking deltas.
250 </Card>
251
252 <Card title="Claude API skill" icon="terminal" href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/claude-api-skill">
253 Run `/claude-api latency-optimize` in Claude Code to measure where your application waits for the Claude API, and to test changes that shorten the wait without lowering output quality.
246254 </Card>
247255</CardGroup>
248256
No line in this hunk matches that.