DEV Community

Cover image for University Research Model Selection: 8 LLMs Compared on Five Tasks You Actually Run
boluo
boluo

Posted on

University Research Model Selection: 8 LLMs Compared on Five Tasks You Actually Run

Each model ran the same five research tasks under identical parameters. Forty calls, 34 successes, 6 failures — and two of my assumptions did not survive.

AI assistance disclosure: I used an AI writing tool to organise and edit this article. The test design, the 40 API calls, and every number below come from my own runs.

I want to start with what I got wrong, because it is the reason this article exists in its current shape.

When I started comparing models for university research work, I assumed the ranking would follow benchmark scores. It did not. Of the eight models I tested, seven got the statistics task right, which means the task told me almost nothing about which to choose. The two models that looked best on paper were not the two I ended up recommending for the work I actually had.

Here is the comparison in full — the tasks, the numbers, the failures — plus the two assumptions that broke. If you only want the decision procedure, jump to the four-step method.

A researcher cross-checking paper methods, statistical derivations, and analysis code while choosing a model

What I tested, and how I kept the comparison honest

Five tasks, eight models, one compatible endpoint. Only the model ID changed between runs — temperature, max tokens, and every other generation parameter stayed fixed. Forty calls total: 34 succeeded, 6 failed. Costs are converted from published list prices.

The eight models were claude-sonnet-5, gpt-6.1-sol, gemini-3.1-pro, gemini-3-flash, deepseek-v4-pro, deepseek-v4-flash, kimi-k3.1-pro, and qwen3.8-max.

The five tasks, each with a pass criterion decided before I ran anything:

Abstract field extraction. Pull five fields from a single abstract — research question, method, dataset, main finding, author-stated limitation. Anything not stated must come back as "not mentioned." The abstract deliberately says "three public datasets and two in-house medical datasets" without naming any of them.

Derivation error localisation. A statistical derivation with an error planted at step 3: after replacing the unknown σ with the sample standard deviation s, it still claims a standard normal distribution. Step 4 gives a 1.96 confidence interval; step 5 claims the interval is exact at n<30.

Analysis code generation. Longitudinal data with repeated measures. Produce descriptive statistics, choose the right test, plot with error bars, list the assumptions.

English abstract polishing. Rewrite a Chinglish abstract to publishable academic English, preserving hedges, adding no data, staying under 110 words.

Citation verification. Five representative papers on protein language models for enzyme activity prediction, with title, first author, journal, year, and DOI. Flag anything uncertain.

One caveat that constrains everything: each model ran each task exactly once. Single-run latency is sensitive to network conditions. If you are picking a long-term standard, run several and take a median. The numbers below are this one set of 40 calls.

Assumption one: benchmarks would tell me which model to use

This is the assumption that broke first, and it broke on the statistics task.

Seven of eight models located the error at step 3 and named the correct distribution. That is a 7/8 pass rate, which is useless as a discriminator. I had designed the task expecting separation and got almost none.

gpt-6.1-sol did it in 17.3 seconds and 1,105 tokens:

Step 3: Incorrect. Replacing the fixed parameter σ with a random s changes the distribution of the test statistic. The correct result is T = (X̄−μ)/(s/√n) ~ t_{n−1}.

Step 5: Incorrect, and the interval needs disambiguating. If it refers to the 1.96s/√n interval from step 4, it generally cannot deliver exact 95% coverage at small samples. At n=10, use t_{0.975,9}≈2.262.

deepseek-v4-pro also got it right, at 5,115 tokens and 70 seconds — more than four times the output for the same answer.

Only gemini-3-flash missed the distribution entirely. It said "small samples are imprecise" without noting that the substitution changes the distribution itself, which is the actual error.

But the more interesting observation is what none of them did. All eight supplied the two standard caveats — independence, normality — and not one asked whether the sample in the problem was plausibly independent. A standard derivation problem tests whether a model knows the standard answer. It does not test whether the model will interrogate the problem statement.

If your workflow depends on a model catching a badly-posed question rather than a badly-executed answer, this task class tells you nothing. I had to find that out by running it.

Assumption two: the cheaper list price means the cheaper task

This one broke on the cost table, and it is the finding I would most want a beginner to take away.

gemini-3-flash stayed under seven seconds on all five tasks and averaged $0.00199 per call — one fourteenth of gemini-3.1-pro at $0.02782. For bulk triage that is not a marginal difference. It is the difference between screening a thousand abstracts and screening fifty.

Then the ranking flips.

Model Literature Derivation Code Polishing Citation Avg cost/call
gemini-3-flash 1.7s 4.7s 6.4s 2.5s 7.0s $0.00199
deepseek-v4-flash 2.5s 28.6s 35.7s 6.7s 35.8s $0.00477
gpt-6.1-sol 4.3s 17.3s 47.9s 4.6s 29.9s $0.01236
qwen3.8-max 7.9s 120.8s failed 14.9s failed $0.01304
deepseek-v4-pro 6.7s 70.0s 433.8s 7.5s 82.3s $0.01880
kimi-k3.1-pro 11.8s 62.0s failed failed failed $0.02347
claude-sonnet-5 18.6s 35.2s failed 17.5s 91.5s $0.02407
gemini-3.1-pro 128.2s 28.3s 125.9s 11.6s 77.5s $0.02782

gpt-6.1-sol averages $0.01236 per call, cheaper than deepseek-v4-pro at $0.01880 — even though deepseek-v4-pro has a lower list price per token. The reason is volume: it produced 11,031 tokens on the code task where gpt-6.1-sol produced 3,088.

Your bill tracks output tokens far more than it tracks the price column. Converting list price into a per-task cost requires measuring how much the model talks, and that varied by a factor of three across this set.

Two different kinds of slowness also showed up, and they need different fixes. gemini-3.1-pro spent 128.2 seconds on literature extraction and emitted only 802 tokens — the time went somewhere other than generation. deepseek-v4-pro spent 433.8 seconds because it generated 11,031 tokens, and that kind of slowness responds to a maximum output length setting.

Where the models actually differed

Three tasks produced clean separation.

Code generation. Five of eight completed; three failed. kimi-k3.1-pro returned HTTP 400, claude-sonnet-5 hit an upstream 429, qwen3.8-max timed out. All five that finished chose a linear mixed-effects model with subject ID as a random intercept — correct, since repeated-measures data cannot be treated as independent samples for a t-test.

Model Time Output tokens Result
deepseek-v4-flash 35.7s 7,573 Complete structure
gpt-6.1-sol 47.9s 3,088 Complete structure
gemini-3.1-pro 125.9s 3,422 Complete structure
deepseek-v4-pro 433.8s 11,031 Complete structure

What I did not verify: that the code runs on real data. I checked that it executes, that the plot has error bars, and that the comments state the assumptions. I did not run it against actual measurements or compare outputs to a known-good result. What is being evaluated is the skeleton. A skeleton saves an afternoon, but it is not a statistical conclusion.

Two of the three failures were request-layer problems, which means they had nothing to do with model quality and everything to do with batch reliability. One 400 in a fifty-document run stops the whole script unless you have written the retry and fallback logic first.

English polishing. claude-sonnet-5 (789 tokens, 17.5s) turned both problems into defensible academic prose:

Original: more and more researchers begin to pay attention to...
Revised: has garnered increasing attention

Original: the model is too big and the speed is slow
Revised: notable limitations remain in model size and inference speed

The second is the only response in the set that converted a colloquial complaint into a hedged academic claim. gpt-6.1-sol used 104 tokens and stayed close to word-for-word substitution — an advantage when you only want light editing, because the meaning has less room to drift.

The test is easy to apply yourself. Put the revision beside the original. If terminology and connective structure are untouched and only synonyms moved, you are getting light editing. If sentence structure has been rebuilt and causal relationships reorganised, you are getting a rewrite. Different jobs, different models.

Citation verification. This produced the widest spread and the most useful warning.

Model Listed DOI resolves Fabricated Info error Flagged uncertainty
claude-sonnet-5 5 5 0 0 3
gpt-6.1-sol 5 4 0 0 1
gemini-3.1-pro 5 3 0 0 2
deepseek-v4-pro 5 4 0 0 1
deepseek-v4-flash 5 3 1 1 2
gemini-3-flash 3 1 1 1 0

claude-sonnet-5 returned five resolvable DOIs, zero fabrications, zero information errors, and a confidence level on every entry. Three entries were flagged uncertain and all three turned out to be real — the outcome you want, because it narrows your manual check to the entries the model already told you to check.

deepseek-v4-flash produced both a fabrication and a misattribution. The UniKP paper's DOI 10.1038/s41467-023-43216-1 returns 404. A second entry, labelled "Deep learning-based prediction of enzyme turnover numbers" with DOI 10.1038/s41929-022-00788-1, resolves to a 2022 Xie et al. paper on CO₂ electroreduction — unrelated to enzyme kinetics. gemini-3-flash was blunter: one 404, plus the ESM-2 structure prediction paper listed as a representative work on enzyme activity prediction. Title and authors correct, purpose wrong.

Fabrication is detectable. Detail errors are not. A 404 announces itself. A misspelled author name or a half-remembered title with a working DOI does not, and it is exactly the kind of error that survives a quick review. So the acceptance criterion is not "find a model that never errs." It is "find a model that tells you which entries to check." Verify the way you would verify a CLEAN paper's doi.org record — author, title, journal, all three, not just whether the link opens.

The spec sheet, and what it cannot tell you

Architecture matters, but it explains less than the marketing suggests. Parameters and architecture come from vendor model cards; closed models do not publish either.

Model Architecture Total / active params Context Output cap
deepseek-v4-pro MoE, CSA + HCA hybrid attention 1.6T / 49B 1M endpoint
deepseek-v4-flash MoE, same 284B / 13B 1M endpoint
kimi-k3.1-pro MoE, KDA + AttnRes, 896 experts, 16 active 2.8T / 104B 1M endpoint
qwen3.8-max Sparse MoE + hybrid attention 2.4T / 95B 1M endpoint
claude-sonnet-5 undisclosed (closed) undisclosed 1M 128K
gemini-3.1-pro native multimodal (Gemini 3 Pro) undisclosed 1.049M 65K
gpt-6.1-sol undisclosed (closed), reasoning tokens undisclosed 1.05M 128K
gemini-3-flash native multimodal undisclosed 1M endpoint

Three specification traps worth naming:

  • Context window is not long-document capability. DeepSeek V4's card states that at 1M tokens of context, per-token inference FLOPs are 27% of V3.2's and KV cache is 10%. Kimi K3 markets 2.5x scaling efficiency over K2. Those numbers mean loading an 800-page monograph into one context has moved from unthinkable to worth trying. They mean nothing about whether it works. The longest input in this entire test was one page of abstract.
  • Output ceilings bind first. gemini-3.1-pro caps output at 65,000 tokens against 128,000 for claude-sonnet-5 and gpt-6.1-sol. For a long literature review you hit the ceiling before the window.
  • Closed models cannot be ranked by parameter count. "Which is smarter" is not inferable from specification. It has to be measured, which is the entire reason this test exists.

Safety alignment behaves similarly — the published detail varies far more than the capability does. claude-sonnet-5's system card is the most thorough, positioning the model as "very low alignment risk, slightly higher than the previous Sonnet" and noting limited uplift for threat actors who lacked the relevant capability already. It also documents a behavioural tendency: asking about intended use early in a conversation, before doing the work. The card concedes this raises the over-refusal rate — better at blocking malicious requests in code security testing, more likely to misfire on legitimate research requests.

gpt-6.1-sol exposes reasoning depth as a parameter across five tiers (low, medium as default, high, xhigh, max). The default is conservative; for a legitimate request that needs deeper analysis, raising the tier makes the model more willing to engage with the conditions instead of declining outright. Gemini 3.1 Pro's new MEDIUM tier follows the same logic.

The Chinese vendors publish less. DeepSeek V4's card mentions three reasoning modes but does not disclose fine-grained refusal-rate testing the way Anthropic does. That is not a capability gap — it is an information gap, and for a lab that has to tell an ethics committee which model was used and how it handles sensitive requests, it is a practical obstacle. A model with a public system card lets you write the methods section. A model without one leaves you writing "we used model X" with nothing to cite.

My own practice is to split the workflow: pathogen, toxin, and population-genetics work goes to models with public system cards, and the experiment log records the model version and the reasoning tier in use.

Sending data: direct access and gateway access are different problems

Before any of the above matters, the data has to be allowed to leave.

The published commitments for direct API access are reasonably clear and not identical. Anthropic does not train on commercial-tier data by default, deletes within 30 days, zero-retention on application. Kimi does not train on API data and does not persist it for training purposes, with enterprise ZDR. Alibaba Cloud Qwen commits under clause 6.2.5 not to train on conversation data, retention limited to service necessity, in-country storage. DeepSeek trains by default on the web interface with an opt-out, and API terms differ from web terms. OpenAI and Google do not train on paid API data, retention per contract, regional configuration available.

Now the part that changes the calculation. If you route through a gateway — and most research groups do, because it is one key and one billing relationship instead of eight — the vendor commitment is not the whole chain. I went through the gateway's public technical documentation looking for a privacy policy, a log retention period, or a statement about whether request bodies are recorded. What the documentation confirms is three mechanics: requests are forwarded to upstream provider channels, uploaded files are staged to temporary object storage paths, and the platform exposes a log query interface.

Whether request bodies are persisted, for how long, and whether they are used for anything else is not addressed.

That does not make the gateway a bad choice. It makes one link in the chain unverifiable from public information, which means the burden falls on you to confirm it with the provider in writing before the first sensitive upload. For unpublished data, that conversation is not optional.

The triage I use:

  1. Published content and public abstracts — any model, no confidentiality friction.
  2. Unpublished but non-core drafts — a direct commercial API with explicit privacy terms, or desensitise first.
  3. Unpublished core data — original measurements, sequences, synthesis routes — local deployment, or a signed zero-retention confirmation.

Local deployment is genuinely available. DeepSeek V4 ships under an MIT licence, so deepseek-v4-pro (1.6T total, 49B active) and deepseek-v4-flash (284B total, 13B active) can both be pulled into your own racks. The barrier is hardware: nobody's departmental cluster runs a 1.6T model at full precision, and the 284B flash variant is the realistic option.

One distinction that gets lost constantly: "not used for training" is not the same as "not retained." These are separate mechanisms. A provider can honour a strict no-training commitment and still keep your request body for 30 days for safety audit purposes. For unpublished core data, thirty days on someone else's server is still a thirty-day exposure window. Ask three questions before you sign: is it stored, for how long, and where.

Redacting identifying information and minimising data before sending research material

Desensitising before you send: four steps that actually remove risk

Policy lowers risk. It does not eliminate it. The step that eliminates it happens before you press send.

Three categories of data carry most of the exposure. Direct identifiers — names, ID numbers, medical record numbers, phone numbers — cannot be un-leaked. Unpublished core data — raw values, sequences, formulations, patent disclosures — loses novelty the moment it leaves. And the one people miss: quasi-identifier combinations.

A 45-year-old woman at a provincial university with a specific rare disease is not identifiable from any one field. Combined, those four fields may point at exactly one person. Deleting the name does not help. You need generalisation.

Step Action Why it matters
1 Send only what is needed Polishing an abstract does not require the raw data table
2 Replace identifiers The same subject must map to the same code throughout
3 Bin or perturb values Record what changed; state it in the methods section
4 Scan before sending Catch fixed-format identifiers automatically

Step one costs nothing and removes most of the risk. If the model is polishing an abstract, it does not need the raw data table. If it is reviewing statistical methods, it does not need the subject roster. Step two requires consistency: the same subject must map to the same code (something like SUBJ_01) across the whole document, or the model's grouped analysis will be wrong for reasons you cannot see. Step three handles continuous variables by binning — exact age to age band, precise concentration to order of magnitude — and whatever you change goes in the lab notebook so the methods section is honest.

Step four is a scan before sending, because human review misses things in long text. Catching the common fixed formats is enough: load re in a local script and match national ID [1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx], mobile 1[3-9]\d{9}, email [\w.+-]+@[\w-]+\.[\w.]+, unified social credit code [0-9A-HJ-NPQRTUWXY]{18}, bank card \d{16,19}, then print the first six characters of each hit with *** appended. It is not exhaustive. It catches the specific mistake of pasting an entire record that still contains a phone number.

Three mistakes I have made repeatedly. Treating desensitisation as a one-time action, so that a clean first message gets followed by the original spreadsheet when you add context in round three. Writing "this is desensitised data" in the prompt, which invites the model to adjust its output around that claim. And checking only the input while the model echoes a residual identifier back into its answer. Every send gets the scan; every returned result gets checked again before it goes into a paper.

A beginner tutorial for picking your own model

Here is the procedure I would hand to someone starting from nothing.

Step 1: clear the data gate first. If you are working with unpublished or restricted material, confirm the retention terms of the channel you are actually calling. If that does not clear, switch to a local model or desensitise — do not start comparing quality, because quality is irrelevant for data you cannot send.

Step 2: build a ten-minute test set from your own work. One abstract from your field. One derivation where you already know the answer. One short script you have written before. The point is not to be rigorous; the point is to be specific to you. Generic benchmarks are how you end up with the situation I started this article with.

Step 3: check the outputs line by line, not the summary. Did any field go missing? Did it localise the error at the right step? Do the author names and years match the actual papers? Does the code run against your data? A model that writes a confident summary of a wrong answer will pass a skim.

Step 4: only now look at latency and cost. Keep one primary and one backup, where the backup exists to absorb the occasional upstream 429 or timeout. Preparing your own test material and defining pass criteria costs nothing; running the comparison is a few cents per model at these token volumes.

Prices here are converted from vendor list pricing. For an up-to-date comparison across more models than eight, search the model name on the pricing page rather than trusting a snapshot.

Reproducing this on your own data

Every one of the forty calls went through a single OpenAI-compatible endpoint. Key creation, quota limits, permitted model scope, and IP allowlisting are documented in Crazyrouter's authentication and key documentation; below is only the part you actually run.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_CRAZYROUTER_KEY",
    base_url="https://api.crazyrouter.com/v1"
)

response = client.chat.completions.create(
    model="gpt-6.1-sol",
    messages=[
        {"role": "system", "content": "You are extracting structured fields. Return 'not mentioned' for anything the abstract omits."},
        {"role": "user", "content": ABSTRACT_TEXT}
    ],
    temperature=0
)
Enter fullscreen mode Exit fullscreen mode

Swap model for claude-sonnet-5, deepseek-v4-pro, or gemini-3.1-pro and nothing else changes. Model IDs are not identical across vendors, so check the model directory for the exact gateway-side string before you hardcode one.

What this comparison does and does not answer

It answers: whether eight models can pull five fields from an abstract (yes, all of them, which makes it a poor discriminator), whether seven of eight can localise a derivation error at step 3 (yes), whether five can produce working analysis code (yes, with three request-layer failures), how polishing splits by rewrite depth, and how citation quality varies from five-of-five-resolvable to two fabricated entries.

It does not answer: long-context work across dozens of papers, scanned pages and figure recognition, whether the statistical conclusions are correct on real data, or whether any of this holds in a different discipline. None of those were tested, and the specification table is not a substitute.

The criterion I built these five tasks around was not "can the model produce the right answer" but "can I verify the answer." A capability you cannot check does not exist as far as your workflow is concerned. When you pick a model, the first question is not where it ranks. It is which parts of your work you can check mechanically — and then you build the test around those.

I got two assumptions wrong before I started. The second one cost me a week of looking at the wrong column.

Top comments (0)