Urgent.News

What's breaking now, across thousands of outlets.

AI

Stop trusting a 99% uptime claim: the LLM API relay failures we hit, and how we test stability

*Originally published on the Folkbench blog: https://folkbench.com/en/blog/ai-api-relay-stability-guide?utm_source=luntan&utm_campaign=dev * A relay site may promise "99.9% fast and stable" and a "dedicated high-concurrency channel". Once you connect, things look different. This is how we went from buying on instinct to running automated checks before we pay for or integrate a relay. 1. The…

Don't trust the 99.9% uptime claims from LLM API relay services, as their performance can be unreliable. One Python script that tested a relay every 5 minutes failed when the relay returned 200 OK status despite the upstream pool being exhausted or the gateway timing out. This led to mid-stream data being inserted as if it were from the model.

Three testing approaches were developed: a simple blind trial with few requests, a concurrency test using tools like Postman or Locust, and a comprehensive stream state machine test. The state machine test simulates a streaming connection, examining factors such as latency, tokens per second, and SSE parsing.

Three key metrics determine a relay's production performance: latency (time to first token), throughput (generated tokens per duration), and reliability (success parsing, retries, and stream quality). To assess reliability, examine fake success rates and use a Wilson score interval to account for small sample sizes. Don't get swayed by low prices, as they often indicate shared accounts or low-quality proxies.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Freshworks to buy Torii to track SaaS and AI spending

Freshworks has agreed to acquire Torii, a startup that shows companies which software and AI tools their staff use and what those tools cost.

  • Freshworks acquires Torii for $ undisclosed on Oct 12, 2026
  • Integration of Torii's software into Freshworks' IT service management
  • Torii aids in tracking AI tool spending, addressing shadow IT challenges

More from Wednesday 14 October →