AI News AI资讯 10h ago Updated 6h ago 更新于 6小时前 50

Lowest-Latency Inference APIs for Voice and Realtime Agents: A Time to First Token TTFT-First Benchmark 最低延迟推理API用于语音和实时智能体:以首Token时间(TTFT)为核心的基准测试

TTFT (Time to First Token) is an insufficient metric for voice agents because TTS models require complete sentences before generating audio, making TTFS (Time to First Sentence) the more relevant user-experience metric The practical end-to-end latency budget for natural voice conversation is 700ms–1.2s, with a target median of 800ms voice-to-voice latency and roughly 700ms of TTFT budget for the LLM layer alone Silicon-optimized providers (Cerebras, Groq) excel at throughput but may have higher TTFT(首token时间)是语音AI代理延迟优化的关键入口指标,但并非终点;TTFS(首句时间)才是用户实际感知的延迟指标 自然对话要求端到端语音延迟低于1.5秒,其中LLM的TTFT预算约为700ms 不同提供商在TTFT和吞吐量之间存在权衡:Cerebras/Groq兼顾低延迟与高吞吐,而Mercury 2等扩散模型虽吞吐高但TTFT过长(3.07s) 基准测试方法论影响结果:10k token工作负载更接近语音代理实际场景,服务器位置和测量方式也会显著影响TTFT数据

68
Hot 热度
76
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • TTFT (Time to First Token) is an insufficient metric for voice agents because TTS models require complete sentences before generating audio, making TTFS (Time to First Sentence) the more relevant user-experience metric
  • The practical end-to-end latency budget for natural voice conversation is 700ms–1.2s, with a target median of 800ms voice-to-voice latency and roughly 700ms of TTFT budget for the LLM layer alone
  • Silicon-optimized providers (Cerebras, Groq) excel at throughput but may have higher TTFT, while diffusion-based models like Mercury 2 achieve high token speeds (770 tok/s) but suffer catastrophic TTFT (3.07s), making them unsuitable for voice
  • Benchmark methodology significantly impacts results: workload shape (10k vs 1k tokens), server location, reasoning token definitions, and measurement boundaries all affect reported TTFT numbers
  • Frontier models (GPT-5.6 Luna, Gemini 3.7 Flash, Claude 4.5 Haiku) generally fall in the 0.59s–0.90s TTFT range, with output speeds varying dramatically from 82 to 315 tokens per second

Why It Matters

Voice AI is rapidly moving from novelty to production deployment, and latency is the single most critical factor determining whether an agent feels conversational or frustratingly sluggish. AI practitioners building voice agents need to understand that optimizing for TTFT alone can produce agents that feel slow to users, since the complete pipeline from speech input to speech output involves multiple sequential and parallel stages that each consume part of a tight latency budget.

Technical Details

  • Latency breakdown: A voice turn consists of STT (100–200ms), LLM inference with streaming (300–500ms), TTS (100–200ms), and network/WebRTC transport (50–150ms), totaling a practical target of 700ms–1.2s end-to-end
  • TTFT vs TTFS distinction: TTFT measures when generation starts; TTFS (coined by LiveKit) measures when the first complete sentence of audio is produced, accounting for the TTS model's need for full clauses before synthesis
  • Benchmark methodology: Artificial Analysis uses 10k input token prompts (changed from 1k in March 2026), tests from Google Cloud us-central1-a zone, and measures from the receiving side (request send to first usable token off API), with TTFT for reasoning models capturing the first reasoning token separately from the first answer token
  • Provider performance tiers: Baseten's gpt-oss-120b leads with 0.23s TTFT and 266 tok/s output; Cerebras achieves exceptional throughput (1,697 tok/s) with 0.49s TTFT; Mercury 2's diffusion approach yields 3.07s TTFT despite 770 tok/s speed, making it four times over the LLM budget
  • Human baseline: Typical human conversational response time is ~500ms, with pauses beyond 800ms feeling unnatural, establishing the psychological threshold for acceptable agent latency

Industry Insight

  • Voice agent developers should prioritize providers that balance both low TTFT and high throughput rather than optimizing for either metric in isolation, as the combination determines TTFS which directly impacts perceived responsiveness
  • The shift toward longer context prompts (10k tokens) in benchmarks reflects real production workloads where policy, persona, tool schemas, and retrieved data are front-loaded, meaning providers optimized for short prompts may underperform in actual deployments
  • Silicon vendors building for raw throughput (Cerebras, Groq) are well-positioned for voice use cases where fast sentence completion matters, while novel architectures like diffusion-based LMs (Mercury 2) need to address TTFT before becoming viable for real-time voice applications

TL;DR

  • TTFT(首token时间)是语音AI代理延迟优化的关键入口指标,但并非终点;TTFS(首句时间)才是用户实际感知的延迟指标
  • 自然对话要求端到端语音延迟低于1.5秒,其中LLM的TTFT预算约为700ms
  • 不同提供商在TTFT和吞吐量之间存在权衡:Cerebras/Groq兼顾低延迟与高吞吐,而Mercury 2等扩散模型虽吞吐高但TTFT过长(3.07s)
  • 基准测试方法论影响结果:10k token工作负载更接近语音代理实际场景,服务器位置和测量方式也会显著影响TTFT数据

为什么值得看

这篇文章为语音AI代理开发者提供了清晰的延迟优化框架和实用的基准测试数据,帮助团队在TTFT和吞吐量之间做出正确权衡。对于构建实时语音交互产品的团队而言,理解TTFS比单纯追求TTFT更重要,这直接影响用户体验的自然度。

技术解析

  • 延迟预算分解:一次语音交互的延迟由STT(100-200ms)、LLM(300-500ms流式)、TTS(100-200ms)和网络(50-150ms)组成,目标端到端延迟为700ms-1.2s,中位数目标800ms
  • TTFT vs TTFS:TTFT衡量从请求到首token的时间,TTFS衡量到第一句完整语音输出的时间;TTS模型需要完整从句才能合成音频,因此TTFS由TTFT和token生成速度共同决定
  • 基准测试方法论:Artificial Analysis在2026年3月将默认工作负载从1k token改为10k token,更贴近语音代理实际场景(包含策略、人格、工具模式等前置内容);测试从us-central1-a区域发出,包含网络延迟
  • 性能对比数据:Baseten的gpt-oss-120b TTFT最低(0.23-0.24s),Cerebras的gpt-oss-120b在保持0.49s TTFT的同时提供1697 tok/s吞吐量;Mercury 2虽达770 tok/s但TTFT高达3.07s,超出整个LLM预算四倍

行业启示

  • 产品选型策略:语音代理开发者不应仅关注TTFT,需同时评估token吞吐量;Cerebras和Groq在两项指标上的平衡使其成为语音代理的优选方案
  • 技术架构建议:采用流式LLM推理结合实时TTS管道,将总延迟控制在800ms-1.5s范围内,可接近人类对话的自然响应时间(约500ms)
  • 基准测试陷阱:不同测试方法(内部TTFT vs 端到端TTFT、短prompt vs 长prompt)会导致结果差异巨大,选型时需确保测试条件与实际部署场景一致

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Inference 推理 Benchmark 基准测试 Speech 语音 Conversational AI 对话系统 Agent Agent