There was one detail about my setup I took for granted without ever really looking at it: the agent I work with, Hermes, runs on the same Qwen3.8 Flash Next model on the GX10 that also serves Copilot Chat inside VS Code. Same vllm serve in Docker, same port, same GPU. On October 28, that detail blew up in my face while I was doing a routine check.
The routine check
I was checking the Copilot BYOK configuration, the one from the proxy post: model qwen3.8-flash-next, endpoint on port 18300 of the GX10. During the check, a real request goes out from the IDE chat, and on the other end, I tell Hermes: don’t disturb, it’s processing.
The gentlest way not to disturb is to look at the metrics, which are read-only GET requests and don’t touch the ongoing inference. The browser wasn’t working, so I did everything with curl:
curl -s http://127.0.0.1:18300/metrics | grep -E '^vllm:(num_requests_running|num_requests_waiting|prefix_cache_hits_total|prompt_tokens_total|request_success_total)'
It outputs running: 0, waiting: 0. Machine free, no requests in progress. Strange, I thought, and yet.
The “wait a second” moment
Hermes’s response made me stop and read it twice. Essentially, it said: the request you weren’t supposed to disturb is being served by me, and the running: 0 you read was me and you between messages, paused between one token and the next. Me, Copilot, and this conversation are three sessions on the same model, eight maximum sequences, 262K of shared context.
Which is correct, but it gives you an idea of the loop: the agent used its own thinking cycle to query the engine that is making it think, and the number it read was itself in pause. It’s not philosophy, it’s a GET with a grep inside. But the feeling of looking in the rearview mirror and seeing the car is exactly that.
What the numbers actually say
After filing away the weirdness, those counters were more interesting than the moment of confusion:
| Completed requests | 470 (469 stop, 1 length, zero errors) |
| Prompt tokens | ~49.9 million |
| …served by prefix cache | 47.3 million, 95% |
| Generated tokens | 387 thousand |
The 95% isn’t a new number: it’s almost exactly the ratio I found monitoring llama.cpp in September, 92 million out of 97. The engine changes, the proportion stays. The design is always the same: an agent sends almost the same context as before on each turn, and the cache eats up the dirty work. The real prefill is the part you don’t see.
And then there’s the trick of running: 0: a GPU that looks idle might just be in a conversational pause between two messages. The instantaneous counter, without its curve alongside it, says almost nothing. The Grafana dashboard is there exactly to avoid getting fooled like this.
The piece worth stealing
Three things to take home, aside from the recursion:
- vLLM metrics are read with a GET and don’t disturb anything. If a service “looks busy,” the right question is
/metrics, not a restart. - A local endpoint handles more clients than it seems: an agent and an IDE chat on the same model coexist without anyone organizing turns, the queues handle it.
- If an agent acts as a driver for metrics and conversations, sooner or later it reads itself. Mine happened on October 28; judging by the numbers, it didn’t mind much.
