DEV Community

Cover image for Gemma 4 as an Agent on an 8 GB GPU: E2B, E4B or 12B?
xbill Subscriber for Google Developer Experts

Posted on

Gemma 4 as an Agent on an 8 GB GPU: E2B, E4B or 12B?

Surprising context window test outcomes

Gemma 4 12B works as an agent on an 8 GB card. As served on an RTX 3050, with its drafter and thinking off, it answered 485 of 500 lookup tasks by calling file tools, ten tasks to a conversation. E4B as served answered 189 and E2B 83.

Thinking on lifts E4B to 435 of 500, still 50 behind the 12B as served, and E4B with thinking on took 118.6 minutes for the 500 tasks against the 12B's 54.1. E2B with thinking on reached 204, and 323 when each task started a new conversation. For the 12B, thinking, Google's sampling settings and the drafter changed nothing beyond chance; the drafter doubled its generation speed.

For an agent on an 8 GB card, serve the 12B with its drafter. One run of each setting, 50 conversations of 10 tasks.

This article provides a step by step test of three Gemma 4 sizes as tool-calling agents on one local GPU: 4-bit QAT builds on an 8 GB RTX 3050 through llama.cpp. Each model searched a workspace of text files with four tools to answer questions about services, in six server settings, 9,000 tasks in all.

https://github.com/xbill9/gemma4-dev/tree/main/docs/gemma4-agent-e2b-e4b-12b-3050


The Findings

The 12B answers almost every task in every setting. 423 to 486 of 500 across the six settings. As served it answered 485, gave 1 wrong number, and ran out of tool calls on 13.

E4B needs thinking on. With thinking off it answered 189 to 241 of 500; with thinking on and Google's sampling settings, 435 in one conversation and 430 with a new conversation per task.

E2B misses most tasks. As served it answered 83 of 500. On 217 tasks it replied that it could not find the answer, and on 163 it gave a wrong number.

Small models do better with a new conversation per task; the 12B does better with one. E2B as served answered 186 with a new conversation per task against 83 in one. The 12B answered 485 in one conversation and 423 with a new one: in one conversation it answered the last task of all 50 sessions.

The drafter and Google's sampling settings change no answers. Level on all three models. The drafter cut the 12B's 500 tasks from 73.1 minutes to 54.1.

What to do with it.

  • 🟢 On an 8 GB card, run agents on the 12B as served: drafter on, thinking off.
  • ⚠️ If E4B is the model, turn thinking on with Google's sampling settings.
  • ❌ E2B answers too few tool-calling tasks to run an agent.

What Was Measured

Models Gemma 4 E2B, E4B and 12B, exact Q4_0 repacks of Google's QAT weights
Card RTX 3050 OEM, 8 GB, driver 615.78.08
Server llama.cpp 7182ef71e, each model's serving flags, one request at a time
Context 131,072 tokens for E2B and E4B, 81,920 for the 12B
Tools list_files, read_file, search, submit_answer
Tasks 50 sessions of 10 questions, the same 500 for every model and setting
Settings 6, listed in Step 2

At This Point You Should Have…

  • An NVIDIA card with 8 GB, here an RTX 3050 OEM
  • llama.cpp built with CUDA, here commit 7182ef71e
  • Python 3
  • A clone of gemma4-dev

Step 1 — The Test

Each session builds a workspace of plain-text files from a fixed seed: a deploy manifest naming 12 services with their config file and owner, one config file per service with a listen_port line, an on-call roster with pager numbers, one log per service with a single ERROR line, and six notes files. Lines of filler from the NVIDIA driver README surround every fact, so reading one file adds about a thousand tokens to the conversation.

The model gets four tools through the OpenAI tools field:

  • list_files(dir) lists a directory
  • read_file(path, start_line) returns up to 60 lines
  • search(text) returns up to 15 matching lines with file and line number
  • submit_answer(answer) records the answer

Ten questions per session, four kinds:

Kind Question Path to the answer
port What port does service S listen on? manifest, then config
pager What is the pager number of the owner of service S? manifest, then roster
error What error code is in the log of service S? log
owner What port does the service owned by P listen on? manifest, then config

The system prompt tells the model to use the tools, submit just the answer, and not guess. A task allows 12 tool calls. Scoring is by code: the digits of the submitted answer, or the last number in a reply with no tool call, must equal the stored answer.

One task, as served, the same in all three models:

What is the pager number of the owner of service backups?   (answer 4694)

12B:  search "backups"; list_files people; read_file people/roster.txt;
      read_file people/roster.txt from line 61; submit_answer "4694"       right
E4B:  search "service backups owner"; list_files people; read_file people/roster.txt
      "The roster.txt file contains a list of people and their pager numbers,
       but it does not mention "service backups"..."                         no answer
E2B:  search "service backups owner pager number"; search "service backups";
      list_files logs; read_file logs/backups.log
      "I have read the logs/backups.log file. I am looking for information..." no answer
Enter fullscreen mode Exit fullscreen mode

The 12B searched for the bare service name, then read the roster to its second page. E4B read the roster without the owner's name, and E2B read the service's log.


Step 2 — Six Settings

Setting Drafter Sampling Thinking Conversation
As served 2 tokens temperature 0 off one per session
No drafter none temperature 0 off one per session
Google's sampling none temperature 1.0, top-k 64, top-p 0.95 off one per session
Thinking on none temperature 1.0, top-k 64, top-p 0.95 on one per session
As served, new conversation 2 tokens temperature 0 off one per task
Thinking on, new conversation none temperature 1.0, top-k 64, top-p 0.95 on one per task

"As served" is how each model's rig on this card runs. In one conversation per session, every tool result stays in context for the next question, as in a coding-assistant session; with one per task, each question starts from the system prompt on the same workspace. Google's sampling settings come from the model's generation_config.json, with a fixed seed per task. Replies are capped at 1,024 tokens, and 8,192 with thinking on.

The 12B serves at 81,920 tokens of context with a q4_0 cache to fit the card; E2B and E4B at 131,072 with f16. No session reached its context limit: the longest conversation held 86,609 tokens, on E2B.


Step 3 — Answers by Model

Tasks answered right, of 500:

Setting E2B E4B 12B
As served 83 189 🥇 485
No drafter 107 203 482
Google's sampling 77 190 🥇 486
Thinking on 204 🥇 435 485
As served, new conversation 186 241 423
Thinking on, new conversation 🥇 323 430 475

The 12B's worst setting, 423, is ahead of E2B's best and close to E4B's best. Compared session by session, the 12B as served was ahead of E4B with thinking on in 29 sessions and behind in 2 (p = 4.63e-7).


Step 4 — How the Misses Look

How each task ended, of 500:

Right Wrong number Gave up in prose Out of tool calls
E2B, as served 83 163 217 37
E2B, thinking on 204 147 148 1
E4B, as served 189 118 166 27
E4B, thinking on 435 28 36 1
12B, as served 485 1 1 13
12B, thinking on 485 12 1 2

E2B and E4B stop early. The most common replies with no answer open with "I have searched the available files for any mention of a service…" (E2B) and "I could not find any information about the port…" (E4B). They give up after a median of 3 tool calls (E2B) and 2 (E4B).

Thinking on turns those replies into answers. E4B with thinking on gave up on 36 tasks against 166, and gave 28 wrong numbers against 118.

The 12B submits through the tool. As served it called submit_answer on 468 of 500 tasks; E2B as served did so on 32 and answered the rest in prose.


Step 5 — One Conversation or a New One per Task

The two context styles pull in opposite directions:

Model Setting One conversation New conversation per task Sessions ahead / behind p After correction
E2B As served 83 🥇 186 new +43 / −2 5.89e-11 holds
E2B Thinking on 204 🥇 323 new +40 / −7 1.07e-6 holds
E4B As served 189 241 new +29 / −14 0.0315 level
E4B Thinking on 435 430 new +15 / −20 0.5 level
12B As served 🥇 485 423 one +36 / −2 5.4e-9 holds
12B Thinking on 485 475 one +19 / −9 0.0872 level

E2B loses its way as the conversation grows. As served, by the last question of a session the median conversation held 28,818 tokens, and E2B answered 1 of 50 last questions.

The 12B learns the workspace. As served in one conversation, it answered 42 of 50 first questions and 50 of 50 last questions. With a new conversation per task, it ran out of its 12 tool calls on 77 tasks, 47 of them pager questions, where it read notes files before finding the roster.


Step 6 — Task Kinds

Right answers by kind, as served and with thinking on (each session asks 3 port, 3 pager, 2 error and 2 owner questions):

Port, of 150 Pager, of 150 Error, of 100 Owner, of 100
E2B, as served 6 4 41 32
E2B, thinking on 40 70 51 43
E4B, as served 51 45 47 46
E4B, thinking on 122 135 87 91
12B, as served 🥇 142 🥇 146 🥇 97 🥇 100

E2B as served answers the one-file question (error) and few of the two-file ones. Port and pager need the manifest first, then a second file; E2B as served answered 10 of 300 of those, and 110 with thinking on; the 12B as served answered 288.


Step 7 — The Drafter, Sampling and Thinking

Every comparison here is paired: the same 50 sessions in two settings. The ten tasks in a session share a conversation, so the unit is the session: total right per session, with an exact sign test over the sessions where the two settings differ. 20 tests in all, corrected with Holm.

Model Comparison Right Sessions ahead / behind p After correction
E2B No drafter vs drafter 107 vs 83 +18 / −16 0.864 level
E4B No drafter vs drafter 203 vs 189 +25 / −18 0.36 level
12B No drafter vs drafter 482 vs 485 +3 / −5 0.727 level
E2B Google's sampling vs temperature 0 77 vs 107 +16 / −23 0.337 level
E4B Google's sampling vs temperature 0 190 vs 203 +21 / −25 0.659 level
12B Google's sampling vs temperature 0 486 vs 482 +4 / −4 1 level
E2B Thinking on vs off 204 vs 77 +39 / −4 3.11e-8 holds
E4B Thinking on vs off 435 vs 190 +44 / −3 2.46e-10 holds
12B Thinking on vs off 485 vs 486 +8 / −7 1 level

Thinking on and off are compared both with Google's sampling settings. With thinking on, E2B and E4B thought in almost every request (1,517 of 1,638 and 1,850 of 1,871); the 12B thought in 801 of 2,101, and its answers stayed where they were.

The five comparisons between models in the 20 all hold: the 12B ahead of E4B as served in 50 sessions of 50, ahead of E4B with thinking on in 29 against 2, and E4B ahead of E2B in both settings.


Step 8 — Time and Memory

Wall clock for the 500 tasks, in one conversation per session:

E2B E4B 12B
As served 33.2 min 33.4 min 54.1 min
No drafter 40.4 min 45.6 min 73.1 min
Thinking on 85.6 min 118.6 min 129.2 min
Seconds per right answer, as served 24.0 10.6 🥇 6.7
Seconds per right answer, thinking on 25.2 16.4 16.0
Generation, as served 154.5 tok/s 110.7 tok/s 50.3 tok/s
Generation, no drafter 95.6 tok/s 52.8 tok/s 24.7 tok/s
Drafted tokens accepted 0.752 0.794 0.924
Card memory, as served 3,802 MiB 6,624 MiB 7,814 MiB

The 12B as served spends the fewest seconds per right answer of any model and setting: 6.7. Its drafter has the highest acceptance of the three, and generates about twice as fast as no drafter. Agent replies are short, a median of 22 tokens for the 12B as served, so most of each request is reading the growing conversation.

The 12B with its drafter at 81,920 tokens of context and a q4_0 cache fills 7,814 MiB of the 8,192 on the card.


🔎 Tip: Score an Agent by What It Submits

A tool-calling model that replies "I could not find it" looks well behaved in a transcript and still leaves the task undone. Build a few tasks whose answers sit one or two files deep in a workspace like yours, ask the model to submit through a tool, and score the submitted value by code. On this card the share of tasks answered right ran from 77 of 500 to 486 of 500 across models and settings, with the same tools and questions.


Compare and Contrast

E2B E4B 12B
Right, as served 83 of 500 189 🥇 485
Right, best setting 323, thinking on, new conversation 435, thinking on 🥇 486, Google's sampling
Gave up in prose, as served 217 166 🥇 1
Time for 500 tasks, best setting 152.1 min 118.6 min 🥇 74.5 min
Seconds per right answer, as served 24.0 10.6 🥇 6.7
Card memory, as served 🥇 3,802 MiB 6,624 MiB 7,814 MiB

Pros and cons

  • E2B. 🟢 The least card memory, 3,802 MiB, and the fastest generation. ❌ Answers at most 323 of 500, needs thinking on and a new conversation per task to get there, and misses 417 of 500 as served.
  • E4B. 🟢 435 of 500 with thinking on, in one conversation. ❌ 189 with thinking off; thinking on takes 118.6 minutes for the 500 tasks.
  • 12B. 🟢 485 of 500 as served, level in every setting, fewest seconds per right answer, and better as the conversation grows. ❌ Fills the 8 GB card, and its context stops at 81,920 tokens.

So, Which One?

An agent on an 8 GB card: the 12B as served. Drafter on, thinking off, temperature 0, one conversation per session. It answered 485 of 500, in 54.1 minutes.

On a card that cannot hold the 12B: E4B with thinking on and Google's sampling settings. It answered 435 of 500, in 118.6 minutes against the 12B's 54.1.

E2B for agents: no. Its best setting answered 323 of 500 and needed a new conversation for every task.


Summary

The goal of this article was to find which Gemma 4 size can run a tool-calling agent on an 8 GB card. The key to the solution was the same 500 tasks for every model and setting, scored by code from what the model submitted, session by session. The results were:

  • 🟢 The 12B as served answered 485 of 500 and was level across the drafter, Google's sampling and thinking.
  • ⚠️ E4B answered 189 as served and 435 with thinking on (p = 2.46e-10).
  • ❌ E2B answered 83 as served; the largest share of its misses, 217, were replies that it could not find the answer.
  • 🟢 The 12B gets better through a conversation: 50 of 50 last questions as served.
  • ⚠️ E2B does better with a new conversation per task: 186 against 83 as served.
  • 🟢 The drafter changed no answers and cut the 12B's time from 73.1 to 54.1 minutes.

Scope: one RTX 3050 OEM with 8 GB in one desktop, llama.cpp 7182ef71e, Gemma 4 E2B, E4B and 12B as exact Q4_0 repacks of Google's QAT weights, one request at a time, 2026-11-26 to 28. One kind of workspace, generated text files with one fact per line, four tools and four question kinds; real repositories, longer tool outputs and other tool sets are untested. 50 sessions per setting, one run each, one seed per task for the sampled settings. The 12B ran at 81,920 tokens of context with a q4_0 cache and E2B and E4B at 131,072 with f16, each model's serving setting on this card; no session reached either limit. Thinking on at temperature 0 was not run. The article reports 20 paired tests; corrected for that number (Holm), the gains from thinking on for E2B and E4B, the context-style differences for E2B and the 12B as served, and the gaps between models hold. "Level" means no gap beyond chance.

The strategy for testing small models as agents on a small GPU was validated with an incremental step by step approach.


References

Hope you enjoyed it!

Top comments (10)

Collapse
 
paullovelace profile image
Paul Lovelace •

The flip that got me is the conversation shape — E2B jumps from 83 to 186 just by starting fresh each task, while the 12B actually does worse that way. That's the opposite of what I'd have guessed; I'd have bet the bigger model would be the one that benefits from a clean slate. Makes me wonder if the small ones are mostly getting poisoned by their own earlier wrong answers piling up in context. And the drafter doubling speed with zero answer change is the closest thing to a free lunch in this whole table — did you expect that, or were you braced for it to cost accuracy somewhere?

Collapse
 
xbill profile image
xbill Google Developer Experts •

I want to take another run over this. I thought the 12B would do worse because of the tight KV cache. I have some long context runs but I am thinking they may need to be structured more carefully

Collapse
 
jankes72 profile image
pawel jankes •

Milo Chen, thank you for your insightful observation!

You have raised one of the fundamental challenges of agentic AI: distinguishing a model that describes an operation from a system that actually executes and verifies it.

The experiment presented by xbill illustrates this distinction:

Parameter Gemma E2B Gemma 12B
Test tasks 500 500
submit_answer calls 32 468
Tool call rate 6.4% 93.6%
Correct answers 83 485

According to the described scoring methodology, JSON generated as plain text could receive a positive numerical correctness score if its last number matched the reference answer. However, that would not constitute an actual tool invocation.

The article does not establish which Gemma variants generated textual JSON or how frequently this occurred. That would require examining raw API responses and execution logs.

Your experience with qwen2.5-coder:7b and qwen2.5:7b in Ollama demonstrates why answer accuracy and execution accuracy must be evaluated separately.

At SSI Universal Lab, we have been investigating these challenges for several months, developing an architecture that extends beyond individual language models.

1. SSI Brain — Small Models Managing Mission Engines

Our fundamental principle is that a language model is a component of an intelligent system, not the entire system.

SSI Brain and Nano Brain are being developed to coordinate specialized components, manage information access, and provide task-relevant context.

Our smallest models, called Maluchy — the Little Ones, include SSI 0.5B, 1.5B, and 3B.

Among these are specialized coding models intended to interpret instructions, prepare structured tasks, activate mission engines, and coordinate communication.

A small model does not need to independently possess every competence required to solve a complex problem. It can utilize:

  • Mission execution engines.
  • Competence micronetworks and bit overlays.
  • Router V10 and Router S10.
  • Persistent competence and research memory.
  • Larger language models.
  • Execution tools and verification mechanisms.

Larger 27B and 70B models can be engaged when their additional reasoning capabilities are genuinely necessary.

Full integration of these components remains part of our engineering work.

2. Two BODY Development Lines

BODY is not simply a language model. It is an agent environment incorporating mission execution, decision-making, competence management, memory, and experience.

We are developing two interconnected lines:

Line Purpose
BODY Standard mission and competence architecture, including BODY_FROZEN, operational environments, and SSI Collective cooperation
BODY ISKRA Architecture extended with additional experience, orientation, and decision-state parameters

BODY_FROZEN provides a preserved baseline for comparative research.

From this common foundation, we derived six independent ISKRA variants:

ISKRA Initial orientation
NICE Cooperation, assistance, honesty
GUARDIAN Protection and caution
JUSTICE Fairness and consistent principles
EXPLORER Curiosity and exploration
PRAGMATIST Effectiveness and measurable evidence
SKEPTIC Verification and limited trust

Each ISKRA has its own memory, state, experience history, and additional decision-related parameters.

We informally call some of these parameters pseudo-emotions. They are functional state variables, not claims of biological emotion, consciousness, or subjective experience.

We investigate whether verified successes and failures can influence subsequent decisions, caution, exploration, cooperation, and strategy selection.

The research cycle is:

Mission → Strategy → Execution → Verified Outcome → Experience → State Update → Next Decision.

On September 6, 2026, we published initial-state validation results for six ISKRAs: 48/48 PASS.

Our subsequent S1–S10 research program confirmed completion within its documented scope and successful reload of 144/144 expected entries in the consolidated BODY environment.

The broader S1–S40 and WEB01–WEB24 research directions investigate competence acquisition, code generation, cooperation, recovery, behavioral differences, and transfer to new domains.

We do not claim that these entire programs have been completed or that every pseudo-emotional parameter has demonstrated measurable benefits.

Agent development can involve changes in memory, micronetworks, experience, and decision strategies without retraining the underlying LLM weights.

Documentation:

github.com/jankes72/SSI_V5/blob/ma...

github.com/jankes72/SSI_V5/blob/ma...

3. Two SSI Languages — SCC and JM1

SSI SCC — Mission Programming Language

SCC is our developing mission language associated with BODY engines, proprietary micronetworks, bit overlays, Blocks, Router V10, and Router S10.

Its first functioning A27 module enables deterministic interpretation of mission declarations, including objectives, strategies, inputs, context integrity, acceptance criteria, and constraints.

Validation published on October 14, 2026:

  • Python tests: 22/22.
  • JavaScript contract assertions: 10/10.
  • External LLM provider calls during testing: 0.

The documented implementation supports goal declarations, validation, and linear planning. Full imperative, conditional, and parallel mission programming remains under development.

Selected construction mechanisms were inspired by the Awareness library developed by Amnezja3, which I adapted to SSI mission organization.

SSI JM1 — The Language of the Little Ones

JM1 is intended for structured communication between small models and specialized system components.

We investigate whether organized communication elements can reduce redundant information exchange and facilitate cooperation between 0.5B, 1.5B, and 3B models.

One experiment produced:

Parameter Single 0.5B Cooperating pair
Tasks 20 20
Correct answers 13/20 11/20
Execution time 25.97 s 15.68 s

The cooperating pair reduced execution time by 39.6%, but produced two fewer correct answers.

A separate conditional information-retrieval experiment produced:

Parameter All fields Required fields
Read operations 16 12
Correct decisions 8/8 8/8
Total call duration 292.93 s 188.83 s

Operations decreased by 25% and call duration by 35.5%, preserving all eight correct decisions. The baseline was reconstructed from shared and additional measurements.

We seek efficiency improvements without concealing quality regressions.

SCC documentation:

github.com/jankes72/SSI_V5/blob/ma...

JM1 results:

ssi.chaos.re/#exp-jm1

4. Micronetworks, Bit Overlays, and Blocks

Our architecture investigates persistent competence rather than merely storing previously generated answers.

When a task has been successfully solved and verified, an appropriate competence should become reusable in compatible situations.

We are developing proprietary micronetworks and associated bit overlays. This is a separate research direction from conventional LLM weight quantization.

Our modular architecture includes:

Technology Purpose
Micronetworks Persistent verified competencies
Bit Overlays Bit-level structures associated with micronetworks
Blocks Modular task organization
LEGO Component composition and reuse
Pocket Specialized competence constructions
Pocket Micro Micronetwork-based constructions
Blocks Space Complex construction organization
Blocks Navigator Task navigation
Meta-Blocks Higher-level modular structures

When a construction fails, verified components can be preserved while the problematic element is replaced or modified.

Implementation details and internal representations remain proprietary.

5. Router V10, Flow, Full Flow, and Recovery

Router V10 is a stateful predictive competence and recovery router, not simply a semantic router or conventional cache.

It considers current task state, available competencies, previous attempts, verified outcomes, failure signatures, confidence, and alternative strategies.

Our execution paths include:

Path Purpose
REUSE_TOP1 Reuse the best-matching verified competence
VERIFY_TOPK Verify several potential solutions
ADAPT Adapt an existing competence
FLOW Selectively solve required task elements
LEGO Composition Combine existing competencies
FULL FLOW Complete problem-solving process
Recovery Change strategy following failure

Existing verified competence can avoid unnecessary Full Flow execution. Unfamiliar, conflicting, or unsupported tasks can escalate to full analysis.

Full Flow can also generate candidates for new competencies.

When the same state, strategy, and failure have already been recorded, the system should avoid blindly repeating that unsuccessful operation.

One published V10 experiment recorded:

Parameter Result
Lookup operations 600
Exact hits 100
Similarity hits 434
Route compilations 133
REUSE_TOP1 534
VERIFY_TOPK 66
Recorded errors 0
Verified-subset correctness 100/100

A separate comparative experiment reduced execution time from 126.65 to 57.61 seconds.

These results apply to the tested scope. Comprehensive anti-loop and adversarial validation remains necessary.

Documentation:

github.com/jankes72/SSI_V5/blob/ma...

6. Candidate, Challenger, Champion, and Router S10

SSI does not assume that the first successful solution must remain the best solution forever.

Our competence lifecycle is:

Experience → Candidate → Validation → Challenger → Comparative Testing → Champion → Reuse.

A Candidate requires qualification. A Challenger is a competing competence. A Champion is the currently best-supported competence within a defined scope.

A better-validated Challenger may qualify for promotion while preserving the previous Champion's provenance and history.

Router S10 complements V10 by identifying, comparing, classifying, and consolidating competencies across independent BODY and ISKRA environments.

Local engineering tests have exercised limited consolidated-artifact import and reload, incremental-change detection, and Challenger promotion.

Our September 2026 S11–S12 research comparison recorded:

Parameter S11 S12
Test cases 210 210
Verified PASS 196 203
Cases without verified success 14 7
FAIL 1 0
Consolidation Completed Completed

Operator observations indicated approximately threefold reductions in execution time and token consumption.

These observations are consistent with improved competence reuse, but do not independently establish that Champion routing alone caused the improvement.

Documentation:

github.com/jankes72/SSI_V5/blob/ma...

7. Universal Execution Engine and Universal Truth Engine

Returning to your question, generating:

{"name":"submit_answer","arguments":{"answer":42}}

does not establish that the tool was invoked.

The execution engine must distinguish:

  • Textual declarations.
  • Valid structured requests.
  • Actual tool execution.
  • Verified execution outcomes.

Request structure, tool availability, parameter contracts, and permissions must be validated independently.

Our internal MCP and execution infrastructure tests include:

Component Result
MCP adapter 18/18
Mobile request ingress 38/38
R3 session engine 72/72

These are component-level infrastructure tests, not general agent-effectiveness benchmarks.

SSI Universal Truth Engine is being developed to distinguish verified, declared, inferred, outdated, contradictory, and unknown information.

Evidence and Notary provide mechanisms for documenting evidence, provenance, and artifact integrity.

This is especially important when agents retain experience.

A falsely accepted success should never automatically become the basis of Champion promotion, subsequent decisions, or an ISKRA's experience-state updates.

We do not claim to have eliminated hallucinations completely. Our objective is systematic reduction and improved verifiability.

8. SSI Adaptive Reasoning

The reasoning-mode results presented by xbill are particularly interesting:

Model Thinking OFF Thinking ON
Gemma E2B 77/500 204/500
Gemma E4B 190/500 435/500
Gemma 12B 486/500 485/500

Extended reasoning substantially benefited smaller models in these tests.

We are developing three modes:

  • DIRECT — immediate solution of simple tasks.
  • THINK — extended analysis.
  • ADAPTIVE — selection of reasoning depth according to task characteristics.

One pilot experiment demonstrated a 4.50× speedup for a simple task.

Adaptive Reasoning concerns the model's reasoning depth, while Router V10, Flow, and Full Flow concern the broader mission strategy.

Our objective is not to eliminate reasoning, but to eliminate unnecessary computations while preserving quality.

9. Current SSI Memory and Optimization Technologies

Our current architecture distinguishes several complementary mechanisms:

Technology Purpose
SSI Brain / Nano Brain Information access and component coordination
Research Memory Structured research history and evidence
CONTINUUM Operational continuity and state recovery
Traffic Cache Reduction of redundant communication
Prefix Cache Reuse of matching-context computations
Virtual Cache Persistent computational-state recovery
Nano Cache Reduction of persistent-state size
Fastload Management of weight availability and startup readiness
MultiQuant Selective quantization and structural optimization
Knowledge Tiles Organization and streaming of model-weight fragments
PRISM Optimized inference environment, including CPU execution
Universal Access Engine Common access to models and resources
Touch Engine Device-independent interaction

Context capsules preserve project history, authorship, decisions, limitations, and research artifacts.

Documentary memory, competence memory, execution state, and model computational state are distinct resources.

Cached information must respect freshness, permissions, and session isolation. A cached result does not establish that a new operation occurred.

10. Actual CPU Optimization Results

Our SSI ATLAS F3 27B experiments used four CPU threads, 16 GB RAM, and no GPU acceleration.

Matching context Response time Speedup
0% 180.04 s 1×
25% 150.77 s 1.19×
50% 75.90 s 2.37×
75% 61.04 s 2.95×
90% 19.63 s 9.17×
100% 3.21 s 56.09×

Other research campaigns produced:

Mechanism Experimental result
Prefix Cache Up to 122.14×
Virtual Cache — complete cycle 13.42×
Nano Cache Static — state reduction 76.09%
Nano Cache Adaptive — state reduction 65.22%
Identical-context recovery 99.16%
Recovery with a modified question 95.82%
Fastload — fastest startup 3.423 s
Integrated mechanisms — median speedup Up to 20.57×
Fastest 27B restart, recovery, and short response 5.905 s

Our completed G6.2 integration experiment tested two 27B models on four CPU threads with 16 GB RAM and no GPU.

Results:

  • 24/24 correct short test responses.
  • Answer parity across all 12 paired comparisons.

These speedups concern specific scenarios involving matching context, prepared weights, and computational-state recovery. They do not represent equivalent acceleration of arbitrary new-token generation.

Separate CPU generation measurements produced:

Model Generation throughput
BASE 27B 0.79 tok/s
SSI R10.3 MATH 1.07 tok/s
SSI ATLAS F3 1.29 tok/s

ATLAS F3 achieved approximately 63.3% higher generation throughput than the baseline in this comparison.

11. Six Cooperating Models — 56B Parameters Without GPU

Our next research stage involves an eight-thread CPU server with 24 GB RAM.

The proposed configuration includes:

Model Intended role Estimated RAM
ATLAS F3 27B Coordination and delegation 6.4 GiB
R10.3 MATH 27B Advanced analysis 6.4 GiB
Four SSI Compact 0.5B models Specialized operations 2.4 GiB
System and SSI services Infrastructure 3.0 GiB
Total Six cooperating models 18.2 GiB

This represents approximately 56 billion combined parameters across six separate models, not a single 56B model.

The memory budget is an engineering estimate. Simultaneous operation, KV-cache requirements, and runtime overhead require measurement.

Research targets include:

Parameter Previous result Target
ATLAS F3 generation 1.29 tok/s 2–3 tok/s
MATH generation 1.07 tok/s 1.5–2.5 tok/s
Compact with matching cache 0.441 s Below 0.5 s
ATLAS F3 with matching cache 3.21 s 1–3 s
Warm 27B startup 5.28 s Below 5 s

These are targets, not confirmed results.

The objective is to combine small coding models, SSI Brain, mission engines, larger specialized models, and computational-state recovery mechanisms.

Rather than keeping all models continuously generating, the system should activate appropriate resources when required.

12. The SSI Architecture

Our intended architecture can be summarized as:

Human / Task → SSI Touch / Universal Access → SSI Brain / Nano Brain → Small Coding Models / JM1 → SCC Mission Language → BODY or BODY ISKRA → Router V10 → Reuse / Adapt / Flow / Full Flow → Micronetworks / Bit Overlays / Champions / LLMs / MCP → Actual Execution → Truth Engine / Evidence / Notary → Verified Outcome → Experience / Research Memory / CONTINUUM → Router S10 → Competence Development → Next Mission.

MultiQuant, PRISM, Prefix Cache, Virtual Cache, Nano Cache, Fastload, Traffic Cache, and Adaptive Reasoning support different stages of this architecture.

This describes intended architectural relationships, not a claim that the entire integrated production environment has already been fully validated.

13. Evaluating Actual AI Agents

Returning directly to your question, we believe agent benchmarks should evaluate several independent dimensions:

Criterion Evaluation
Answer Accuracy Correct answers
Structured Tool Call Rate Actual structured requests
Tool Schema Compliance Valid request parameters
Tool Execution Rate Actual operation execution
Verified Task Completion Verified outcomes
False Execution Claims Unsupported execution declarations
Reasoning Efficiency Computational cost
Competence Reuse Rate Reuse of existing competencies
Champion Hit Rate Correct competence selection
False Reuse Rate Incorrect competence reuse
Full Flow Rate Frequency of complete analysis
Recovery Success Rate Recovery following failure
Experience Retention Preservation of verified experience
Decision Adaptation Influence of experience on later decisions
Cost per Verified PASS Cost of verified success

A correct number appearing in plain text may deserve a positive answer-accuracy score, but not automatically a positive tool-execution score.

This becomes particularly important when systems preserve competencies and learn from previous experiences. A false execution claim can otherwise become false knowledge that influences future decisions.

Within SSI Collective, we are developing cooperation between humans and AI models, preserving authorship, research continuity, and verifiable results.

Our fundamental methodology is test-first: actual experiments before conclusions, with documented limitations and preserved failures.

We believe that the future of agentic AI depends not only on increasing model parameters, but also on specialized mission engines, persistent competence, efficient resource management, dedicated communication languages, and verified experience.

That is why SSI Universal Lab is developing not merely optimized language models, but an interconnected technological ecosystem.

Thank you again for raising this important question.

Paweł Jankiewicz

SSI Universal Lab & SSI Collective

Official website:

ssi.chaos.re/

Public research repositories:

Collapse
 
jankes72 profile image
pawel jankes •

Nigel Douglas, thank you for your question!

Interestingly, this is precisely the challenge we have been investigating for quite some time at SSI Universal Lab.

Our earlier experiments even involved the original, unquantized Llama 3.1 70B BF16 model, whose weights alone occupy 141.107 GB.

Using our experimental inference engine, we executed all 80 layers of the original model on a CPU, obtaining the correct answer and matching both generated tokens of the GPU reference result.

Experiment on extremely resource-constrained hardware

For one of our historical experiments, we deliberately selected one of our least powerful computers and a very slow storage drive:

  • Intel Core i5 processor.
  • 16 GB of physical DDR3 RAM.
  • A dedicated experimental container with an 8 GB RAM limit.
  • An old mechanical HDD.
  • No GPU acceleration.
  • Original Llama 3.1 70B BF16 model.
  • More than 141 GB of original, unquantized weights.

The choice of such limited hardware was a deliberate research decision.

Our objective was not to establish a response-speed record. We wanted to investigate whether computations involving such a large model could be performed under extremely constrained hardware conditions and determine how effective our optimization mechanisms could be.

We used an approach based on dividing model data into fragments that we refer to in our architecture as SSI Knowledge Tiles.

Rather than attempting to load all 141 GB of weights into RAM simultaneously, we managed access to individual model fragments.

Some of the required data was retained in RAM, while the remaining fragments were retrieved from disk as required by the computational process.

This did not involve skipping mandatory model computations or reducing the precision of the original weights.

According to our historical operator observations, we achieved the following results:

Experimental stage Short-response time
Initial baseline Approximately 30 minutes
First optimization stage Approximately 20 minutes
Subsequent optimization stage Under 15 minutes

This represented approximately a twofold improvement on the same highly constrained hardware, without replacing the hardware or quantizing the model. The exact historical timings still require verification against the original logs.

Public documentation confirming the execution of all 80 layers of the original BF16 model on a CPU is available here:

ssi.chaos.re/#exp-bfstream

Why historical response times do not represent the technology's ultimate performance

In this type of environment, one of the most significant potential bottlenecks is storage throughput.

Imagine a 500-liter water tank and a 5-liter water tank, both equipped with an outlet of the same diameter.

Under equivalent pressure conditions, their instantaneous flow rates are limited by the capacity of the outlet, regardless of the total amount of water stored in either tank.

A similar principle applies when performing computations on a large language model whose weights are stored on a slow mechanical HDD.

Even if we optimize data organization, memory management, and computational execution, access to subsequent weight fragments can still be constrained by the physical throughput and latency of the storage device.

Therefore, our historical experiment was primarily a feasibility and optimization study, rather than an attempt to achieve maximum inference speed.

The next research stage — 70B Q8 and NVMe

We have now rented a Contabo Cloud VPS 6 NVMe server with a substantially faster storage subsystem to continue investigating the technology previously used in our experiments with the original 70B BF16 model.

This time, we are investigating a Q8-quantized version of the 70B model, with an estimated weight size of approximately 71 GB instead of 141 GB.

This introduces two significant changes:

  • Approximately half the amount of weight data.
  • Substantially higher potential storage throughput and lower access latency through NVMe storage instead of an old mechanical HDD.

In addition, we are developing mechanisms for managing Knowledge Tiles, RAM utilization, and the sequence in which the required data is delivered to the inference engine.

If storage I/O remains the dominant bottleneck, combining these improvements should produce significantly shorter response times than those observed in our historical experiment.

The actual end-to-end acceleration will also depend on CPU performance, memory organization, storage access patterns, and context length.

Our research methodology often involves deliberately selecting constrained hardware, identifying its bottlenecks, developing optimization mechanisms, and subsequently evaluating their effectiveness on more capable platforms.

Running 27B, 32B, and 70B models under an 8 GiB memory limit

As early as October 19, 2026, we documented separate experiments in which three large, quantized language models operated exclusively on CPUs under an 8 GiB memory limit, without GPU acceleration or system swap.

Model Weight size Peak process RSS Correct answers
Bonsai 27B PQ2_0 7.21 GB 7.13 GiB 3/3
Qwen 32B Q2_K 12.31 GB 7.38 GiB 3/3
Llama 3.1 70B IQ2_XXS 19.10 GB 7.13 GiB 3/3

All nine simple test tasks produced correct answers, with no recorded out-of-memory events.

In a subsequent campaign on October 25, the quantized 70B model generated a correct short answer in 116.92 seconds, again under an 8 GiB memory limit, this time with swap available.

These were controlled memory limits on larger machines. Consequently, these results should be distinguished from the total system memory consumption of a physical computer equipped with only 8 GB of RAM.

SSI MultiQuant

Our research has now progressed considerably further.

We are not exclusively focused on reducing model size. We are developing our own mechanisms for optimizing model structure, memory management, and inference environments.

SSI MultiQuant is our research direction focused on selective quantization and structural model optimization.

Rather than treating every component of a model identically, we investigate the individual impact of different components on answer quality, reasoning capabilities, generation speed, and memory requirements.

Our objective is to identify the best possible balance between model size, computational efficiency, and the preservation of model capabilities.

Our current optimized 27B-class model variants have weight files of approximately 6.3–6.5 GB.

In one of our earlier CPU experiments, we obtained the following results for new-token generation speed:

27B model Generation speed Change relative to baseline
Base model 0.79 tok/s —
SSI R10.3 FACT 0.83 tok/s +5.06%
SSI R10.3 MATH 1.07 tok/s +35.44%
SSI ATLAS F3 1.29 tok/s +63.29%

All these measurements were performed on the same server, equipped with:

  • Four CPU threads.
  • 16 GB RAM.
  • No GPU acceleration.

The magnitude of the observed improvements remains subject to further controlled validation.

SSI Nano Cache

Another mechanism we are developing is SSI Nano Cache, designed to optimize the persistent computational state of a model.

Reducing the size of model weights alone is not sufficient. It is also important to reduce the cost of storing previously completed computations and enable their subsequent recovery.

In our completed Nano Cache G5 campaign, we tested two 27B-class models across four checkpoint configurations.

All 24 test responses were correct.

We reduced the size of the persistent computational state from 1,376.59 MiB to just 329.20–478.83 MiB.

Parameter Nano Static Nano Adaptive
Number of checkpoints 1 2
Original state size 1,376.59 MiB 1,376.59 MiB
Optimized state size 329.20 MiB 478.83 MiB
Size reduction 76.09% 65.22%
Identical-context recovery 99.16% 99.16%
Context recovery with a modified question 0% 95.82%
Fastest state retrieval 0.313 s 0.545 s

Nano Static is primarily intended for repetitive requests, while Nano Adaptive preserves the benefits of previously completed computations even when the question changes, as demonstrated in the tested scenario.

Importantly, these reductions apply to the persistent computational state, not to the model weights themselves or total RAM consumption.

This is particularly relevant to home computers, local devices, and infrastructure with limited memory and storage capacity.

Smaller SSI models

In parallel, we are developing our own adaptations of smaller language models: 0.5B, 1.5B, and 3B.

In earlier experiments conducted on a local computer, we achieved the following improvements when comparing successive versions of our inference engines while generating the same number of tokens:

Model Before optimization After optimization Speedup
SSI 0.5B 22.43 s 16.79 s 1.34×
SSI 1.5B 128.99 s 47.05 s 2.74×
SSI 3B 256.53 s 80.66 s 3.18×

Each compared variant generated 128 tokens. Broader answer-quality comparisons against the original base models remain a separate research stage.

Our technologies are therefore not intended exclusively for large language models. We are also investigating their application to much smaller models that can operate on ordinary computers and resource-constrained devices.

Current research stage

We are currently conducting another four-hour research campaign to expand the validation of our optimization mechanisms, memory management, execution speed, and answer correctness.

We are developing an entire technological ecosystem encompassing model optimization, recovery of previously completed computations, accelerated model loading, adaptive reasoning, and answer reliability verification.

To answer your question directly: yes, we have already demonstrated the feasibility of short-response inference using large, quantized 27B, 32B, and 70B language models exclusively on CPUs under an 8 GiB memory limit.

Separately, we have also confirmed the execution of all 80 layers of the original, unquantized 70B BF16 model on a CPU.

Our current challenge is therefore not simply to make large models run, but to achieve increasingly practical performance on resource-constrained hardware.

We believe access to advanced artificial intelligence should not be a privilege reserved exclusively for organizations possessing expensive GPU clusters.

Home laboratories, independent researchers, smaller businesses, and users of ordinary computers should also be able to benefit from advanced AI models.

This is one of the fundamental reasons why we are developing SSI Universal Lab.

Public research documentation

Memory management experiments R1–R7:

github.com/jankes72/SSI_V5/blob/ma...

SSI MultiQuant V7 — 70B model under an 8 GiB memory limit:

github.com/jankes72/SSI_V5/blob/ma...

SSI Universal Lab research results:

github.com/jankes72/SSI-Universal-...

Paweł Jankiewicz

SSI Universal Lab

ssi.chaos.re/

Collapse
 
milochen0418 profile image
Milo Chen •

E2B calling submit_answer on only 32 of 500 tasks, and answering the rest in prose, stood out to me. Scoring by what the model submits, checked by code, is a fair way to catch that.

I saw a similar split with Ollama on my Mac. qwen2.5-coder:7b wrote its tool calls as plain JSON text in the reply, so my assistant did nothing. qwen2.5:7b made real tool calls. Did any Gemma size do that, write a tool call as text instead of in the tools field? And would your scorer count it as prose, or pick up the number inside?

Collapse
 
innokentyb profile image
Kent Bodrov •

The task-level scoring is more useful than tokens per second on its own. I’d be curious how the rankings change when a workspace contains conflicting or stale values, not just one correct fact per line. A separate “abstained with evidence” category could distinguish a model that correctly surfaces a conflict from one that confidently submits the wrong value. Do you plan to add those cases?

Collapse
 
jankes72 profile image
pawel jankes •

Paul, your hypothesis about smaller models being negatively affected by their own earlier incorrect answers is particularly interesting.

I suspect that the quality of the context may be just as important as its length. It would be interesting to compare four scenarios: full conversation history, fresh context for each task, history containing deliberately introduced errors, and context containing only previously verified information.

This is especially relevant to our smaller 0.5B, 1.5B, and 3B models and our SSI Brain architecture.

Regarding the drafter, preserving quality is theoretically expected with correctly implemented speculative decoding. However, the magnitude of the speed improvement is particularly encouraging.

In our own recent G6.2 integration experiment, using two 27B models on four CPU threads with 16 GB RAM and no GPU, we achieved a median speedup of up to 20.57× in a specific computational-state recovery scenario, with 24/24 correct short test responses and answer parity across all 12 paired comparisons.

Our fastest complete model restart, state recovery, and short-response cycle took just 5.905 seconds.

These results involve different optimization mechanisms, rather than speculative decoding itself.

What interests me most is how much additional performance we could achieve by combining these complementary approaches without sacrificing accuracy.

Ultimately, the goal is not simply to generate tokens faster, but to complete verified tasks faster while avoiding unnecessary computations and preventing previous errors from influencing future decisions.

Thank you for sharing your observations, Paul!

Collapse
 
jankes72 profile image
pawel jankes •

Excellent observation! This is precisely the approach we are already applying at SSI Universal Lab through our Universal Truth Engine.

We distinguish between answer accuracy, evidence reliability, conflicting information, insufficient evidence, and false confirmations.

We have now prepared another extensive experiment — SSI GRAND UNIVERSAL INTELLIGENCE R4.

We are comparing three 27B-class models: BASE, SSI ATLAS F3, and SSI R10.3 MATH.

  • 750 tests across 13 domains.
  • 45 cases involving truthfulness and hallucinations.
  • 45 cases involving conversation and memory.
  • 420 cases covered by full Truth Gate scoring.
  • An identical, frozen question bank for all three models.
  • Four CPU threads, 16 GB RAM, and no GPU.

The Truth Gate itself has already passed 21/21 local tests, while its adapters have passed 25/25.

Your suggestion to introduce a separate “Abstained with Evidence” category aligns very well with our methodology. We also want to distinguish justified abstention from situations where a model gives up despite sufficient evidence being available.

Like you, I am curious whether the models currently ranking highest in answer accuracy will remain the leaders when decision reliability is also taken into account.

For us, speed is important, but truthfulness, effectiveness, and the ability to verify outcomes come first.

Collapse
 
xwickz profile image
Santiago Griman •

I just bought a Macbook Pro M4 Pro I want to test this AI locally... thanks for the insights

Collapse
 
nigel_douglas_edera profile image
Nigel Douglas •

That's amazing and all, but can you get it running on 8GB CPU?
My homelab still doesn't have any fancy graphics cards.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.