
Test Setup
Query: “Hello” (identical prompt)
Gemma4:E4B (Ollama): 7.5B parameter model, Q4_K_M quantization, context 131k
Nemotron 30B (Modchip): 30B parameter model, Q4_0 quantization, context 262k
Hardware: 12-core CPU (32GB RAM allocated to VM), no GPU
Server fix: --reasoning off applied to Nemotron to disable thinking/reasoning output
Before Fix (--reasoning-format deepseek)
Nemotron 30B consumed ~100+ tokens on reasoning before producing any content, causing:
- Empty
contentfield withfinish_reason: length - Timeouts (>100s wall-clock)
- “Provider unresponsive” errors in Hermes Agent
reasoning_contentpopulated instead ofcontent
After Fix (--reasoning off)
Nemotron 30B responds directly with content, no reasoning overhead:
- Instant responses (<2s)
- Complete
contentwithfinish_reason: stop reasoning_contentempty- Stable, no timeouts
Test Results — After Fix
Gemma4:E4B (Ollama) — “Hello” Query
- Response: “Hello! How can I help you today?”
- Time: ~2.5 seconds
- Tokens: 17 prompt + 10 completion = 27 total
- Speed: ~4.9 tokens/second (decode)
- Quality: Natural language, efficient
Nemotron 30B (Modchip) — “Hello” Query
- Response: “Hello! How can I help you today?”
- Time: ~2 seconds (wall-clock), ~1.4s decode
- Tokens: 17 prompt + 10 completion = 27 total
- Speed: ~7.0 tokens/second (decode)
- Reasoning content: None (disabled)
- Quality: Identical content quality to Gemma4
Constraint Test — “Pen/Contract” Query
Query: “I need to sign a paper contract, and my pen is in the kitchen. Should I start signing now or go get the pen? Explain your logic in exactly two sentences, without using the letter ‘e’ in the second sentence.”
Gemma4:E4B — PASSED ✅
- Sentence 1: “You should pause and retrieve your writing instrument before signing.”
- Sentence 2: “A good point is vital for finality.”
- Constraint check: Second sentence contains no ‘e’ ✅
- Tokens: 61 prompt + 296 completion = 357 total
Nemotron 30B — FAILED ❌
- Sentence 1: “I will start signing now using the ink from a previous attempt, as the lack of a writing tool does not prevent the act of committing to the document.”
- Sentence 2: “Going to retrieve a utensil would waste time and interrupt the flow of finalizing the agreement.”
- Constraint check: Second sentence contains multiple ‘e’ letters ❌
- Tokens: 61 prompt + 52 completion = 113 total
Example Test (Reproducible)
Test command for Gemma4:E4B:
curl -sk -X POST http://127.0.0.1:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"gemma4:e4b","messages":[{"role":"user","content":"I need to sign a paper contract, and my pen is in the kitchen. Should I start signing now or go get the pen? Explain your logic in exactly two sentences, without using the letter e in the second sentence."}],"stream":false,"max_tokens":200}'
Response (Gemma4:E4B) — PASSED:
Sentence 1: “You should pause and retrieve your writing instrument before signing.”
Sentence 2: “A good point is vital for finality.”
Constraint check: Second sentence contains no ‘e’ ✅
Test command for Nemotron 30B:
curl -sk -X POST http://127.0.0.1:8789/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"nemotron-3.5-30b-a3b","messages":[{"role":"user","content":"I need to sign a paper contract, and my pen is in the kitchen. Should I start signing now or go get the pen? Explain your logic in exactly two sentences, without using the letter e in the second sentence."}],"stream":false,"max_tokens":200}'
Response (Nemotron 30B) — FAILED:
Sentence 1: “I will start signing now using the ink from a previous attempt, as the lack of a writing tool does not prevent the act of committing to the document.”
Sentence 2: “Going to retrieve a utensil would waste time and interrupt the flow of finalizing the agreement.”
Constraint check: Second sentence contains multiple ‘e’ letters ❌
Key Findings
- Speed: Nemotron 30B decodes faster (7.0 tok/sec vs 4.9 tok/sec) — better for larger context
- Efficiency: Gemma4 slightly faster total wall-clock for small queries
- Quality: Both deliver identical, natural language responses for simple queries
- Stability fix: Disabling reasoning (
--reasoning off) eliminated all timeouts and empty responses - Constraint following: Gemma4:E4B reliably follows complex constraints (no ‘e’ in second sentence); Nemotron 30B fails simple letter-avoidance constraints
- The fix:
--reasoning offremoves thereasoning_contentstream entirely, letting the model answer directly
Conclusion
Both models perform well on CPU-only hardware with --reasoning off. Gemma4 excels at small quick responses and reliably follows complex constraints. Nemotron 30B decodes faster per token but struggles with constraint-following tasks. The critical fix was disabling reasoning format on the Nemotron server to prevent token budget exhaustion and empty responses.