◭Project Driftflare
← Catalog

CREATOR WORKFLOW · PROJECT DRIFTFLARE

Local model comparison

When can an Ollama workflow parse a model’s reply directly and use the value it expects?

Earlier test: task completion under an 8,192-token output limit ↓

KIT 1.1 · NOVEMBER 16, 2026 · AUTHOR-REPORTED

Two models, three checks

Six tasks run at seeds 42 and 43 produced 12 replies per model in each condition.

Replies passing each check, out of 12
Model and modeRaw parseExact answerContent after cleanup
Gemma · prompt only0/1210/1212/12
Gemma · schema12/1212/1212/12
Qwen · prompt only12/1212/1212/12
Qwen · schema12/1212/1212/12

Raw parse checks the reply as delivered. Exact answer permits removing one Markdown fence and requires the expected JSON value and type. Content after cleanup is a retrospective check: for the ordering task only, we also split a comma-separated answer string and trim each item before checking the sequence.

Try the structured-output comparison

Project Driftflare ran the paired benchmark twice on one RTX 4090. Each run recorded 48 replies: two models, six tasks, two seeds and two output modes. Both runs produced the same scores.

  • Published results: kit 1.1, seeds 42 and 43
  • Temperature: 0.2, reasoning enabled
  • Context: 16,384 tokens. Output limit: 8,192 tokens.
  • Model quantization and digest: unrecorded in these runs

The schema specified the answer type and left the correct sequence open.

What changed on ordering? Gemma got the order right at both seeds. After removing the prompt-only reply’s Markdown fences, the answer was still one string. The key required an array of three strings, so it rejected both replies. With the schema, Gemma returned the three steps as separate array items and passed both times.

See one actual reply

Ordering task · gemma4:26b · seed 42

Prompt only

```json
{
  "answer": "Design, Build, Test"
}
```

The fences prevent direct JSON parsing. Removing them leaves one string where the task asks for three items.

With JSON schema

{"answer": ["Design", "Build", "Test"]}

The reply parses directly and contains the three items in the expected order.

Compare these two replies in your browser →

Run the benchmark yourself

Runner 1.1 produced the published results. All three versions use the same tasks, prompts, model settings and scoring rules. Runner 1.2 added model digest and quantization logging. Runner 1.3 also records the Ollama version, OS release and available NVIDIA GPU and driver details. The original result files did not record those versions.

Download runner 1.3 · Read the 1.3 Python source

Both models must already be installed in Ollama. The runner calls the local Ollama service at 127.0.0.1 and, when available, runs nvidia-smi to read GPU model and driver information. It writes one new timestamped JSONL file beside the script.

Verify runner 1.3 (SHA-256)
7416c284d01c4e6e98de9ff76c78b26b82b9efa6a0bb171c25b56c9981ad845a

Windows PowerShell

Get-FileHash ./driftflare_paired.py -Algorithm SHA256

macOS

shasum -a 256 driftflare_paired.py

Linux

sha256sum driftflare_paired.py
Earlier runners and SHA-256 checksums

Download runner 1.1 · Read source

b0ad7c6cd34113dd29381620107085f08cdca5aacacb70818ecc7aedd3ac3975

Download runner 1.2 · Read source

8f1d70e9d6b01f4b704a7c7d973b8846fd2120fde07ec382bd959d8555d90398

With Python 3.9+ and Ollama running, install both listed models and open a terminal in the download folder.

Windows PowerShell

py ./driftflare_paired.py

macOS or Linux

python3 ./driftflare_paired.py

A completed run saves 48 scored replies. Import that file below for both scorecards. The ordering rows include each model’s exact reply.

AUTHOR-REPORTED · OCTOBER 31, 2026

Earlier test: task completion under an output limit

Qwen 3.8 completed 12 of 12 tasks correctly with zero output-limit failures. Gemma 4 26B completed 7 of 12 correctly and hit the output limit four times. Those four runs stopped at the token cap before returning a complete answer. They count as incomplete; their final answer accuracy is unknown.

Six tasks per model, two rounds, seeds 42 and 43. Both used a 16,384-token context, 8,192-token output cap, reasoning enabled and temperature 0.2. Models were warmed first and tested in reverse order in the second round.

PORTABLE KIT · VERSION 1.1

Try your own comparison

This adaptation includes six new synthetic prompts and exact JSON answer keys. Correct answer accepts raw JSON or one enclosing Markdown fence. Ready-to-use JSON requires the correct answer in raw JSON. Extra prose and incomplete responses earn neither pass. These scores belong to a separate benchmark series. Download the readable Python script to inspect the prompts and scoring rules.

On a computer with Python 3.9+ and Ollama running, use ollama list to find two installed reasoning-capable models. Open a terminal in the download folder and replace MODEL_A and MODEL_B below with their tags. On Windows you can use py in place of python.

python driftflare_compare.py MODEL_A MODEL_B

The script sends synthetic prompts to Ollama on localhost and writes one scored row per completed request to driftflare-results.jsonl. Allow time for 24 scored runs plus warmups. Inspect the score, model tag, completion reason and elapsed seconds in each row. Use local model tags for an offline run. An existing results file is protected from overwrite.