Chun says agents are entering production at scale as open-weight models approach closed models in capability. In a coding-agent comparison, GLM-5.2 on FriendliAI and Anthropic’s Opus 4.8 both built usable tower defense games; he reported costs of 27 cents and about $150, respectively.
The Frontier AI Inference Cloud for Agents
Speaker
Byung-Gon (Gon) Chun, founder and CEO of FriendliAI, explains how FriendliAI redesigned its inference cloud for agent workloads at an AI Engineer event.
Chat is usually measured by the time to answer one request, while an agent task can involve many model calls and tool calls over minutes or hours. Chun says the important measure is end-to-end task completion time. As an agent works, its context grows, and consecutive steps often reuse a large prompt prefix.
Chun outlines four engineering pillars: prefix caching, key-value cache management, cache-aware routing, and agent-aware optimization. Prefix caching reuses shared context; memory techniques use GPU, host memory, and disk; and global routing aims to find cached prefixes while balancing load. Agent-aware scheduling can also prefill likely next steps and make cache decisions using the broader workflow.
Chun describes a GLM-5.2 coding-agent comparison in which FriendliAI completed a mobile-game task end to end, and cites Kilo’s report that FriendliAI was seven times faster with a lower error rate in its GLM-5 split test. He names Kilo and LG as production customers. FriendliAI offers a serverless model API, dedicated endpoints with SLAs, and deployment on a customer’s GPUs.
Takeaways
- Measure agent performance by end-to-end task completion time, not only per-call latency.
- Reuse shared prompt prefixes across agent steps to cut repeated prefill work.
- Plan KV-cache capacity and placement across GPU, host memory, and disk for long-running contexts.
- Route requests with cache locality in mind while balancing cluster load.
- Compare open-weight model cost and quality on representative agent tasks before choosing production defaults.
Mentioned in this talk
Search inside this talk
What was claimed 19
- builtFriendliAI built BYOG
“BYOG—bring your own GPU—lets you run FriendliAI inference on your own infrastructure”
YouTube Verified2 sources· Talk, Web· archived
- foundedByung-Gon Chun founded FriendliAI
“I'm Gon, founder and CEO of FriendliAI.”
YouTube Verified4 sources· Talk, Web· archived
- ceo ofByung-Gon Chun CEO of FriendliAICEO
“founder and CEO of FriendliAI”
YouTube Unverified1 source· Talk
- featureFriendliAI: Frontier AI inference cloud for agents
“FriendliAI is the frontier AI inference cloud for agents.”
YouTube Unverified1 source· Talk
- featureFriendliAI: Operates globally and is headquartered in San Francisco, with a team in Seoul
“Today we operate globally, headquartered in San Francisco, with a team in Seoul”
YouTube Unverified1 source· Talk
- builtFriendliAI built Orca
“Our Orca work inspired vLLM”
YouTube Unverified1 source· Talk
- featureopen-weight models: Rival closed frontier models in capability
“They now rival closed frontier models in capability”
YouTube Unverified1 source· Talk
- usesFriendliAI uses
GLM-5.2
“GLM-5.2, an open-weight model running on FriendliAI.”
YouTube Unverified2 sources· Talk
- metric
Claude Opus 4.8: About $150 for the tower defense task
“Opus 4.8 cost about $150”
YouTube Unverified1 source· Talk
- metric
GLM-5.2: 27 cents for the tower defense task, about 5.6 times cheaper than Opus 4.8
“GLM-5.2 on FriendliAI cost 27 cents—about 5.6 times cheaper.”
YouTube Unverified1 source· Talk
- featureFriendliAI: Optimizes end-to-end task latency for agentic workloads
“we set one goal: optimize end-to-end task latency”
YouTube Unverified1 source· Talk
- featureFriendliAI: Provides frugal memory management, KV cache quantization, hierarchical caching, and distributed caching
“We use frugal memory management... KV cache quantization... hierarchical caching... distributed caching”
YouTube Unverified1 source· Talk
- integrates withFriendliAI integrates with
Kilo Code
“using the same model, GLM-5.2, with Kilo Code”
YouTube Unverified1 source· Talk
- usesFriendliAI uses
Kimi
“MiniMax, and Kimi, served on FriendliAI”
YouTube Unverified1 source· Talk
- usesFriendliAI uses MiniMax
“open-weight frontier models like GLM-5.2, MiniMax, and Kimi, served on FriendliAI”
YouTube Unverified1 source· Talk
- metric
Kilo Code: Millions of users
“serving millions of users”
YouTube Unverified1 source· Talk
- featureFriendliAI: Serves production teams from AI-native startups to global enterprises
“currently powering teams in production”
YouTube Unverified1 source· Talk
- metricFriendliAI: Seven times faster with a significantly lower error rate in Kilo's split test of GLM-5 usage
“FriendliAI was consistently seven times faster with a significantly lower error rate.”
YouTube Unverified1 source· Talk
- launchedFriendliAI launched FriendliAI inference API
“Model API is the fastest way to start”
YouTube Unverified1 source· Talk













