This is about Qwen 3.8 27B and Qwen 3.6 35B A3B.
I used a single GPU on hand to have the 27B model inspect and correct accounting ledgers via MCP. Out of 19 planted errors, it found and fixed 14 on its own. API costs were zero, and data never left the premises.
Surprisingly, performance worsened as reasoning depth increased. The best results came from the medium setting, dropping to just 2 points at maximum.
Accounting data is among the top categories of information companies do not want to share externally. Ledger books for client firms, internal sales structures, and counterparties’ names and amounts—there are wide areas in accounting where sending data to cloud APIs feels resistant. Therefore, “how far a local model can be used” is a question that directly applies to practical work.
On the other hand, local models are clearly smaller than commercial large-scale models. Naive expectations will be disappointed, but they transform when usage methods are aligned—this experiment measured where that boundary lies. Since the key insights for usage became clear, I wanted to share them.
What was tested
I created a ledger for a fictional company in SQLite and planted 19 intentional errors.
- 91 journal entries, 70 bank statements, 2 fixed assets
- Debit/credit mismatches, double entries, digit errors, reversed debits/credits, incorrect consumption tax classifications, period shifts, negative cash balances, unrecorded entries, discrepancies with fixed asset registers, unrecorded depreciation, advance receipts, unsettled advances, unrecorded year-end inventory, unpaid withholding taxes, etc.
The difficulty of the errors was intentionally varied. From those instantly visible in a trial balance, to those requiring reconciliation with bank statements, to those needing verification against fixed asset registers, to those requiring knowledge of tax law, and finally to those that cannot be found unless one notices “the absence of something that should be there.”
I exposed this as an MCP server and gave the LLM 15 tools to autonomously fix them.
- Read: Overview, accounts, journal entry list, single journal entry, trial balance, general ledger, bank statement, fixed asset register, depreciation calculation
- Write: Add/modify/delete journal entries, reconcile with bank statements
- Others: Reset to initial state
Scoring was done mechanically, looking only at the final state of the ledger. It did not matter whether journal entries were rewritten or adjusting entries were added, because even human accountants differ in how they fix issues.
For comparison, I (Claude Opus) also solved the same task. However, since this was solved by the person who planted the errors, no exploration occurred. Please view this as an upper-bound benchmark.
Results: Local 27B achieved 14/18
| Setting | Score | Actual fixes made | Reasoning length | Time |
|---|---|---|---|---|
| No reasoning | 0/18 | 0 times | 0 chars | 61 sec |
| Low | 10/18 | 18 times | 18,503 chars | 3.9 min |
| Medium | 14/18 | 23 times | 76,639 chars | 22 min |
| High | 8/18 | 7 times | 112,387 chars | 12 min |
| Max | 2/18 | 3 times | 176,596 chars | 27 min |
Medium setting yielded 14/18. For reference, a commercial large model scored 17/18 on the same task (but again, this was solved by the person who planted the errors, so no exploration occurred; it is not a fair comparison).
In other words, a single GPU on hand reaches about 80% of a commercial model’s performance. Moreover:
- Zero API costs. Running it repeatedly incurs no additional fees.
- Ledger data does not leave the premises. Accounting information is among the most sensitive data to keep internal, so this is significant.
- In 22 minutes, it reviewed all 91 journal entries and corrected 23 items.
I believe this level is sufficient for practical use.
Insight 1: Reasoning should be “medium”
The deeper the reasoning, the lower the score. At the max setting, it reasoned through 170,000 characters but actually modified the ledger only 3 times. At the medium setting, it reasoned through 70,000 characters and made 23 changes. The reasoning volume was 2.3x higher, but the number of actions taken was 1/8th.
The reason lies in the structure. The agent loop works like this:
1 Round = 1 round-trip with the LLM
① Send previous conversation + tool list
② LLM returns [Reasoning] [Speech] [Call this tool] ← Reasoning concludes here
③ We execute the tool and add the result to the conversation
④ Return to ①Reasoning is not part of the loop. It concludes within a single generation. And since each generation has a length limit, if reasoning consumes that limit, generation ends before reaching tool instructions. Even doubling the limit only doubled the reasoning, stopping at the same point.
Another factor: models that reason deeply conclude earlier with “it’s enough.” The max setting declared completion after 35 rounds, despite scoring only 2 points. The medium setting persisted up to 90 rounds.
For agent purposes, restrained reasoning is the correct answer.
This may go against intuition. “Let complex problems be reasoned through deeply” is correct when using models for dialogue. Mathematical proofs or design reviews yield better answers with thicker reasoning.
But agents are different. An agent’s output is determined not by “how much it thought,” but by the number of times it correctly called the right tool with the right arguments. To fix ledgers, you must actually call the correction tool. Merely thinking moves nothing.
Longer reasoning reduces progress per round, reducing the number of round-trips. In tasks like accounting correction requiring 20–30 tool calls, this difference directly impacts final scores.
Insight 2: What’s needed is not “reasoning” but “something remaining”
Another interesting result emerged. With reasoning completely disabled, scores diverged sharply between models.
| Reasoning | Speech | Fixes made | Score | |
|---|---|---|---|---|
| Older model (reasoning off) | 0 chars | 45 lines (2,044 chars) | 16 times | 10/18 |
| Newer model (no-reasoning setting) | 0 chars | 0 lines | 0 times | 0/18 |
The newer model’s “no reasoning” output consists only of tool instructions. Both reasoning and speech are empty, leaving only raw JSON in the conversation history. Consequently, “where the errors were” accumulated nowhere, and it re-read the same ledger 39 times without fixing anything. Its traversal order broke down, reading the same months repeatedly.
Meanwhile, the older model spoke something every round even with zero reasoning. But at an average of 45 characters per round, content was merely “I checked the trial balance.” Not long handoffs. Still, it scored 10 points.
Thus, what matters is not “deep inference” but “something persisting across rounds.” Reasoning functions less as inferential capability and more as working memory for itself.
Practically, this serves as a design guideline. When building agents, simply having the model speak at least once per round (or leave reasoning traces) may stabilize behavior.
Insight 3: Round-trip count is the most effective lever
Among various improvement attempts, the only consistently effective factor was round-trip count.
Simply raising the round limit from 40 to 100 increased scores from 13 to 14. Conversely, thickening prompts or adding tools made judgments per round heavier, reduced round-trips, and lowered scores.
| Method | Result |
|---|---|
| Increase reasoning volume | Counterproductive |
| Write audit procedures in prompt | No effect ~ counterproductive |
| Add tools | Counterproductive |
| Reduce tools | Counterproductive |
| Shorten descriptions | Nearly unchanged |
| Increase round-trip count | Effective |
“Ensuring move count” is more effective than “adding information to become smarter.” This was a quite practical discovery for design guidelines.
However, there is a ceiling to move count. When run with a 100-round limit, the model voluntarily ended at 90 rounds. After round 40, there were periods of 16 consecutive reads only. Once unable to find new errors, it continued confirmation work for a while before ending. Raising the limit further does not extend indefinitely.
Thickening prompts did not help
Specifically, I wrote and provided audit procedures targeting missed items: “Check for duplicate abstracts with identical amounts,” “Consumption tax reduced rate is 8% for food/drink,” “Check accounts with zero balance or stagnant balances”—not direct answers, but standard checklists any accountant holds.
| Condition | Rounds | Score |
|---|---|---|
| Baseline | 90 | 14/18 |
| + Short checklist (4 items) | 54 | 14/18 |
| + Detailed checklist (16 items) | 47 | 12/18 |
| Split into 2 passes | 43+29 | 13/18 |
None of the targeted 4 items were captured. The short version tied, but round-trips dropped from 90 to 54 with no change in reach. The detailed version saw scores drop.
It appears not that “they couldn’t find it because they didn’t know,” but rather “even if they knew, they lacked the budget to execute.”
Insight 4: Adding tools does not improve performance
Investigating missed items revealed some were obscured by tool design.
The tool returning trial balances only returned accounts with activity. Inventory had a zero balance, so the row itself did not exist. Instructing “check accounts with zero balance” meant checking things not displayed on screen.
So I added three: a trial balance returning zero-balance accounts, duplicate entry detection, and year-end checks. Results dropped from 14 to 9 points.
| Condition | Tool count | New tool usage | Score |
|---|---|---|---|
| No new tools | 15 | — | 14/18 |
| Added 3 | 18 | 3 out of 59 uses | 9/18 |
| Reduced to 13 | 13 | 8 uses | 12/18 |
Added tools were rarely called, and increased choices halved round-trips (90→38). Reducing to 13 tools saw new tools used, but still fell short of the original 15-tool setup.
I also tested description length. The three added tools had descriptions three times longer than existing ones, so I rewrote only descriptions concisely without changing content. With 18 tools, +1 point. But with 13 tools, -3 points, as writes surged to 56 times, yielding 9 points. Trimming explanations caused loss of usage constraints like “do not put both debit and credit in one line,” producing erroneous corrections en masse.
Long descriptions burden judgment; short descriptions invite misuse. As an MCP designer, this is worth remembering.
Insight 5: Detection is strong. Correction requires humans
The most important finding for practical application is this.
AI is strong at “finding.” Debit/credit mismatches, negative cash, digit errors, bank statement discrepancies, fixed asset register mismatches, consumption tax classification errors, period shifts, unsettled advance receipts/advances—all correctly identified.
On the other hand, “correcting” introduces side effects.
- Attempting to resolve negative cash balance, it created withdrawals nonexistent in the bank statement
- Under conditions with trimmed descriptions, it wrote 56 times for 9 points (mass production of erroneous corrections)
Furthermore, there were 5 points that could not be finalized without source documents: Cash sources, unidentified withdrawals, year-end inventory amounts, withholding tax payments, transactions with empty abstracts. Answers not present in data must not be filled by AI. If filled, ledgers look clean but mismatch physical records.
From this asymmetry, practical posture naturally emerges.
Accounting software
↓ Export trial balance & journal
Local LLM inspects → Issues list of指摘s
↓
Human corrects in accounting softwareDo not allow write-back. This way, you utilize only the stronger capability and avoid breaking the accounting software.
This configuration has a practical bonus. It works even with accounting software lacking APIs. Many domestic desktop accounting systems lack interfaces to read/write ledgers externally. But almost all include “export trial balance and journal as CSV.” Simply reading that requires no vendor support.
Adoption barriers are low. You can start by placing just one exported file, and failure leaves ledgers untouched. Saying “let AI handle accounting” raises caution, but “just review the output” passes easily.
What remained uncaptured until the end
| Item | Why it failed |
|---|---|
| Double entries | Requires searching for pairs with identical abstracts among 91 entries |
| Incorrect application of 8% reduced tax rate | Tax law knowledge. Move count won’t solve it |
| Unrecorded year-end inventory | Need to notice “the absence of something” |
| Unpaid withholding taxes | Same as above |
Captured items were those “where numbers don’t match when viewing any of trial balance, bank statement, or fixed asset register.” Uncaptured items were those “not written even after reading the ledger.”
Conversely, errors with clues within the ledger are almost always caught by local models too. The former is common in practice.
Where this seems useful
Several straightforward applications emerge from these results.
Pre-closing self-inspection. Debit/credit mismatches, abnormal cash/reserve balances, period shifts, digit errors, bank statement discrepancies. Here, nearly all were caught. Running once before closing reduces backtracking.
Initial diagnosis of inherited ledgers. When client advisors change or staff rotates, first scan the whole picture to identify suspicious areas. At 91 entries in 22 minutes, thousands of entries finish overnight.
Preparation for reconciling with source documents. Bank-ledger mismatches are mechanically detectable, allowing humans to start investigating “why they don’t match.” This time, unrecorded entry detection and reconciliation worked cleanly.
Monthly routine inspection. Runs locally with no API costs, zero additional fees monthly. This economics benefits high-frequency tasks most.
Conversely, do not delegate judgments requiring source document review. This time, regarding “what is the cash source” and “what are unidentified withdrawals,” AI placed tentative answers. Though warnings were left in abstracts, passing them through would cause divergence between ledgers and physical records. Placing humans at decision points is a design element that cannot be dropped for now.
Bonus: Measurement side failed 7 times
To be honest, what consumed the most time in this experiment was bugs in my own measurement environment.
Overly large tool return values causing request drops. CDN rejecting Python client signatures. Mistaking token limit cuts for “task complete” and aborting. Rate limits causing subsequent conditions to fail entirely. Excessively long timeouts leading to 25-minute silences—.
6 out of 7 issues were mine. Especially the third was critical. Had I reported then, I would have drawn the clearly wrong conclusion that “this model fails completely regardless of reasoning settings.”
Agent evaluation infrastructure breaks before the model does. Before judging “the model is bad,” steps to suspect routes, limits, and termination criteria should come first. For anyone doing this next, this is the biggest pitfall.
Summary
- Local 27B achieved 14/18. Zero API costs, data stays internal. Reaches practical levels.
- Reasoning should be “medium.” Deeper reasoning leads to fewer actions.
- Round-trip count is what works. Securing move count beats adding info or options.
- Adding tools does not improve performance. Even description writing style affects scores.
- Let AI detect, let humans correct. With this division, even API-less accounting software becomes usable.
Beyond accounting, there are likely many scenarios where you want to have AI inspect local data without sending it out. My impression from this is that local LLMs are already sufficiently usable for that purpose.