Models for the assistant
Ledgeline tests the assistant against real models with a fixed set of tasks. The books are invented. This page lists the results for each model tried, so you can pick one that does what you need.
Treat the results as a rough guide. Each task ran twice per model, so a single failure may be chance. The times depend on the machine running the model, so compare them only between models measured on the same machine.
Recommendations
- gemma 4 31B is the best choice so far, on two different machine. It passed every task in both runs, including the hardest (turning a house into a priced commodity), with the fewest lookups. It averaged 60 seconds a task on the Mac and 64 on the Strix Halo machine. Qwen 3.8 Flash Next is the only other model to manage the house, once in two tries.
- For reading and charts, gemma 4 31B and Inkling 2 mini answered every question correctly.
- Inkling 2 mini is faster, and did every everyday change, but it reads the manuals more than it needs to. On a long task that can use up its tool rounds before it finishes.
- Qwen 3.6 35B-A3B is much the fastest, but less careful: it sometimes said what it would do next and then stopped. Use it for quick questions.
- Qwen 3.8 Flash Next is next best: 23 of 24, including the house once, at about 33 tokens a second. It looks things up more than gemma 4 31B (about 4 calls a task against 2), which costs time on long tasks.
- gemma 4 26B-A4B at 8-bit is close behind: 21 of 24, every reading task right, and quick (about 36 tokens a second). It did the everyday changes but not the house, and was refused more often than the others.
- Qwen 3.8 27B at 8-bit was never refused, but it is slow on this machine (about 7 tokens a second), and ran out of time on the order email and the house.
The tasks
| Task | What it asks |
|---|---|
| Monthly groceries | Grocery spending per month for a quarter |
| Largest grocery purchase | The single biggest grocery charge |
| Net worth | Net worth, from Ledgeline’s own report |
| Refuses to write | At Read access, a request to rename an account, which it must refuse and explain |
| Spending chart | A bar chart of spending by category |
| Top payees | The payees with the most spending |
| Order email | Read an order email, list the items and prices, and find the matching card charge |
| Add a transaction | Propose one new transaction |
| Recategorize | Move one charge to a new account the books haven’t declared |
| Rename an account | Rename an account everywhere |
| Fix an opening balance | Correct one amount in an opening balance whose equity side is inferred |
| House as a commodity | Turn a house tracked by revaluation entries into a commodity with market prices |
A task passes when the answer has the right figures and every figure comes from the books, or, for a change, when Ledgeline’s checks pass and the approved result is right.
Results
Summary
| gemma 4 31B | Inkling 2 mini | Qwen 3.6 35B-A3B | Qwen 3.8 27B | gemma 4 26B-A4B | Qwen 3.8 Flash Next | gemma 4 31B QAT | |
|---|---|---|---|---|---|---|---|
| Size | 31.3B, dense | not published | 35B, 3B active | 27B, dense | 26B, 4B active | not published | 31B, dense |
| Quantization | Q4_K_M (Ollama gemma4:31b) | UD-IQ4_XS | Q4 | Q8 | Q8 | UD-Q4 | UD-Q4_K_XL, quantization-aware |
| Server | Ollama 0.40.18 | llama.cpp b12756 | llama.cpp b12756 | llama.cpp b12756 | llama.cpp b12756 | llama.cpp b12756 | llama.cpp b12756, with a draft model (MTP) |
| Machine | Apple M5 Max, 64 GB | AMD Strix Halo, 128 GB | AMD Strix Halo, 128 GB | AMD Strix Halo, 128 GB | AMD Strix Halo, 128 GB | AMD Strix Halo, 128 GB | AMD Strix Halo, 128 GB |
| Context window | 262,144 | 131,072 | 262,144 | 262,144 | 262,144 | 131,072 | 262,144 |
| Prompt version | 6 | 5 | 6 | 6 | 6 | 6 | 6 |
| Passed | 24/24 | 22/24 | 17/24 (19/24 with the net worth re-run) | 18/24 (20/24 with the net worth re-run) | 21/24 | 23/24 | 24/24 |
| Average time per task | 60 s | 42 s | 57 s | 141 s | 71 s | 60 s | 64 s |
| Average calls per task | 2.0 | 4.5 | 2.4 | 2.3 | 2.2 | 3.9 | 2.5 |
| Refused calls | 4 | 3 | 3 | 0 | 7 | 5 | 8 |
| Empty replies | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Ran out of rounds | 0 | 3 | 0 | 0 | 0 | 0 | 0 |
| Output speed | 19 tokens/s | not recorded | not recorded | 7 tokens/s | 36 tokens/s | 33 tokens/s | 25 tokens/s |
Each task ran twice, on 2026-11-28, with Ledgeline 0.3.0 and 10 tool rounds per message. The context window is what the server reported. Refused calls are lookups or proposals Ledgeline turned down, each one a wasted round. Empty replies are replies with nothing in them, usually a lookup the server couldn’t read and dropped; the chat says so and the model is asked again. A task can pass and still run out of rounds, when the scoring only checks that nothing was written.
Output speed is the tokens the model wrote over the whole time spent in model requests, reading the prompt included, so it is a floor on what the server can do. It was first recorded for Qwen 3.8. gemma 4 26B-A4B was the first model run after the fix below, and got the net worth right.
gemma 4 31B on the Mac is its third run, with prompt version 6 on an otherwise idle machine. The first, with version 5, also passed every task, averaging 78 seconds. A second, on version 6 while the Mac was busy with other work, took about two and a half times as long everywhere (7 tokens a second) and ran out of time on the order email and the house. All three are in the raw results.
Both Qwen models reported the net worth as $2,142,004.00, 100 times the real $21,420.04. The bug was in Ledgeline, not the models. Its reports sent each amount as a whole number plus a count of decimal places, and the Qwen models read the whole number as the amount. Reports now send amounts as plain decimals like 21420.04. Run again after the fix, both Qwen models got the net worth right in both attempts.
Qwen 3.6’s average time is inflated by two attempts that hit the time limit: one waiting on the house task, and one where the connection to its server failed. Prompt version 6 adds a reference of the proposal format to the manuals the assistant searches, and a warning on the last tool round. Inkling 2 mini ran out of rounds on version 5, which is what those changes are for.
By task
Each cell is passes out of two, the typical number of calls, and refused calls over both attempts.
| Task | gemma 4 31B | Inkling 2 mini | Qwen 3.6 35B-A3B | Qwen 3.8 27B | gemma 4 26B-A4B | Qwen 3.8 Flash Next | gemma 4 31B QAT |
|---|---|---|---|---|---|---|---|
| Monthly groceries | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call |
| Largest grocery purchase | 2/2, 1 call | 2/2, 1–4 calls | 2/2, 1 call | 2/2, 1 call | 2/2, 2 calls | 2/2, 1 call | 2/2, 2 calls |
| Net worth | 2/2, 1 call | 2/2, 2 calls | 0/2: $2,142,004.00, see above; 2/2 when re-run | 0/2: $2,142,004.00, see above; 2/2 when re-run | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call |
| Refuses to write | 2/2, no calls | 2/2, 8–11 calls (one ran out of rounds) | 2/2, 2 calls | 2/2, 3–5 calls | 2/2, no calls | 2/2, 5–7 calls | 2/2, 1–2 calls |
| Spending chart | 2/2, 2 calls | 2/2, 2 calls | 2/2, 2–3 calls | 2/2, 3 calls | 2/2, 2 calls | 2/2, 3–4 calls | 2/2, 2 calls |
| Top payees | 2/2, 1 call | 2/2, 2 calls | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1 call | 2/2, 1–2 calls |
| Order email | 2/2, 2–3 calls, 3 refused | 2/2, 4–5 calls, 2 refused | 1/2, 4 calls, 2 refused (one lost connection) | 0/2: timed out before its first lookup | 2/2, 2–3 calls, 3 refused | 2/2, 4–6 calls, 4 refused | 2/2, 2–3 calls, 3 refused |
| Add a transaction | 2/2, 3 calls | 2/2, 5 calls | 2/2, 2–3 calls | 2/2, 2 calls | 2/2, 2–3 calls | 2/2, 3–5 calls | 2/2, 2 calls |
| Recategorize | 2/2, 2 calls | 2/2, 5 calls, 1 refused | 2/2, 2 calls | 2/2, 2–6 calls | 2/2, 2 calls | 2/2, 3 calls | 2/2, 2 calls |
| Rename an account | 2/2, 1 call | 2/2, 3–5 calls | 2/2, 1 call | 2/2, 2–3 calls | 2/2, 1 call | 2/2, 3 calls | 2/2, 1 call |
| Fix an opening balance | 2/2, 3–4 calls | 2/2, 5 calls | 0/2: wrote the inferred amount out, or stopped before proposing | 2/2, 3–4 calls | 1/2, 5–7 calls, 2 refused (one promised the savings balance would not change) | 2/2, 4 calls | 2/2, 4 calls, 2 refused |
| House as a commodity | 2/2, 6–7 calls, 1 refused, 4 to 7 minutes | 0/2: ran out of rounds searching the manuals | 0/2: stopped, or timed out, before proposing | 0/2: timed out reading the books | 0/2: timed out, once with a proposal failing hledger’s accounts check | 1/2, 12–17 calls; the other stopped after one refused proposal | 2/2, 9 calls, 3 refused, about 6 minutes |
The raw results are in fixtures/ai-eval/results in the source repository.
Testing a model yourself
The tests are in Ledgeline’s source repository, in fixtures/ai-eval. With a checkout, just ai-eval runs them against any model you can reach, and writes a results file you can compare with the ones above. Its README explains the options. A hosted model is only sent the invented books when you pass --hosted.