Skip to content
AI News HubLIVE
Original source3 min read

Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?

Summary

Terminus-4B, a fine-tuned Qwen3-4B model trained via SFT and RL with rubric-based LLM-as-judge reward, matches or exceeds frontier models like Claude Sonnet/Opus and GPT-5.3-Codex on agentic terminal execution tasks while reducing main agent token usage by ~30%.

SourcearXiv AIAuthor: Spandan Garg, Vikram Nitin, Yufan Huang
Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[2605.03195] Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?

Skip to main content

Learn about arXiv becoming an independent nonprofit.

We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate

> cs > arXiv:2605.03195

Help | Advanced Search

All fields Title Author Abstract Comments Journal reference ACM classification MSC classification Report number arXiv identifier DOI ORCID arXiv author ID Help pages Full text

Search

GO

quick links

Login

Help Pages

About

-->

Computer Science > Artificial Intelligence

arXiv:2605.03195 (cs)

[Submitted on 4 May 2026]

Title:Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?

Authors:Spandan Garg, Vikram Nitin, Yufan Huang

View a PDF of the paper titled Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?, by Spandan Garg and 2 other authors

View PDF HTML (experimental)

Abstract:Modern coding agents increasingly delegate specialized subtasks to subagents, which are smaller, focused agentic loops that handle narrow responsibilities like search, debugging or terminal execution. This architectural pattern keeps the main agent's context window clean by isolating verbose outputs (e.g. build logs, test results, etc.) within the subagent context. Typically when agents employ subagents for such tasks, they use frontier models as these subagents. In this paper, we investigate whether a finetuned small language model (SLM) can achieve comparable performance to frontier models in the task of agentic terminal execution. We present Terminus-4B, which is a post-trained Qwen3-4B model via Supervised Finetuning (SFT) and Reinforcement Learning (RL) using rubric-based LLM-as-judge reward, specifically for this task. In our extensive evaluation spanning various frontier models, training ablations and main agent configurations, we find that Terminus-4B is able to reduce the token usage of the main agent by up to ~30% compared to the No Subagent baseline with no impact to agent performance on benchmarks like SWE-Bench Pro and our internal SWE-Bench C# benchmark, which tends to be heavy in verbose execution tasks. Furthermore, Terminus-4B improves key metrics showing the main agent relying on the outputs of the subagent and doing fewer terminal execution tasks by itself. We see that our model not only closes the gap between the Vanilla Qwen model and frontier models like Claude Sonnet / Opus / GPT-5.3-Codex, but often even exceeds their performance.

Subjects:

Artificial Intelligence (cs.AI); Software Engineering (cs.SE)

Cite as: arXiv:2605.03195 [cs.AI]

(or arXiv:2605.03195v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2605.03195

Focus to learn more

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Spandan Garg [view email] [v1] Mon, 4 May 2026 22:24:24 UTC (2,125 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Terminus-4B: Can a Smaller Model Replace Frontier LLMs at Agentic Execution Tasks?, by Spandan Garg and 2 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.AI

new | recent | 2026-05

Change to browse by:

cs cs.SE

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

export BibTeX citation Loading...

BibTeX formatted citation

×

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

About

Help

contact arXivClick here to contact arXiv Contact

subscribe to arXiv mailingsClick here to subscribe Subscribe

Copyright

Privacy Policy

Web Accessibility Assistance

arXiv Operational Status

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Terminus-4B achieves comparable or superior performance to frontier models with 30% less token consumption.
  • Trained using supervised fine-tuning and reinforcement learning with a rubric-based LLM judge.
  • Outperforms vanilla Qwen and rivals Claude Sonnet/Opus/GPT-5.3-Codex on SWE-Bench Pro and internal C# benchmarks.

Highlights and analysis are generated automatically and may contain errors. Check the original source.