Urgent.News

What's breaking now, across hundreds 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Cloudflare Separates AI Training From Search, but Googlebot Rules Need Careful Review

Cloudflare has replaced its former one-click AI bot blocking approach with separate controls for Search, Agent and Training traffic .

  • Cloudflare introduces separate settings for Search, Agent, and Training AI traffic.
  • Googlebot may be restricted by Training rules when combined-crawler behavior is active.
  • Website owners must review settings to balance search visibility and AI training control.

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 2026 →