Users abandon chatbots that take >3 seconds to respond. Streaming sends tokens as they're generated rather than waiting for the full response. Combined with progressive UI rendering, this creates the perception of instant responses even for complex queries.
const stream = await fetch(api_url, { method: 'POST', body: JSON.stringify({stream: true, ...params}) });
for await (const chunk of stream) { displayToken(chunk.text); // Show each token instantly }
Claude handles Latency-Optimized Streaming tasks with excellent instruction compliance and structured output formatting.