Inference in mess.systems lab as of December 2, 2026: two gateways and one RTX 4090
Lead: This is a technical overview of how inference is set up in my mess.systems lab as of December 2, 2026. mess.systems lab is the shared lab of mess.systems, put together from several sites. Everything below is how it is set up in my lab, and your setup may look different. Agents reach a central agentgateway through NetBird Agent Network. From there a request goes to a second gateway with one RTX 4090, where llama.cpp serves Qwen3.8-27B or Inkling 2 Mini, or to the cloud. The numbers in the text are measurements on my machines from December 2, and everything I say about models and programs is backed by links to primary sources.
Updated December 2, 2026.
The setup is small, so it is easy to show whole. On the left are the agents, for example OpenCode. They go through NetBird Agent Network to the central agentgateway. From it, requests fan out to a second gateway with llama.cpp on one card and to the cloud. Langfuse collects the request log, and the key for reaching the node with the card is kept in OpenBao.
Diagram as of December 2, 2026. The labels on the diagram are in English, and it is the same for all languages.
I described how Codex in JetBrains Air works with such a gateway in the post Codex in JetBrains Air without an OpenAI subscription. The general picture of how to give people and agents access to models, MCP tools and each other is in my draft reference architecture ai-enablement (Russian only for now).
Agents arrive at one address through NetBird Agent Network
I published the central gateway in NetBird as a provider. In the provider catalog, agentgateway is listed among the AI Gateways. I add models by hand: in the documentation this is entering the model identifier in the Model field. As of December 2 this provider has 31 models. Prices in NetBird are set per 1k input and output tokens and are needed for cost estimates in Usage and Logs. Local models have prices 0/0, because they cost nothing. For cloud models I set the real price.
Through Agent Network, in my lab not only OpenCode works but also DeepSeek Harness. I did not find a separate public description of this combination, it is what works for me.
I signed up for the agentgateway community, and at one of the meetings, on July 29, 2026, I had the idea to talk about my NetBird use case. I saw that they had already added gateways such as LiteLLM, and I thought agentgateway definitely needed to be there too. I proposed it, and it was implemented. After that, issue #6970 was opened, and now this is part of the platform. In NetBird, agentgateway appeared in the provider catalog in v0.78.0 (PR #7274), and there is an integration guide for it. In agentgateway there are now documentation and examples (PR #3111, in release v1.6.0). It is good to see how quickly the community picked this up and implemented it in both agentgateway and NetBird. I am even a little proud of myself.
The central agentgateway handles entry, keys and the log
The central gateway is agentgateway v1.7.0, released on October 27, 2026. It runs on a virtual machine in mess.systems lab and does four things.
- Lets people in through Keycloak (SSO). For this the agentgateway documentation has an OIDC policy that accepts both browser sign-in and requests with a Bearer token, and a separate Keycloak page describes protecting MCP servers.
- Lets agents in by API keys with a role. A key stores the role in its metadata, and access rules in CEL are built on that role.
- Sends traces to Langfuse. The documentation describes export over OpenTelemetry through OTLP over HTTP.
- Connects models as OpenAI-compatible providers. There is no separate built-in engine for llama.cpp, it goes the same way as any ordinary OpenAI-compatible backend.
The second gateway runs on a node with one RTX 4090
A separate node with one RTX 4090 with 24 GB. It also runs agentgateway, with llama.cpp next to it in a container, and the images are pinned by tag and digest. One card holds one checkpoint at a time, and I switch between Qwen3.8-27B and Inkling 2 Mini with presets.
The llama.cpp images differ between the models. I run Qwen3.8-27B in the image server-cuda-b10603. I run Inkling 2 Mini in the image ghcr.io/ggml-org/llama.cpp:server-cuda-b12921, tag b12921 from December 2, 2026, marked as a pre-release. Support for Inkling 2 Mini arrived earlier, in PR #32694, merged right after the model came out, so this tag already contains it.
Inkling 2 Mini from Thinking Machines Lab is released under Apache 2.0. According to the model card, it has 26.4B parameters, 3.4B of them active per pass, and the model runs the middle 12 layers three times, so it comes to an effective 5.4B per token. It is a looped MoE, it accepts text and images, and the depth of reasoning is set by the reasoning_effort parameter (GGUF card). I run the weights Inkling-2-Mini-IQ4_NL.gguf from the ggml-org repository (IQ4_NL quantization, 17.6 GB) and the projector mmproj-Inkling-2-Mini-Q8_0.gguf. For Inkling, ubatch 512 and mmproj are also set.
Qwen3.8-27B according to its card is a model with a vision encoder and a native context of 262,144 tokens. I run the file Qwen3.8-27B-UD-Q4_K_M.gguf (Unsloth Dynamic) from the unsloth repository, without mmproj, so for me it works with text only, although the model itself is vision-language. Tool calls are checked. Qwen also has spec-type draft-mtp enabled. Qwen3.8-27B is next in my queue for further checking.
I run both models with a 128K context
The launch parameters are the same for both models: -c 131072, --parallel 1, cache-type-k and cache-type-v set to q8_0, flash-attn on, n-gpu-layers 99. This is my setting: I run both models with a 128K context. The models’ specs are different: Inkling supports up to 1M tokens (model card), Qwen3.8-27B has 262,144 natively and up to 1,000,000 with scaling.
Measurements on this 4090 from December 2: Inkling 2 Mini at 128K with q8_0 for KV takes about 20.6 GiB of VRAM and gives about 95 tokens per second. I checked tools, vision and reasoning_effort. For the original checkpoint (about 20 GB in NVFP4 and MXFP8) the authors recommend 32 GB of VRAM or more. The quantized 17.6 GB GGUF fits on 24 GB together with the KV cache, which the same 20.6 GiB shows.
Inkling 2 Mini also works for me in DeepSeek Harness: there it draws presentations through a presentation plugin. The harness shows about 83 tokens per second. This is a separate measurement from December 2, not the same roughly 95 tok/s as in llama.cpp.
The gateways talk over HTTPS with their own root CA
The central gateway calls the second one over HTTPS. Certificates are issued by an internal CA on step-ca. The model settings on the central gateway name my own root CA. In agentgateway such a root certificate replaces the system bundle for that backend only, so I do not touch the system trust store. The key for the node is kept in OpenBao.
The cloud is connected behind the same central gateway
Two more branches sit behind the central gateway: cloud GPU inference with hourly billing that stops by itself when there are no requests, and cloud models through an OpenAI-compatible API. For agents this is the same address in NetBird Agent Network.
Inkling 2 Mini on the 4090 goes through llama.cpp
I run Inkling 2 Mini on the 4090 through llama.cpp. I have not tried vLLM on this card: the card is taken by llama.cpp.
The day-0 vLLM image for Inkling 2 Mini, vllm/vllm-openai:inkling-2-mini from November 20, is meant for Blackwell, Hopper and DGX Spark according to the vLLM blog. On November 27, PR #69165 was merged into main: it adds Inkling 2 on Ampere and Ada. It did not make it into the November 20 image or into a release. The latest vLLM release at the time of checking is v0.34.0 from November 16, so this support can be taken from a nightly build after November 27. I have not checked it.
Everyone should have their own lab
These days everyone should have their own lab, because scalable projects later grow out of labs. I call on everyone to build labs that follow the same outline as the projects, that is, with the full corporate wrapper: SSO, logging, traces, backups and all the rest.
For now
I know that two gateways work, that Qwen3.8-27B and Inkling 2 Mini run one checkpoint at a time on a single 4090, and that the numbers above are measurements from December 2. And what is your experience with Inkling 2 Mini?
For a company this means that entry, keys and the request log are gathered in one place, and the models behind it can be changed without changing the address for agents.