Here's a UX fact most builders discover the hard way: users don't measure latency in total time, they measure it in "time until something happens."
A model that takes 4 seconds to think and 0.5 seconds to answer feels faster than one that takes 2 seconds — if the 4-second one starts typing immediately.
The difference? Streaming.
The problem: non-streaming makes you wait
If you call the API with stream=False, your user stares at a spinner until the entire response is generated. Every second of model "thinking" is dead air. Three seconds feels like thirty.
The fix is a flag you're not setting
from openai import OpenAI
client = OpenAI(
base_url="https://aibridge-api.com/v1",
api_key="mb-your-key",
)
# stream=True: tokens arrive as they're generated, not all at once
stream = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Explain async/await"}],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
The first token hits your UI in milliseconds, and the perceived wait collapses — even though the total generation time is identical.
What this means for your app
- First-token latency is the real KPI. Users forgive a long answer; they don't forgive a long silence.
- Reasoning models especially. A flagship reasoning model might "think" for seconds. Without streaming, that's a blank screen. With it, you can even show a "thinking…" indicator as tokens flow.
- Chat UIs are table stakes. If you're building anything conversational, non-streaming feels broken — even if you've never noticed why.
The boring part: it just works
On AIBridge, streaming is supported across all 15+ models — DeepSeek, Kimi K3, GLM-4-Plus, Qwen — with no per-provider streaming quirks to handle. One stream=True, consistent behavior everywhere.
Plus the usual: 500K free tokens/month, top-ups at $2.99 per 1M raw tokens, one key for chat and embeddings.
The principle
Latency is a perception problem, not just a performance problem. Ship the first token fast, and the rest of the answer can take its time.
15+ models, all streaming, one OpenAI-compatible endpoint. ⚡





Top comments (0)