Munich
27 October 2026

Developing with Local AI ModelsHow Far Can You Get?

Source code on a laptop screen with Claude, vLLM and Gemini icons visible inside its transparent base.
Rainer HahnekampSoverius AI
1
Soverius AI — We build production-ready AI systems
Soverius AI

Why local?

Reasons to Run Models Locally

€

Cost Control

No provider charge per token.

Lock

Privacy

Keep code and context inside.

Disconnected plug

Independence

Reduce provider dependency.

3
Soverius AI

Cost Schema: Local vs. Frontier

Cost Schema: Local Versus Frontier Blue represents Frontier; orange represents Local. Three presenter-controlled steps: compare short initial Local and Subscription segments; extend both curves and show API Token Costs rising above Local; show Automatic Loops pointing toward greater token usage. Local costs start higher for infrastructure and rise gently. Frontier Local Tokens Costs Subscription API Token Costs Automatic Loops 4
Soverius AI

Typical Required Components

AGENT
  • Claude Code
  • Google ADK
  • Mastra
  • LangGraph
calls
INFERENCE ENGINE
  • llama.cpp
  • vLLM
  • ONNX Runtime
runs
MODEL
  • Gemma
  • Qwen
  • Muse Glimmer
5
Soverius AI

CPU and GPU Inference

CPU1× ComputeIntel Core i9-14900K
Hard Disk or SSD≈0.1–7 GB/sBarraCuda HDD
870 EVO / 990 PRO SSD
Swap · No Compute
System RAM≈90–100 GB/sDual-Channel DDR5-5600
PossibleOften too slow
GPU≈30–100× ComputeRTX 4070 Super – RTX 5090
VRAM≈500–1,800 GB/sGDDR6X – GDDR7
PracticalUsually 5–10× faster

You can serve a model larger than 1 TB from disk, but do not expect a response anytime soon.

6
Soverius AI

Local Inference Hardware

7
Soverius AI

Model Size by Deployment Class

Model Size by Deployment Class Logarithmic main-model parameter counts across four representative deployment categories. Kimi K3.1 Pro weights are pending release. Soofi S is in the workstation/server category and remains closed beta. Gemini Nano is a range. The separate unscaled closed-frontier panel shows published AI BENCHY estimates: Gemini 4 Argon approximately 1.2T, GPT-6.1 Sol approximately 2T and Claude Opus 5.5 approximately 5T. These are low-confidence third-party estimates, with direct source links. Grok 4.7 is labelled 2.1T, Musk Claim; it is not independently verified. Total Parameters (Log Scale) 1B 10B 100B 1T 10T Browser / Embedded On-Device Consumer GPU 24-32 GB Workstation / Server 64-192 GB Datacenter Multiple Accelerators Gemma 4 E2B 5.1B Gemini Nano 2-4B Gemma 4 26B A4B 25.2B Qwen3.8 27B Laguna XS.2 33.4B Nemotron 3.5 Bolt 74B Germany Soofi S 31.6B Closed Beta Germany Kolibri 1 78.1B Nemotron 3.5 Super VL 120B Qwen3.8 Flash Next 176B Switzerland Apertus 1.5 ≈72B DeepSeek V4.1 Flash-1017 ≈748B GLM-5.3 744B GLM-5.3 Flash 320B Kimi K3.1 Pro ≈2.8T Weights Pending Reported Size Gemini 4 Argon ≈1.2T Estimate · AI BENCHY GPT-6.1 Sol ≈2T Estimate · AI BENCHY Grok 4.7 2.1T Musk Claim Claude Opus 5.5 ≈5T Estimate · AI BENCHY Closed Frontier Provider-Hosted 8
Soverius AI

Gemma 4 Family

DenseSame path for every tokenMixture of ExpertsRouter selects experts
Total Parameters 30B 20B 10B 0
E2B5.1B totalDense
2.3B effective
E4B8B totalDense
4.5B effective
12B11.95B totalDense
26B-A4B25.2B totalMoE
3.8B active
31B30.7B totalDense

ECore size, excluding large embedding lookup tables

AParameters selected by the router for each token

9
Soverius AI

Memory Provisioning

RecommendedFully Served by VRAM

Sizing Criteria

  • Model Size
  • Quantization
  • KV Cache
  • Context Size
  • Operational Memory
10
Soverius AI

Quantization Principle

11
Soverius AI

Choosing a Quantization Level

12
Soverius AI

Video Compression Over Time

13
Soverius AI

Prefill and Decoding without KV Cache

0:00.0 / 0:18.5

Prefill

Compute-Bound

Decode

Recomputes the Entire Context
  • User Input
  • Tool Response
  • Thinking
Pleasebuildatestedcomponent
withourexistingsignalstore
andaddthebackendintegration
Model Layers
Predicted Token
returnthefinalresult
Inputreturnthefinal
14
Soverius AI

KV Cache During Inference

0:00.0 / 0:12.5

Prefill

Builds the Cache

Decode

Reuses the Cache
  • User Input
  • Tool Response
  • Thinking
KV Cache
Pleasebuildatestedcomponent
withourexistingsignalstore
andaddthebackendintegration
Model Layers
Predicted Token
returnthefinalresult
Inputreturnthefinal
15
Soverius AI

Gemma 4 26B-A4B Memory Provisioning

16
Soverius AI

Qwen 3.8 27B Memory Provisioning

17
Soverius AI

Quality vs. Data Sovereignty

18
A high-performance sports car caught in traffic and roadworks

The Porsche Test

Do We Need Peak Capability for Every Trip?

19
Soverius AI

Benchmark philosophy

Qualification Instead of Ranking

Qualification threshold
Model A
Model B
Model C
Qualification criteria
✓Works with coding agents
✓Handles long-running tasks
✓Supports the required context
20
Soverius AI

Full-Stack Capstone Task

Angular

Angular

  • Feature component
  • UI component
  • SignalStore
  • Unit test
Spring

Spring

  • JPA entities
  • Mapper
  • Controller
  • Database migration
Playwright

Playwright

  • End-to-end test
21
Soverius AI

Benchmark Components

Security
NVIDIA OpenShell
Implementation
Pi coding agent
Inference engine
llama.cpp
Hardware
GX10
Tracing
Langfuse
Versioning
Git worktrees
22
Soverius AI

Worker, Verifier and Reviewer

🤖WRITE

Worker

Implements the task
Edits the worktree

EXECUTE

Validation

Builds · unit tests
Backend · Playwright

🤖READ ONLY

Reviewer

Does the patch meet
the requirements?

Done

Save result

🤖READ ONLY

Verifier

Explains failures

23
Soverius AI

What The Selected Runs Show

ConfigurationValidationReviewer
Qwen3.8 27BQ4_K_XL · 17.6 GB · Aug 2026 · 2:585/55/5
Qwen3.6 27BQ4_K_XL · 17.6 GB · Apr 2026 · 3:055/55/5
Qwen3-Coder 30B-A3BQ4_K_XL · 17.7 GB · Jul 2025 · 0:340/50/5
Gemma 4 26B-A4B QATQ4_K_XL · 14.2 GB · Jun 2026 · 0:462/41/41 incomplete
Gemma 4 31B QATQ4_K_XL · 17.3 GB · Jun 2026 · 1:441/31/3
Muse Glimmer 30BQ4_K_XL · 15.9 GB · Aug 2026 · 3:002/52/5
ConfigurationValidationReviewer
Ternary Bonsai 2 27BPTQ1_0 · 5.9 GB · Sep 2026 · 4:064/44/4
Devstral Small 2 24BQ4_K_XL · 14.5 GB · Dec 2025 · 5:231/21/2
DeepSeek V4 FlashIQ1_M · 86.9 GB · Apr 2026 · 1:593/43/4
GLM-5.3 FlashIQ1_M · 97.6 GB · Aug 2026 · 1:274/44/4
Nemotron 3.5 Bolt 74BIQ2 · 22.0 GB · Oct 2026 · 1:342/21/21 incomplete
Nemotron 3.5 Lightning 30BQ4_0 · 18.9 GB · Aug 2026 · ———Inconclusive

43 Runs · 12 Configurations

24
Soverius AI

A Green Build Is One Check

Validation

Does the application build?

Do the tests pass?

Requirements And Audit

Does the feature match the task?

Does independent evidence agree?

Reviewer acceptance and external audit can disagree.

25
Soverius AI

The surrounding system

Engineering Around the Model

Models make mistakes. The surrounding system must detect them and remain in control.

  • Bound each model turn and run verification through external tools, so inner loops cannot block the workflow.
  • A well-structured codebase gives the model reliable patterns to follow.
  • Application-specific instructions and skills cover Angular, Spring, Playwright, and project conventions.
  • 24/7 local inference makes loop / graph engineering with independent review and repeated validation practical.
26
Soverius AI

A Bounded Model Session

27
Soverius AI

Local, Hosted Or Hybrid?

Local Inference

Control over the inference boundary.

Owned capacity and local operations.

Hosted Or Hybrid

Access to other model capabilities.

Explicit rules for data and routing.

The workload, data boundary and measured outcome decide.

28
Soverius AI

How Far Can You Get?

Local coding is useful when the complete system clears the task's acceptance bar.

01

One representative task.

02

One recorded configuration.

03

Repeated, independently checked outcomes.

29
Soverius AI

pi-kit

For Local Models

Pi + AG-UI

  • Meat Proxy Detector
  • Self-Learning
  • Background Agents
pi-kit.dev
pi-kit desktop UI with a coding conversation, local Gemma model controls and an integrated Artifacts browser
30

Presentation Controls

Next Step
Right arrow, Space, Page Down
Previous Step
Left arrow, Backspace, Page Up
Skip Slide
Shift + Right / Left arrow, or « / »
First / Last
Home / End
Overview
O
Toolbar
T - keep visible / auto-hide
Speaker Notes
N
Fullscreen
F
Close
Escape