Most attempts to improve an AI system focus on one of two places: training, which changes what a model has learned and encoded in its weights, or agent design, which changes what the model sees and what tools or scaffolds surround it. Neither fully determines how computation should be used while an agent is working through a problem.

The demands of an agent trajectory vary from one turn to the next: a difficult inference or a choice among several plausible paths may be followed by a routine tool call. Standard deployments often give both turns the same model endpoint and fixed reasoning policy, without asking whether additional computation is likely to help, which available model or strategy is most useful, or whether several outputs contain information that can be usefully combined.

At Voaige, we study this as a problem of cognition at test time, and our test-time cognition algorithm is the first implementation of that idea. At each agent turn, it uses the current trajectory to estimate whether additional computation is likely to help; when it intervenes, it applies selective search and can coordinate work across a small model pool before returning one output to the agent. The model weights, prompts and surrounding agent harness remain unchanged.

On Terminal-Bench 2.0, our current three-model test-time cognition system achieved 64.8% accuracy at a median cost of approximately $0.26 per task. GPT-5.2 medium achieved 57.7% at approximately $0.45 per task. Test-time cognition therefore delivered 7.1 percentage points higher accuracy at 42% lower median dollar cost per task.

Why Voaige Cognition is different

PropertyRL approachesVoaige test-time cognition
Requires trainingYes (fine-tuning, RL, or continued pretraining)No (operates on frozen weights)
Domain-specific dataOften (curated datasets per task or domain)No (domain agnostic by design)
Tuning overheadHigh (full retraining cycles)Low (a few parameters per agent-model combination)
Applies to closed-source modelsRarely (requires model access)Yes (works at the inference layer)

The three layers of an agentic system

Agent layer prompts · RAG · tool use · planning
Test-time cognition turn-level compute control · selective search · model composition
Model layer weights · architecture · training

Most improvements target either the agent layer or the model layer. Test-time cognition is a third, largely unexplored layer between them, concerned with how available computation is controlled while the agent is working.

From query-level routing to turn-level allocation

Repeated sampling, model routing and cascades all allocate test-time computation, whether by choosing a model for a query, escalating a completed response or determining how many candidate responses to generate.

Agentic systems create a finer-grained version of the problem because new information arrives throughout a trajectory and the value of another computation changes from one turn to the next. Treating the whole trajectory as a single allocation decision misses that variation.

Test-time cognition moves the decision to the level of the agent turn, where a step means one agent turn rather than an individual generated token or an internal operation of the algorithm. It reads the developing trajectory, decides when additional deliberation is worthwhile and selectively applies search within the turn; when several models are available, it can coordinate their contributions rather than assigning the entire query to one model in advance.

Rather than asking simply which model is strongest, test-time cognition asks what kind of computation is worth performing at the present point in the trajectory. A capable system should spend more where additional work changes the result and less where the next action is already clear.

Figure 1. Routing assigns each turn to one model. Test-time cognition decides per turn how much to compute and, when several models are available, how many to combine.

Test-time cognition also works with a single model. Combining several, as shown here, is an option rather than a requirement.

Evaluation on Terminal-Bench 2.0

Terminal-Bench 2.0 contains agentic coding tasks that require models to reason, use tools and act in a live terminal environment. The results below use MiniSWE-agent 2.2.4 and an approximately 24-hour limit per task. Each reported configuration averages at least three runs and uses the benchmark's success metric.

Test-time cognition reaches higher accuracy at lower cost

We evaluated GPT-5.2 at three reasoning-effort settings and compared those configurations with a test-time cognition composite using MiniMax M2.5, DeepSeek v3.2 and GPT-5.2. Across the tested operating points, the composite achieved a better accuracy-cost tradeoff than the tested GPT-5.2 configurations.

At the highlighted operating point, test-time cognition reached 64.8% accuracy at approximately $0.26 per task. GPT-5.2 medium reached 57.7% at approximately $0.45. The composite reached an accuracy that none of its constituent models, and no single-model configuration of test-time cognition, reached on its own.

Figure 2. Terminal-Bench 2.0 accuracy and median dollar cost per task for three GPT-5.2 reasoning-effort settings and the highlighted test-time cognition composite.

The test-time cognition composite reaches a result that none of its constituent models reaches alone.

The system-level result did not come from simply selecting the strongest available model. By reallocating computation across the model pool, test-time cognition recovered headroom that fixed allocation left unused without changing the models or agent.

Test-time cognition changes where the agent succeeds

We aggregated more than 10,000 trajectories from multiple MiniSWE-agent experiments on the same 89 Terminal-Bench 2.0 problems. The baseline series pools outcomes from more than ten pure-model configurations, while the test-time cognition series pools the tested composite configurations.

Across the two series, mean success increased from 55.1% to 64.4%, a difference of 9.2 percentage points using the unrounded values. Mean agent steps per task fell from 44.3 to 25.4, a difference of 42.8%.

Figure 3. Success rate and agent steps per task across the 89 Terminal-Bench 2.0 problems, with the same problem order in both panels. Each series pools the configurations described in the text.

The gain is concentrated rather than uniform: some problems improve substantially, some remain unchanged and some worsen.

Because the series pool different configurations, this figure shows the overall pattern across the evaluation program rather than a matched estimate of the effect of test-time cognition.

More computation within a turn can shorten the full trajectory

In a separate analysis, we compared internal settings of our test-time cognition algorithm that allowed different amounts of computation on a random 25-problem subset of Terminal-Bench 2.0. The agent, component models and reasoning effort were held fixed.

MeasureLower-computation settingHigher-computation setting
Accuracy50.67%54.67%
Median agent steps per task24.712.7

Spending more computation at the right turn can reduce the amount of work the agent performs afterward.

Fewer agent steps do not necessarily mean less total computation, because test-time cognition can do additional work inside each turn. The higher settings cost slightly more per task than the GPT-5 baseline; the lower-cost result above comes from a separate configuration.

Why neuroscience is useful here

Although the evaluation establishes the value of turn-level allocation, choosing the signals that should govern it remains an open problem. Neuroscience offers a useful source of hypotheses because biological decision systems have been studied while allocating limited time and computation under uncertainty. Across that literature, several control problems are kept separate: what counts as a functional specialist, when further deliberation is worth its cost, when information should be combined rather than selected, how confidence should influence control and when recent outcomes justify changing strategy. We focus on these four bodies of work because each maps onto a decision that test-time cognition must make: how to define a specialist, when to stop computing, when outputs can be usefully combined and when reliability estimates should change. We use these distinctions to formulate candidate variables and competing hypotheses that can be tested in model systems.

Define specialists by what they do

A model name is a convenient unit, but it may not be the functionally relevant one. A useful specialist could be narrower than a model or could depend on several components acting together. Neuroscience has often defined functional units by repeatable response profiles rather than by anatomical labels alone. Classic work in visual cortex identified populations with shared response properties, while later language research showed that a named region such as Broca's area contains separable functional components (Hubel and Wiesel, 1962; Fedorenko and Blank, 2020; Fedorenko et al., 2024).

For model systems, the useful unit of comparison is the smallest functionally coherent system with a distinct response profile and a causal role in behavior.

Stop when further work is no longer worth its cost

The expected benefit of additional computation can fall even as its cost continues to rise. Research on perceptual decisions models this tradeoff by allowing evidence to accumulate toward a stopping criterion (Drugowitsch et al., 2012). Related work on planning and metacognitive control treats deliberation as worthwhile only while another operation is expected to improve the outcome enough to justify its cost (Callaway et al., 2022; Bénon et al., 2024).

For test-time cognition, this implies estimating the marginal value of further work rather than assigning every turn a fixed reasoning budget.

Combine outputs only when their information is compatible

Several outputs may be noisy estimates of the same quantity, competing actions or evidence produced under incompatible assumptions. Combining them is useful only in some of those cases.

Multisensory research makes the distinction concrete: visual and haptic estimates can be combined according to their relative reliability when they concern the same underlying property (Ernst and Banks, 2002). Competing actions, by contrast, must be selected rather than averaged, while signals arising from different causes may need to remain separate (Redgrave et al., 1999; Körding et al., 2007).

For model composition, more answers are not automatically more information. A controller must determine whether outputs address the same subproblem and whether their errors permit a useful combination.

Keep confidence, stopping and reliability distinct

Confidence in the current answer can inform whether to continue, but it does not determine whether more computation will help; a stopping decision must also consider the expected benefit and cost of additional work. Reliability is similarly context dependent, since a failure may reflect ordinary outcome noise or indicate that the task has changed and a previously useful strategy is no longer reliable. Work on volatility and latent-state inference suggests controllers that adapt quickly after a genuine change without chasing isolated failures (Behrens et al., 2007; Piray and Daw, 2021).

Keeping confidence, stopping value and context-dependent reliability separate turns “allocate compute intelligently” into a set of measurable engineering questions.

What comes next

Our results with test-time cognition show that computation within an agent trajectory does not need to be allocated uniformly. Improving the controller now requires better estimates of whether another computation is likely to improve the result, which specialists are reliable in a particular context and which parts of a problem warrant separate work before their outputs are combined.

Our current test-time cognition algorithm works from a model pool fixed before the run and does not maintain an outcome-updated reliability estimate for each specialist. Neuroscience helps us formulate how those capabilities might be defined and which experiments can distinguish among the alternatives.

Training determines much of what a model can do. Agent design determines what information and structure surround it. Test-time cognition determines how available computation is controlled while the system is working. Our first implementation shows that this third variable can materially change the result.

Test-time cognition is a degree of freedom in its own right.

The goal is not to reproduce a brain, but to use neuroscience to pose better control problems and then determine through engineering which solutions improve modern AI systems.