Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I rented an H100 to find out what a shared API was hiding

$13.80 of GPU time · a practical exercise from Chapter 4 of Inference Engineering I'm currently reading Inference Engineering by Philip Kiely (Baseten, 2026), and I'm doing every chapter hands-on, not just reading it. This post is the practical exercise for Chapter 4 (Software) : I took an open model, served it myself on a rented H100 with vLLM, and measured what actually happens when real users…

I rented an H100 GPU to understand the impact of a shared API on an inference model's performance. The exercise was based on Chapter 4 of Philip Kiely's book, Inference Engineering. Inference engineering is the process of optimizing the serving of generative AI models to meet business needs without compromising the quality of the trained weights. The main techniques include batching, quantization, KV caching, parallelism, and disaggregation.

The experiment used vLLM 0.34.0 with 4,096-token context, a batch limit of 64 requests, and a 16 GB H100 GPU on RunPod at $4.40/hour. The theoretical maximum tokens per second was calculated to be 205, but the actual performance varied. On the H100, one user achieved 149 tokens/sec, while through OpenRouter, the same model only delivered 21 tokens/sec.

Batching showed that as the number of users increased from 1 to 64, the total output improved 40×, but each user experienced only an 18% slowdown. The main bottleneck was queueing, consuming about 91% of the wait time.

The results revealed that OpenRouter was hiding important information from users. When the reasoning process was included, the first token appeared in 1.3 seconds instead of 19 seconds. The user also discovered that the model's performance was influenced by factors such as distance from servers, batch size, and GPU cost. The main takeaway was that serving a model on one's own server provides transparency into every millisecond of performance, while shared APIs can mask critical details.

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 Tech

Ted Cruz Blames China for Data Center Water Fears: 'You're Being Lied To'

The Texas Republican claimed China-backed influence operations have helped rapidly shift public opinion against data centers.

  • Ted Cruz claims China funds misinformation about data centers' water consumption.
  • Texas hosts over 400 AI data centers consuming 25 billion gallons of water annually.
  • Cruz argues newer data centers use less water than golf courses.

The client disconnected. What should the meter charge?

The chat has stopped. The amount is still pending. A support agent asks a chat app to summarize a report. Halfway through the first paragraph, she realizes she picked the wrong file. She clicks Stop.

  • $0.04 charge pending after chat session disconnect
  • OpenRouter charged $0.04 for work done prior to disconnect
  • Support must pay $0.01 to complete $7.40 total bill

Stress-Testing 2,000 Procedural Strategy Maps with Bots and Building Zero-Login Friend Rooms

Real-time node-capture strategy games — the lineage running from Galcon to modern browser castle-conquering games — look deceptively simple on paper.

  • Conquer Clash uses 2,000 procedurally generated maps with deterministic codes
  • Automated bot-vs-bot simulations test map quality, discarding unwinnable or stalemate scenarios
  • Zero-login friend rooms maintain trust with AI opponents and seamless reconnects

More from Friday 27 November →