Durable local inference for coding agents
Your coding session should survive the process.
Durable session state on your GPU. Your session's continuation state is an explicit, checkpointed primitive that survives an inference-server restart, not a lucky prefix-cache hit.
Oh My Pi (coding-agent client) → OMP NInfer (qualified appliance and release layer) → NInfer (inference engine) → Qwen3.8 27B (served model).
ninfer-serve restarted mid-session, and the follow-up answered from the restored session reusing 10,375 retained prompt tokens. Idle gaps and the 36 s reload are compressed; qualified numbers come from the release receipts, not this clip. ProvenanceWhat it does
A long coding session is 100K tokens of transcript, thinking, tool calls, and images. Sent to a cloud provider, every token is metered and every file leaves your machine. Sent to a stateless local server, every turn re-sends the whole transcript.
A live NInfer, llama.cpp, or vLLM process already avoids recomputing an unchanged prefix while it stays up; that is prior art, and this project does not claim it. What OMP NInfer adds is continuation you can rely on.
Explicit and durable
Oh My Pi drives NInfer through stateful OpenAI Responses (
previous_response_id); forks and rollback are qualified, and checkpoints restore after a server restart. Oh My Pi commits the transcript first, so losing retained state degrades to a replay, never a broken session.Private and fail-closed
Runtime listeners bind loopback only, every request is bearer-authenticated, and model fallback is off: an unreachable GPU fails the turn instead of answering from a cloud model. This is acceptance-tested, not configured.
Exact and verifiable
Model SHA-256, container digest and SBOM, native package and client checksums, and every qualification receipt are bound in one manifest;
python3 scripts/verify_release.py --require-readyproves your clone is the qualified release.
Measured, not estimated
Three lanes, each bound to exact bytes and a receipt.
Every number names its release, hardware lane, and measurement boundary. RTX 5090 retrieval is a cold start that reused no cached prefix; native retrieval figures are each lane's long-session gate. Decode figures are the lane's own qualification gate, never an ordinary in-process cached follow-up.
| Lane | Exact 130,048-token retrieval | Decode | Receipt |
|---|---|---|---|
| RTX 5090Windows 11 + Docker Desktop/WSL2 · runtime v0.7.0-qwen38-5090-beta.9 · profile qwen38-5090-v0.13.0 · DFlash2 speculative decoding (draft window 7) · BF16 KV · two requests in flight · model 81f924d4 | 56.62scold start | 192.90tok/sserver-side; 191.42 tok/s wall over 2,048 tokens | rtx5090.json · 2026-11-16 |
| RTX 4090native Windows 11 · runtime v0.8.0-qwen38-4090-beta.5 · DFlash2 draft window 7 · INT8 KV · one request at a time (C1) · model 81f924d4 | 83.45slong-session gate | 252.74tok/sone-request (C1) decode; 83.14% DFlash2 acceptance, 2,160.52 tok/s prefill | rtx4090.json · 2026-11-17 |
| RTX 3090native Windows 11 · runtime v0.8.0-qwen38-3090-beta.5 (tc tensor-core verify) · DFlash2 draft window 7 · INT8 KV · two requests in flight (C2 shared pool) · 350 W serving cap · model 81f924d4 | 188.32slong-session gate | 226.33tok/sone-request (C1) decode; 83.14% DFlash2 acceptance, 982.36 tok/s prefill | rtx3090.json · 2026-11-16 |
Each lane is qualified on its own speculative backend, profile, and benchmark fixture (2,048-token decode gate on RTX 5090; trajectory-sensitive 1,024-token C1 fixture on native RTX 4090 and RTX 3090). Never transfer one lane's numbers or capabilities to another, and do not read single-sample qualification gates as a cross-GPU ranking or a head-to-head comparison against vLLM or llama.cpp.
Historical v0.4.0 restart receipt (2026-08-30, one RTX 5090, not a current-release timing or restart speedup ratio): 109,589 retained tokens served after a Docker restart in 24.8 s end-to-end including first-touch restore of a 7.95 GB checkpoint, with a 56.6 s model reload measured separately and 0.778 s server TTFT after restoration. All lane measurements, charts, and receipts.
How it fits together
Who owns what.
Oh My Pi owns the conversation transcript, tools, coding workflow, and subagents. NInfer's single-GPU engine keeps your session's continuation state resident on your GPU; OMP NInfer is the qualified release that binds them without a forked client or an extra gateway.
- Coding-agent clientOh My Pi
Owns the transcript, tools, forks, and replay. Commits locally before provider state advances.
- Qualified appliance and release layerOMP NInfer
Setup, release manifests, hardware profiles, qualification, security boundaries, and support. No duplicated OMP or NInfer implementation.
- Inference engineNInfer
Neroued's single-GPU engine and its GPU ports. The shipped NInfer runtime adds explicit OpenAI Responses continuation state (
previous_response_id) and durable local NVMe checkpoints. - Served modelQwen3.8 27B
One hash-pinned artifact, 20.4 GB
81f924d4, identical across all three qualified lanes.

Commit boundary: complete stream → durable transcript → provider state. One truth, one accelerator, no hidden gateway.
- Loopback onlyThe runtime binds
127.0.0.1:18089(RTX 5090 container) or127.0.0.1:18082(native Windows lanes); remote macOS clients reach the host through an authenticated SSH local port forward. - Bearer-authenticatedEvery status, Responses, checkpoint, and stored-response route requires a random bearer key kept in access-restricted key files, never committed or embedded in YAML.
- Fail-closed, never cloud fallbackExplicit local provider routes disable retries, model fallback, and automatic client self-updates; an unavailable lane stops the request instead of escaping to a hosted model.
- Every byte hash-pinnedStock Oh My Pi client binaries, the model artifact, container image, native packages, SBOMs, server binaries, and configurations are bound in the release manifest.
Full detail: canonical facts · architecture · security boundary.
Durability
Checkpoints already leave the machine.
Checkpoints restore after a server restart on all three qualified lanes, and scripts/checkpoint_sync.py exports and imports verified checkpoint generations across local storage and off-machine replicas. Network shares are replica storage, never the live checkpoint root.
Restore requires the same runtime binary, model artifact, serving profile, and session credentials; checkpoint saves remain best effort under live traffic, and universal warm reuse is not promised. Oh My Pi's transcript remains the source of truth, so losing retained state degrades to a transcript replay rather than cloud fallback. Scope, usage, and receipts.
Is it for you
The narrow target is what makes the recommendation credible.
Every project below is excellent at a different job. The comparison makes that call fast and candid, without self-assigned scores or rankings.
Use it when
- You use Oh My Pi and own an eligible RTX 5090, RTX 4090, or RTX 3090 setup matching the exact release profile.
- Qwen3.8 27B is the model you want, running privately on hardware you own.
- Coding sessions are long-lived, and explicit continuation across inference-server restarts matters more than model catalog breadth.
The 0.x series supports only the latest published release and its exact manifest and profiles. Manifest · release notes · compatibility.