Three frontier models landed within six weeks of each other in the second half of 2026, and they occupy genuinely different positions: one is built to be cheap and fast, one to be the best value per dollar, and one to be right when being wrong is expensive. This is a comparison of Gemini 3.8 Flash, GLM-5.3 and Claude Opus 5 on the things that actually change your bill and your output quality.
Disclosure: some links below are affiliate links. If you sign up through one, we may earn a commission at no extra cost to you. It does not change which model we recommend — the pricing and benchmark figures here are cited from public sources you can check yourself.
The short answer
If you are routing a high volume of straightforward work — classification, extraction, summarisation, first-draft generation — Gemini 3.8 Flash is the cheapest way to do it and by far the fastest, but note the price change coming on 1 January 2027.
If you want frontier-adjacent quality at a fraction of frontier pricing, and especially if you care about running weights yourself, GLM-5.3 is the value pick. It also has the largest context window of the three.
If the task is one where a wrong answer costs more than the tokens — agentic work that touches production, long refactors, research synthesis, anything where you will not be checking every line — Opus 5 is worth its premium.
Specs and pricing side by side
These are the figures that are stable and verifiable. Benchmark index numbers move as leaderboards re-run; prices and context windows do not.
| Gemini 3.8 Flash | GLM-5.3 | Claude Opus 5 | |
|---|---|---|---|
| Maker | Z.ai | Anthropic | |
| Released | 2 September 2026 | Mid-August 2026 | 24 July 2026 |
| Input / 1M tokens | $0.75 | ~$1.15–$1.40 | $5.00 |
| Output / 1M tokens | $3.75 | ~$3.50–$4.40 | $25.00 |
| Context window | 1,048,576 | 1,310,720 | 1,000,000 |
| Max output | 65,536 | up to 262,144 | 128,000 |
| Output speed | ~305–311 tok/s | up to ~99 tok/s | ~47–65 tok/s (up to 90) |
| Open weights | No | Yes | No |
Two things jump out of that table before any benchmark does.
First, Opus 5 costs about 6.7x what Gemini 3.8 Flash does on input and about 6.7x on output. That is a real gap, and it means the interesting question is never "which is better" but "is it six times better for this particular job".
Second, GLM-5.3 has the biggest context window of the three at roughly 1.31M tokens, and it is the only one whose weights you can download. For teams with data-residency constraints or a genuine need to run on their own hardware, that single row can settle the decision on its own.
The per-token price is not the price
The most common mistake in comparisons like this is to read the price column and stop. Token price is a rate, not a cost. What you actually pay is:
rate x tokens consumed x number of attempts before you get a usable answer
A model at a sixth of the price that needs three attempts, produces longer chain-of-thought, or sends you back to fix its work is not cheaper. It is more expensive and it also cost you an afternoon.
This matters most in agentic loops. An agent that takes eleven tool calls to do what another does in four has multiplied its own token bill, and the cheap model can quietly become the expensive one. Before you standardise on price alone, run your ten most representative tasks through each model and measure cost per completed task, not cost per million tokens. It is a half-day of work that routinely changes the answer.
Prompt caching shifts this too. Opus 5 reads cached input at $0.50 per million against its $5.00 standard rate — a 90% discount. If your workload is a large stable system prompt or a fixed codebase context with small varying queries on top, the effective gap between Opus 5 and the cheaper models narrows considerably.
What the benchmarks say
Each vendor publishes its own numbers, and they are not measured identically. Here is what each claims, attributed, so you can weigh them appropriately rather than reading a single blended score.
Google on Gemini 3.8 Flash
Google positions 3.8 Flash as its "most intelligent workhorse model" and publishes gains over 3.7 Flash on agentic and software engineering work: DeepSWE v1.1 at 73.7% (from 65.3%), Terminal-bench 2.1 at 89.4% (from 85.8%), and OSWorld-2.0 at 59.0% (from 50.6%). Those are meaningful jumps for a model in this price bracket, particularly the OSWorld computer-use figure.
Z.ai on GLM-5.3
GLM-5.3 uses the same base model as GLM-5.2 with additional post-training rather than a new pre-train. Z.ai reports 91.7% on GPQA Diamond and a notable 84.5% on cybersecurity evaluation, along with a claimed 50% jump on its own coding benchmark. Independent aggregate scoring puts it very close to — and on some measures level with — models costing several times more.
Anthropic on Opus 5
Opus 5 reports 93.2% on GPQA Diamond and leads the three on aggregate coding measures. The more interesting numbers are the agentic ones: OSWorld 2.0 at 70.57% against Gemini 3.8 Flash's 59.0%, and ARC-AGI-3 at 30.16% — where Anthropic states Opus 5 scores roughly three times the next-best model. On Frontier-Bench v0.1 it more than doubles Opus 4.8.
Read those agentic gaps carefully, because they are where the price difference earns itself. An eleven-point spread on OSWorld is not cosmetic when the model is driving a computer unsupervised.
Gemini 3.8 Flash: the fast, cheap workhorse
At roughly 305–311 tokens per second, Gemini 3.8 Flash is not slightly faster than the other two — it is three to six times faster on output. For anything a user is watching stream, that is the difference between a product that feels instant and one that feels like it is thinking.
The caveat is latency to first token, measured around 10.3 seconds and described as higher than average. That is an odd profile: slow to start, extremely fast once going. For long generations it nets out strongly in your favour. For short, snappy, single-sentence replies it can actually feel worse than a slower-throughput model, because the user is waiting on the start, not the stream.
Match it to the shape of your workload. Long outputs: excellent. Chat-style short turns: benchmark it before committing.
GLM-5.3: the value pick, and the only one you can self-host
GLM-5.3 is the model that makes the other two justify themselves. It lands in the same broad quality band as far more expensive models, has the largest context of the three, and Z.ai released open weights on Hugging Face in late August 2026.
That last point deserves more weight than it usually gets in comparisons. Open weights mean you can run it in your own environment, which resolves data-residency and vendor-continuity questions that no amount of benchmark performance addresses. If your legal team has ever blocked an AI rollout, this is the row that unblocks it.
There are two cheaper doors in as well. GLM-5.3-Flash is priced at roughly $0.075 in / $0.25 out per million — an order of magnitude below the main model and worth testing for high-volume, low-difficulty routing. And rather than metered API billing, Z.ai sells a Coding Plan starting around $18/month, with higher tiers reported around $80 and $168. For an individual developer running an agent all day, a flat monthly plan is often dramatically cheaper than per-token billing, and it makes your costs predictable.
If you want to try it against your own work, you can start with Z.ai's GLM plans here and run your ten representative tasks through it before committing to anything.
Opus 5: for when being right matters more than the bill
Opus 5 is the most expensive model here by a wide margin, and the honest case for it is narrow but real: it is the one you use when a mistake costs more than the tokens.
Concretely, that means long autonomous runs where nobody is reviewing each step, refactors that touch many files at once, research synthesis where a confident fabrication poisons everything downstream, and computer-use agents operating on real systems. Its million-token context with 128,000 tokens of output means it can hold a substantial codebase and still write a lot in one pass.
Its throughput — roughly 47–65 tokens per second, up to about 90 on Anthropic's faster serving — is the slowest of the three. For batch and background work that is irrelevant. For anything interactive, it is a real cost.
Which one should you pick?
Pick Gemini 3.8 Flash if
You are running high volume, the tasks are well-specified, output length is substantial, and streaming speed is visible to your users. It is the cheapest per token of the three and the fastest by a distance.
Pick GLM-5.3 if
You want most of the quality for a fraction of the price, you need the largest context window, you would rather pay a predictable monthly fee than a metered bill, or you need the option to run weights in your own infrastructure. For most teams reading this, it is the best default.
Pick Opus 5 if
The work is agentic, long-horizon, or unsupervised, and an error is expensive to catch late. Use prompt caching aggressively to blunt the cost, and do not use it for work the other two handle fine.
The January 2027 price change to plan for now
Gemini 3.8 Flash's $0.75 / $3.75 pricing is promotional and runs through 31 December 2026. On 1 January 2027 both figures double, to $1.50 input and $7.50 output.
That is not a rounding error, and it changes the ranking. At the post-January rate, Gemini 3.8 Flash costs more per input token than GLM-5.3's low end and more per output token than GLM-5.3 across the board. If you are building a cost model on today's Flash pricing for a system that ships in Q1, build it on the 2027 numbers instead — and if you are choosing between Flash and GLM-5.3 purely on price, note that the gap closes and then inverts in a few months' time.
How we would actually combine them
Nobody serious runs one model for everything. The pattern that works is routing by difficulty:
- Bulk and boilerplate — classification, extraction, tagging, first drafts — to GLM-5.3-Flash or Gemini 3.8 Flash.
- The main body of work — most coding, most writing, most reasoning — to GLM-5.3, on a flat plan if your volume justifies it.
- The hard tail — the long agentic runs, the gnarly refactors, the things you will not be reviewing closely — to Opus 5, with caching on.
That mix typically costs a fraction of running the frontier model everywhere while keeping frontier quality exactly where it changes the outcome.
A note on these figures
Prices, context windows and benchmark scores in this space change often, and third-party aggregate indices in particular get re-scored as leaderboards re-run their suites. Everything above reflects publicly reported figures as of early September 2026, and GLM-5.3 pricing is quoted as a range because it genuinely varies by provider and gateway. Check the vendor's own pricing page before you commit budget to a number you read in any article, including this one.