There’s a lot of buzz around open-weight models like Qwen, DeepSeek and GLM being right up there with the frontier. Every few weeks a new one drops, with a chart showing it beating last year’s best. But do those expectations hold up once you point them at real enterprise code?
We decided to find out. For two months, fifteen engineers at E.ON ran their coding agents on open-weight models instead of closed ones like ChatGPT or Claude. On top of that, we wrote custom benchmarks based on our own repositories and domains.
So, did the open-weight models hold up? Spoiler: better than we expected, but with some caveats.
FRONTIER MODELS ARE NOT THE WHOLE STORY ANYMORE
Those charts are hard to read, though. Benchmarks are public, and there is a chance some of these models were trained, directly or indirectly, to do well on them. A high score tells you the model is good at that benchmark. It does not tell you whether it will help with your repositories, your tickets and your build system, or whether it will follow your platform team’s rules and your security team’s standards.
So we did not want to ask which model wins. We wanted to know whether open-weight models could complement our daily engineering work, and whether we could find out by testing them on our own code and with our own people.
TWO MONTHS ON A DIFFERENT ENGINE
For two months this year, fifteen engineers from different engineering teams across E.ON kept using Claude Code and OpenCode, but we changed what sat behind them. Requests went to one of two models. Qwen 3.8-27B ran on a single A100 GPU that we hosted ourselves. GLM 5.2 ran as a serverless service on Google Cloud. In the first month alone they handled 1.9 billion tokens. One token is about three quarters of a word, so 1.9B tokens is around 1.4 billion words, or roughly 15,000 novels. Then we asked the obvious question: are these models as good as the frontier model we use today?
For anyone who wants the details, here is the architecture:
We did not host GLM ourselves, and for a proof of concept it probably is not practical. Only about 40 billion parameters work on each token, but all 744 billion have to sit in GPU memory. That is around 1.5 TB at full precision and still roughly 750 GB at 8 bits, which is more than nine A100 80 GB cards for the weights alone, before any room for context. That means a multi-node cluster of scarce GPUs for a team of fifteen.
WHY BOTHER WITH OPEN WEIGHTS
With a closed model, you reach a black box over an API, and someone else decides what happens to it. You have seen the posts. “They nerfed Opus.” “All my tokens are suddenly gone.” Maybe it is true and maybe it is not, but from the outside you cannot tell, because you have no way to look. The model behind the same name can change without notice.
Those are the small surprises. A bigger one: the provider triples the price of its best model, or stops offering it in the EU. If all our engineers work through one vendor, we would have to rebuild how they work in a hurry. A company should have a plan before that happens.
An open-weight model is one way to be ready. We get the weights but not the training data, and we can run it on hardware we choose, in a region we choose, at a version that only changes when we change it. We do not see it as a replacement for Claude. We see it as another tool in the toolbox, one we control.
We started with three hypotheses. The models are good enough for most day-to-day coding. They are cheaper once you count serving, not just tokens. And we can keep working if one vendor goes away. We tested the first one two ways, with a benchmark and with real use.
PUBLIC BENCHMARKS DO NOT USE OUR CODE
Public benchmarks test someone else’s code, but we wanted to know how open-weight models perform in the E.ON engineering context. For this, we wrote compiled our own benchmark dataset tailored for our own repositories and code bases: Our engineers solve problems every day, and the answer to a problem is often a merge request: a bundle of changes to the code. If that merge request was never reverted, it was a working answer to a real task. So we ran it backwards. We took the code from just before the merge and treated the merge request as the reference solution to a benchmark task.
For each one we wrote two tickets, one clear and one deliberately vague, because in practice both kinds of ticket exist. We also wrote a hidden check for each task that the agent never sees. It can be a combination of things, such as the build succeeding, the tests passing, the linter coming back clean, or how closely the result matches the merged solution. Then an agent works in a fresh sandbox and passes if all of them do. That gave 50 tasks from 25 commits across six domains: cloud accounts, API gateway, data platform, access management, developer portal and energy services. The same agent ran all of them. Only the model changed.
We ran every task five times per model and took the average. Language models are not deterministic: the same model given the same ticket can take a different route each time, and pass on one run and fail on the next. A single run mostly measures luck, so we repeated it and averaged.

Fig 3. A model cannot touch your files, and a harness cannot think. You use a harness, and it calls a model. The experiment keeps the harness fixed and swaps only the engine.
RESULTS
(on average) GLM passed 88% of tasks, Qwen 86%, and Claude 84%. The open-weight models matched Claude on our own repositories. The gaps are small, so I would call that a tie rather than a win for anyone.
Fig 4. The headline. All three models are scored on the same 50 tasks. Tasks that hit infrastructure failures were re-run, and a task counts as passed if most of its runs passed.
SERVERLESS COST SAVINGS
There are two ways open weights can save money, and the serverless one is the easy one to calculate, because both models are priced per token. Claude Sonnet 5 lists at $2 per million input tokens and $10 per million output tokens. GLM 5.2 costs $1.40 and $4.40. That is about 30% cheaper on input and 56% cheaper on output at list prices. GLM 5.2 has a parameter count of 750B, and Sonnet 5’s parameter count is not published but is estimated to be somewhere between 750B-1T. Hence we thought it was a good enough comparison.
The token counts from our benchmark point the same way. GLM read about the same number of input tokens as Claude but wrote far fewer output tokens, roughly 205K against 540K, so the real gap is probably wider.
GPU COST SAVINGS
Hosting the model on our own GPU is a different calculation, and a harder one. We have one GPU that costs about €39 for a working day. How does that scale, and how many people does it serve? These numbers are for Google Cloud only, and they include the total cost of ownership (TCO) for running your own GPU inference engine. One of the nice things about open weights is that the same model can run on AWS, on Azure, on a European provider or on our own hardware, and each of those would give a different answer.
The answer depends on a lot of variables. A few of the big ones:
- Quantization. Storing the model’s weights in fewer bits (we used FP8) makes it smaller and faster, and usually costs some quality. Our benchmarks let us measure how much instead of guessing.
- Inference engine. The software that serves the model (we used vLLM). How it batches requests and caches work changes how many people one GPU can handle.
- Context length. Every open conversation holds memory on the GPU. Long agent sessions fill it quickly.
- How people use it. A heavy agent user keeps the GPU busy all day. A light user barely registers.
- The hardware itself. Which card, and whether you can get one when you need it.
We combined load tests with calculations to see how far one GPU stretches. In our experiment the group of 15 used it happily and we barely saw any throttling.
Because the cost is fixed, the saving depends on how busy the card is. On the tokens we used, it came out about 38% cheaper than the same tokens through Claude Sonnet, as long as it stays busy. During the trial it was far from busy. In an ideal setup, with the GPU well used through the working day, our calculations put the saving at up to roughly 60%. That is a ceiling, not a forecast, and it is hypothetical.
This is not a case for switching to local models now. But the measurements and the maths both show room to save money, and it is a path we plan to keep walking.
WHAT THE ENGINEERS SAID
We asked the fifteen engineers what they valued. Control and sovereignty ranked above cost. Everyone who answered the poll said Qwen helps with real work. The main improvement points they named were tool use, agents and long context. One engineer wrote:
“I used (and still using) Qwen as my daily driver for the past weeks and I can say I could use it comparable to Sonnet with my style of doing small increments and reviewing those right after.”
— a trial participant, in the closing feedback
WHAT WE LEARNED
- GPU capacity is not guaranteed. Requests for a GPU in our region went unfilled for 43 hours across 174 attempts, and on 1 September we lost the A100 for about a day. A zone with no GPU left means no model, and the disk holding the weights is tied to that zone. Getting a GPU can take a while, which is why we start ours at 05:00: we would rather be early than have the team wait for it in the morning.
- Serverless and self-hosted serve different purposes. GLM as a service is the easy way to start with open weights: no GPU to find, and it costs nothing while idle. But you are still not in control, because it depends on a cloud provider. Qwen did just as well in our tests, and running it ourselves is what gives us that control.
- Put a gateway in front. One URL and one key let us swap models and hardware without anyone changing their setup. It also lets us track costs, error rates and usage in one place.
- Thinking models need a big token budget. Qwen spends tokens on reasoning before it answers. You can also lower the reasoning effort so it thinks less. We started at the highest setting and moved to medium.
- Benchmark on your own code. A public score does not tell you how a model does on your repositories.
WHERE THIS LEAVES US
All three hypotheses held, each with a caveat. Performance was comparable, both in the benchmark and in daily use. Cost was lower as long as the GPU stayed busy.
This is only the start. We have some information now, but we need to keep iterating and learning. And the landscape moves fast: next week another model might be released that shifts it completely. So the answer is not a verdict. It is a step in the right direction.
SPECIAL THANKS
This was not a one-person effort. I was lucky to work with a cross-functional team of passionate people from across the business groups: Johannes Mandle, Huy Dang, Yashar Gholami and Matthias Bachfischer. And thanks to the 15 engineers from across the company who spent two months of real work on this while we swapped the model underneath them, and put up with it when it was occasionally unavailable. 😉