# What you can measure about a cloud provider without spending a euro

- Link: https://hostimm.com/provider-latency-without-spending/
- Published: 2026-11-25T12:11:46-05:00
- Author: Alex Hardy

Before spending a euro on GPUs, spend twenty minutes on the network. Eight provider
endpoints, eight requests each, from one machine in Spain on 2026-11-25: Gemini 
answered in 99 ms at p50, RunPod in 147, Anthropic in 173, DigitalOcean in 184, 
OpenAI in 187, Railway in 200, Fly in 253, and DeepInfra in 610. That is time to
first byte on the API gateway, not time to a token, and the difference matters enough
to say it twice.

The verdict

 * **What this measures:** DNS, TCP, TLS and HTTP time to first byte from one location.
   It is the distance between you and a provider’s front door.
 * **What it does not measure:** inference speed, throughput, uptime under load,
   or cost. A fast front door on a slow house is still a slow house.
 * **The one number worth a second look:** DeepInfra’s 610 ms at p50, six times 
   Gemini’s. That is a gateway answering slowly, not a model generating slowly, 
   and it is worth knowing before you blame the model for a sluggish app.
 * **The useful part:** the same script anyone can run in a minute, so the number
   is reproducible rather than asserted.

## The numbers

Eight samples per endpoint, sequential, 200 ms apart, from a residential connection
in Spain on 2026-11-25, between 18:00 and 18:10 CET. All requests were unauthenticated
GETs to a models or metadata endpoint, so the response was small and the gateway
was the only variable.

 |  Endpoint |  DNS |  TCP |  TLS |  TTFB p50 |  Status |  
 |  generativelanguage.googleapis.com |  0.4 ms |  40 ms |  42 ms |  99 ms |  401 expected |  
 |  api.runpod.io |  0.4 ms |  25 ms |  25 ms |  147 ms |  400 expected |  
 |  api.anthropic.com |  0.5 ms |  21 ms |  21 ms |  173 ms |  401 expected |  
 |  api.digitalocean.com |  0.4 ms |  25 ms |  25 ms |  184 ms |  401 expected |  
 |  api.openai.com |  0.3 ms |  22 ms |  22 ms |  187 ms |  401 expected |  
 |  api.railway.app |  0.4 ms |  43 ms |  43 ms |  200 ms |  200 |  
 |  api.fly.io |  0.4 ms |  57 ms |  57 ms |  253 ms |  401 expected |  
 |  api.deepinfra.com |  0.4 ms |  162 ms |  162 ms |  610 ms |  200 |

Measured with workload W4 in latency mode, 8 samples per endpoint, p50 reported.
Raw JSON saved as results/latency-2026-11-25.json and results/latency-2026-11-25-
run2.json in the harness. 401 and 400 responses are the correct answer for an unauthenticated
request: they prove the gateway is alive and talking.

## Why TTFB is not speed

A request to an inference API passes three doors before a token exists: the network
path, the TLS handshake, and the gateway that authenticates you and routes the call.
Only after those does the model start generating. A 200 ms difference at the front
door is felt on every request in a chat interface, and it is invisible in a tokens
per second benchmark taken server side.

The useful consequence: if your app feels slow and the tokens per second look fine,
measure the front door before you change the model. Half the time the fix is a region,
not a model.

## Why the cheap test comes first

A real benchmark costs money: an L40S at $1.09 per hour, an A100 at $2.19, a month
of a droplet at $6. The network test costs nothing, takes a minute, and eliminates
the stupid explanations first. It is also the only measurement in this series that
anyone can reproduce exactly, because it needs no key, no card and no account.

What it cannot tell you is whether the expensive part is fast. That needs the paid
workloads, W1 to W3, and those publish as Real Bills with invoices attached. Until
the first one lands, this site will show you the free measurements and label them
as exactly what they are.

## How to run it yourself

The harness is one Python file with no dependencies beyond the standard library.
Point it at any list of URLs:

    ```
    python w4_deploy.py --latency --samples 8 --urls https://api.openai.com/v1/models https://api.runpod.io/graphql
    ```

It prints DNS, TCP, TLS and time to first byte at p50, and writes a JSON file with
every sample so a bad outlier is visible instead of averaged away. The repository
is public: [github.com/aionapexagent/hostimm-bench](https://github.com/aionapexagent/hostimm-bench),
MIT, and both JSON files from today are in `results/`.

## Run twice, because one run is a story

The same eight endpoints, measured again 40 minutes later: Gemini 101 ms, Anthropic
150, RunPod 165, DigitalOcean 179, Railway 201, OpenAI 208, Fly 238, DeepInfra 608.
The order barely moved and every endpoint stayed within about 20 ms of its first
number, which is what makes the method usable. DeepInfra sat at 608 and 610, so 
that one is a property of the route, not a bad minute.

That is the whole discipline in one paragraph: a single run tells you a story, a
repeated run tells you whether the story survives.

Published 2026-11-25. Measured the same day between 18:00 and 18:10 CET, then again
at 18:50 CET, from Madrid, Spain, on a residential connection. One location, one
day: treat it as a method and a starting point, not as a verdict on any provider.
