Yun Mo says open-weight models such as GLM-5.2 are competitive with leading proprietary models on coding, reasoning, and agentic tasks. In his tower-defense experiment, GLM-5.2 and Opus 4.8 produced similar working games, while GLM-5.2 cost more than 5.6 times less.
Same Model, Different Speed: Why Your Inference Provider Matters
Speaker
Yun Mo, founding engineer at FriendliAI, explains how inference providers affect the speed and reliability of open-weight models at an AI Engineer event.
Latency, throughput, and reliability can vary even when the model weights are the same. In a Moto Crush coding-agent comparison using GLM-5.2, FriendliAI completed the game in under two minutes, while another provider took more than three minutes. Mo attributes those differences to the full inference stack, including routing, caching, quantization, and GPU kernels.
Agent requests often contain more than 10,000 input tokens, and 50% to 90% may repeat across requests. FriendliAI uses cache-aware routing to send requests to replicas holding a matching prefix, and a cache hierarchy that moves data between GPU memory, CPU RAM, and storage. Reusing cached prefixes can reduce prefill work and time to first token.
Speculative decoding proposes several candidate tokens and has the target model validate them in one pass, which can improve time per output token without changing output quality. Model-based speculation uses a draft model and can have higher acceptance, while model-free methods have lower overhead but work best when output resembles the context. FriendliAI says its runtime can select approaches dynamically and adapt draft predictions to serving traffic.
Mo argues that timeouts, server errors, rate limits, and other failures can disrupt agent workflows, even when average latency is low. He cites a FriendliAI snapshot showing over 99.9% uptime and a Kilo Code split test in which FriendliAI was over seven times faster than many other providers, with a lower error rate. He recommends evaluating providers on real prompts, traffic patterns, costs, and latency needs.
Takeaways
- Compare providers on your own workload, including prompt lengths, traffic patterns, reliability, and cost.
- Measure end-to-end agent task time, since a provider can change the experience even with the same model and agent.
- Look for repeated prefixes in long requests; cache reuse can cut prefill work and time to first token.
- Tune speculative decoding to the workload because acceptance gains and validation overhead vary.
- Include error rates and uptime in performance reviews because one failed model call can break an agent task.
Mentioned in this talk
Search inside this talk
What was claimed 7
- built
“how we built a fast and reliable inference API”
YouTube Unverified1 source· Talk
- role atYun Mo is founding engineer at FriendliAI
“I'm a founding engineer at FriendliAI”
YouTube Unverified1 source· Talk
- metric
GLM-5.2: More than 5.6 times cheaper than Opus 4.8 for the demonstrated task
“GLM-5.2 was more than 5.6 times cheaper for this task”
YouTube Unverified1 source· Talk
- featureFriendliAI inference API: Cache-aware routing and hierarchical cache management
“cache-aware routing”
YouTube Unverified1 source· Talk
- featureFriendliAI inference API: Dynamic hybrid selection between model-based and model-free speculation
“the runtime can dynamically select between model-based and model-free speculation”
YouTube Unverified1 source· Talk
- metricFriendliAI inference API: Over 99.9% uptime for GLM-5.1 Pro in the cited snapshot
“with over 99.9% uptime”
YouTube Unverified1 source· Talk
- metric
Kilo Code: FriendliAI was over seven times faster and had a significantly lower error rate in its GLM-model split test
“FriendliAI was over seven times faster and had a significantly lower error rate”
YouTube Unverified1 source· Talk











