4064 stories
·
4 followers

Inside Hetzner, Europe's unassuming cloud champion

1 Share

The internet likes to present itself as weightless, but it does have an address. Or many. Europe’s largest internet exchange point lies in Frankfurt, where around 1,100 networks hand traffic to one another. At its peak, more than 20 terabits of data, equivalent to around 12 million TikTok videos being streamed simultaneously, rush through here in one second. Along coasts sit the landing stations for undersea cables, often low, inconspicuous buildings that look like an office or a house. And then there are the data centres where it is all stored and processed. 

Several sit in an unremarkable industrial park in western Nuremberg in southern Germany. Bus line 38, heading toward the city limits, stops here. Five huge, grey-red warehouses emit a faint hum.

The site, called NBG1, is home to eight data centres. Fenced in with barbed wire, with surveillance cameras at every corner watching the passers-by on the street, the facility is as inviting as a military base. Not even the cartoon computer monitor with manga-style eyes, smiling kindly from a poster, can dispel the feeling that, at best, I’m an unwelcome guest here.

Visitors to Hetzner's highly secure data centres are greeted by the company's mascot, Hero. (Credit: Michael Moorstedt)

There is a fair chance you’ve already used what’s inside today. The site belongs to Hetzner, which hosts about 2% of the world’s websites and rents servers to everyone from hobbyists paying a few euros a month to companies running their entire business. 

For most of its 29-year history, this made Hetzner a dull business story. But as relations with Washington fray and Europe frets about its dependence on American tech, this rural Bavarian organisation has become an unlikely piece of Europe’s security puzzle. It just doesn’t want to talk about it. 

When Second Chapter first commissioned this piece, I started as most journalists start their work, by calling the company’s spokesperson. No one answered. I emailed. Nothing. For almost two months, several of the team at Second Chapter tried phone calls, email, messages on social media and introductions through mutual acquaintances. We did not receive even the ritual non-answers that secretive companies offer to keep up appearances. No “As a matter of policy, we do not comment”, no “We ask for your understanding”. They didn’t even ask us to stop harassing them. 

Why the IKEA of German cloud infrastructure matters now  

Geopolitics has forced politicians to pay attention. In 2018, during Donald Trump’s first term, Congress passed the Cloud Act, which allows US authorities to compel US tech companies to hand over data under their control, regardless of where that data is stored — even if the servers are located in Frankfurt or if the data belongs to a foreign company. In June 2025, a French Senate inquiry into public procurement asked American tech giant Microsoft whether it could guarantee that French citizens’ data would never be handed to US authorities. Under oath, Anton Carniaux, then director of public and legal affairs at Microsoft France, responded: “Non, je ne peux pas le garantir,” before adding that it had never happened. Microsoft has pledged to challenge such demands in court where it has legal grounds to do so. But “not yet” is not “never.” 

Trump's second term brought a second fear. A brief US suspension of intelligence support for Ukraine in 2025, followed by the government-ordered shutdown of Anthropic’s Fable 5 model earlier this year, have left Europeans wondering whether Washington could decide to cut off the American cloud services their governments and businesses depend on. An August survey by Proton found that 74% of European business leaders feared such a “kill switch” would disrupt their operations.   

The threats sting because Europe has few homegrown alternatives. Google, Microsoft and Amazon together account for about 70% of Europe’s spending on cloud services; local providers get 15%, down from 29% in 2017, according to Synergy Research Group. Ionos in Germany, OVH in France and Hostinger from Lithuania have suddenly been promoted from run-of-the-mill web hosts to strategic assets. 

Computing now sits underneath everything from payments to telecoms, “which is why cloud and hosting have gone from a back-office decision to a strategic one”, says Tom Wehmeier, partner and head of intelligence at London-based venture capital firm Atomico. 

“It is also where Europe is most exposed, because the capacity to build and run it sits overwhelmingly outside our borders”, he added. “That is not a lost cause. Europe has built technologies the whole world depends on, and ASML and Arm are the proof. We just haven't done it in enough layers of the stack.” 

Hetzner is one of those layers. The company was founded in 1997, a year before Google and nearly a decade before Amazon Web Services. It says it now runs more than 500,000 servers and, at any one time, over a million cloud instances for customers in Germany, Finland, Singapore and America. 

The local press proudly calls the company a “true global player from our district.” The trade press, on the other hand, calls the company the “IKEA of German cloud infrastructure”. This is not meant to be derogatory. Rather, it is meant to suggest a certain unpretentiousness and a product offering that everyone can agree on — one that strikes the right balance between reliability and value for money. The company’s policy on server racks, upon which the technical hardware in the data centres sits, is a case in point: “We do not spend a lot of money on smart 1U 19" rack-mount cases. Nobody but our technicians sees those cases anyway.”

In 2024, Hetzner’s parent, ENSoXX Holding, reported group revenue of €607.6m, according to Germany’s official company register, up 12.9% on year, and a net profit of €234m. In the last year that Hetzner filed separate financial accounts, in fiscal 2023, the standalone company reported €538.15m in revenue, up 20.4% year-on-year. 

Compared with the major providers, such as Microsoft Azure or AWS, however, Hetzner is tiny. AWS alone made $128.7bn in 2025, more than 150 times as much as Hetzner’s group, and according to a Bloomberg investigation, Amazon's cloud arm alone operates more than 900 data centre facilities in over 50 countries. While Amazon sells many cloud services from databases to AI tools that can be used off the shelf, Hetzner mostly rents out whole physical servers that customers set up themselves. For those who have it, it offers a lot of computing power for little money.

One of those users is Joshua Wöhle, co-founder and chief executive of Mindstone, a London-based AI coaching and upskilling company. He has been running his AI applications on Hetzner's servers for the past six months, and what won him over was mainly the price. "Hetzner makes it really easy to get going. It took me five minutes from creating an account to having a server up and running,” he said. 

Wöhle is far from the only fan. In specialist forums, people dedicate affectionate memes to the company and post declarations of love. One would expect this kind of devotion for consumer tech brands such as Apple, not for a provider of no-frills servers. A large part of it is likely down to prices, which for years were significantly lower than those of its competitors. 

In early 2026, however, the AI boom caught up with Hetzner. With chipmakers making more of the high-bandwidth memory that AI chips need, prices for ordinary computer memory and storage soared. Hetzner passed the cost on: its prices rose by up to 37% in April for new and existing customers, and in June by up to 176% for new orders of some cloud servers in Germany. 

The secretive data farmer from Gunzenhausen 

Hetzner is named after its founder, Martin Hetzner. According to the company’s official history, he founded the company because he couldn’t stop wondering why web hosting was so much cheaper in the US than in Germany. He owns and co-manages the company. He appears in the local press when he gives money away — support for an emergency shelter for young adults, €10,000 to the Gunzenhäuser Food Bank or team uniforms for handball players and trombone choirs.

On the national stage, however, the entrepreneur keeps a low profile. When the Bavarian state government once again awarded his company a prize for being one of the fastest-growing businesses in Bavaria, he sent his co-managing directors to accept it. I found no in-depth interview with him, despite an extensive search of media archives. In a feature on the richest Germans, Manager Magazin affectionately called him the “data farmer from Gunzenhausen” and estimated his net worth at €1.1bn. Forbes puts the figure significantly higher. No articles include a photograph of Hetzner, though it’s unclear whether that is an editorial choice or because the company did not provide the journalists with one. Manager Magazin’s article makes do with an illustration: a friendly gentleman wearing rimless glasses — in his so-called prime — looks out at the reader. In an industry that does little else but appear on podcasts, Hetzner remains silent. 

Hetzner has also chosen not to take on outside investment, which its website says lets it think long-term. That makes Hetzner one of Europe’s few independent hosts. One reason for the silence could be to ward off interest from private equity investors. 

The silence has limits. Hetzner does invite tech writers and YouTubers to take guided tours of the data centres. An official Hetzner account fields questions from users on the Hetzner subreddit, which has nearly 25,000 members, and recently posted a photograph of a server rack from inside its data centre park in Falkenstein, Germany, with a tongue-in-cheek invitation for users to find their server in the image. The company’s LinkedIn account features praise for employees who have been with the company for decades. For the past two years, the team has hosted its own “summit”, in the manner of the Silicon Valley giants, and Instagram posts of the event paint a picture of a company that seems anything but secretive: meat sizzling on a grill, drones flying over the grounds, panel discussions and expert presentations, a gaming corner and live music. One session focused on digital self-determination. Hetzner communicates in every direction and across all channels — just not with us.

Two years ago, however, Hetzner learned that silence is no protection from geopolitics. On the night of November 18th 2024, the C-Lion1 submarine cable between the Finnish capital, Helsinki, and Rostock on Germany’s Baltic Sea coast was cut. Hetzner helped pay for the cable and uses it to connect its data centre park in Finland to the rest of Europe. The day before, a second cable between Sweden and Lithuania had gone down. “No one believes that these cables were cut by accident,” Boris Pistorius, Germany’s defence minister, said at the time. Suspicion fell on the Chinese cargo freighter Yi Peng 3, which had allegedly dragged its anchor along the sea floor in the area of the cables. China denied wrongdoing, and the incident remains unresolved. Hetzner did not comment on the cause of the incident. A spokesperson said the company would contribute to the cable’s repair and that traffic was being rerouted, adding a few milliseconds to transmission times.  

Alleged sabotage, diplomatic disputes… as I continued my reporting, my list of questions for Hetzner kept getting longer. But by then, I’d gotten used to the busy signal I heard when I called HQ.

Talking to Hetzner’s neighbours 

So I went to see for myself. About 45 kilometres southwest of NBG1 is Gunzenhausen, where the company has its headquarters, on the edge of what is called the Franconian Lake District. You’d be hard-pressed to find a more central location in the EU: throw a dart at the EU's bullseye, and it would land somewhere nearby. It’s a beautiful recreational area where vacationers can sail and surf away from the goings-on of the big, wide world.

Hetzner’s headquarters sit on the outskirts of town, with the forest beginning right behind it. It’s a three-storey building with white facades, surrounded by a chest-high, moss-covered wall. “At home on the internet,” reads the white-and-red company sign. On a Friday afternoon in late October, the company parking lot is still more than three-quarters full. Its neighbours are Schaeffler and Bosch manufacturing facilities with large warehouses and smokestacks, producing ball bearings and steam boilers, a reminder of a pre-digital age.  

The Hetzner headquarters in Gunzenhausen, Bavaria, Germany. (Credit: Michael Moorstedt)

In Gunzenhausen’s picturesque market square, amidst the cobblestones, Baroque facades and little flags, I asked a dozen or so passersby what Hetzner does. The most common answer was “Something to do with computers.” When I explained that this “something” plays a key role in making our digital lives run as smoothly as they do, I detected a hint of local pride. “That’s nice, isn’t it?” one of them said.

Regional newspapers have begun to dream of a “miniature version of Silicon Valley” in the Altmühl Valley where Gunzenhausen sits. Less than a five-minute drive from Hetzner’s offices, the groundbreaking ceremony for new corporate headquarters took place in early October: a €76m investment, as reported by local press, to be finished in 2030, with offices, a day-care centre, a cafeteria and a gym for about 500 employees. 

When I visited, there was little activity on the construction site; a few excavators were moving dirt back and forth at a snail's pace. From the nearby federal highway, the vision is already taking shape: the main building's floor plan is shaped like a giant “H”.

Data centres? Not in my front yard 

“Invest, we need you!” Friedrich Merz, Germany’s chancellor, told European cloud providers at a digital-sovereignty summit in Berlin last November. Sovereignty cannot be achieved through regulation or subsidies, Merz said; it must come from the private sector. At the summit, European private investors pledged to invest more than €12bn in the region's digital infrastructure, of which about €11bn was earmarked for a single data centre operated by the Schwarz Group, the retail conglomerate, in Lübbenau.

Yet money alone won’t do it. As Atomico’s Wehmeier puts it: “More data centres help, but building was never Europe's problem. Scaling is. The biggest lever is demand. When European governments and corporates buy from European companies because they are the best, not because of the label, champions get built fast.”

In a survey of 603 German companies by Bitkom, an industry association, 85% said Germany was “too dependent on US cloud providers”; 71% use them anyway. The state is hardly a model of digital sovereignty, either. For example, in late October, German public broadcasters reported that Germany’s major intelligence agencies plan to set up a shared cloud on Google’s technology, as the military’s IT service provider had previously done.

It’s easy to call for investment from a podium. It is harder to actually build data centres. Another Bitkom survey of over 1,000 people released this September found that 66% of Germans would see the construction of a new data centre in their area positively, while a quarter would see it somewhat or very negatively. 

Hetzner has learned this firsthand. In 2021, it tried to build a new data centre with an attached solar park near Gunzenhausen, among flower-filled meadows, fruit orchards, and corn and grain fields. During one of his rare appearances in the press, the company’s founder expressed surprise at the “pressure that is building up here”. Local politicians spoke of a once-in-a-lifetime opportunity, but the project foundered due to the landowners’ resistance. It’s a familiar story: everyone is in favour of growth until it is in their front yard. 

In early 2025, after several years of negotiations, Hetzner abandoned plans for a data centre and solar park in a neighbouring municipality. Local reports pointed to poor transportation links, nesting birds and too much shade where the solar panels were planned. A citizens’ group campaigned against the project, denouncing land consumption and soil sealing. Last summer, it gave up a third site in a town near Frankfurt. Hetzner had held an option to buy the land since 2022, in a deal that promised the town €3m in business tax. But a new mayor took office and reopened the deal, and Hetzner let the option on the land lapse. The site was taken over by AWS, of all companies, which reportedly paid €220m for the land.

Hetzner has had more luck with power than data centres. Two years ago, its founder co-founded a new company with a German solar developer to build solar farms and large-scale battery storage facilities with the aim of running Hetzner's data centres on renewable power. Last year, the first facility went online. A much bigger one is currently underway in Brandenburg.

Perhaps setbacks in developing new data centres explain why Hetzner remains silent. A company that was able to operate quietly for so long now finds itself on a stage it never asked to be on. Yet the question of who ultimately controls Europe’s data is likely to become even more important in the coming years. So I imagine there will be more people who visit Gunzenhausen looking for answers.

I would have liked to find out what drives the “data farmers from Gunzenhausen.” How they interpret a “We need you.” Whether or not they even want the role they have been asked to assume. I didn’t get answers. In Nuremberg, the warehouses are buzzing. The Hetzner mascot continues to smile undaunted from its poster.

Read the whole story
emrox
23 minutes ago
reply
Hamburg, Germany
Share this story
Delete

A.I. Is The Future

1 Share

A.I. Is The Future

Hooray for the future.

Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete

Stulle Nr. 99.113, geschmiert am 2. Dezember 2026 um 15:29

1 Share
Toastbrot, Nusscreme, Quark, Marmelade, drei Erdbeerhälften, drei Scheiben Banane, zwei Scheiben Kiwi

Toastbrot, Nusscreme, Quark, Marmelade, drei Erdbeerhälften, drei Scheiben Banane, zwei Scheiben Kiwi

Deine StulleYour Stulle

Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete

Creating Beveled Corners with “corner-shape”

1 Share

The new “corner-shape” CSS property is incredibly useful, but if we really want to get the most out of it, we need to use some surprisingly-sophisticated tricks. In this post, I’ll share how I’ve used this new property to create a retro-sci-fi aesthetic with diagonal corners everywhere. 📐



Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete

The Big List of Slop

1 Share

Slop: code (or any writing) that is statistically likely but provides no value.

Of course, LLMs generate more slop than humans by design[citation needed], which is why we have so much more of it nowadays.

Since I still read the code1 (and I ain’t stopping now), I decided to collect the slop patterns I’ve seen in the wild, along with some remedies I’ve found useful.

And since this is the internet, I decided to RANK THEM. At least it’s not a tier list!

🤖🤖🤖 - How sloppy it is: from “maybe human” to “pure slop”.
😐☣️💥 - How bad it is: 😐 meh, almost a nitpick / ☣️ hazardous / 💥 ticking time bomb.

So, without further ado, here’s my Big List of Slop. Starting with my favorite, the MacGyver Class.

Spongebob showing Patrick the mountain of garbage, but the mountain is made of Claude-s and ChatGPT-s

Note: while the code in this post is obviously inspired by LLMs, no LLMs were used to generate anything - code or prose.

Table of Contents:

Discuss on lobste.rs, where the comments have even more slop!

💥 MacGyver Class (🤖🤖⚪)

A modern take on NIH (Not Invented Here) meets a god class.

It takes both to the next level by cobbling common building blocks into weird low-level-ish primitives that don’t have a clear purpose and are practically impossible to get right or hammer into a reusable shape.

class LockableSocket:
   socket: socket.Socket
   lock: threading.Lock

No matter what you are trying to do, the chances of someone needing ∧ correctly building something reusable with just a lock and a socket are virtually zero.

🤖🤖⚪ - It’s slop, but it’s usually disguised well enough to pass as real code if you aren’t looking for it.
💥 - It will cause hard-to-catch bugs and can become enshrined forever in the codebase if someone else ends up using it.

Treatment: Sometimes, you’re in the business of building lockable-socket-shaped services, but if you are working with other people then it’s much more likely someone already built one. If not, maybe at least put it in a different PR?
More often, these are symptoms of a design bug. Fix the design! Don’t document the lockable socket to convince me it’s the next big thing in microservice management.

😐 Validate, Don’t Parse (🤖🤖⚪)

The inverse of Parse, don’t validate. The code does some preparation work that is required for correctness, but doesn’t encode the result in the type system.

For example, say you make or read some list that needs to be sorted:

def make_sorted_list():
    return [1,2,4]

data = make_sorted_list()
bisect(data, 3)

A classic slop move would be to add a check that the list is actually sorted:

 def make_sorted_list():
     return [1,2,4]

+def validate_list_is_sorted(input):
+    assert sorted(input) == input

 data = make_sorted_list()
+validate_list_is_sorted(data)
 bisect(data, 3)

🤖🤖⚪ - Classic slop - no value, but correct and would even catch rogue versions of make_sorted_list, which is probably why some TDD code looks like this.
😐 - There are more lines to read and more tests to run, and some edge cases can still slip by (it just looks like they can’t).

Treatment: Depending on how expressive your language of choice is, either remove the check or use a type that guarantees the list is sorted:

struct SortedVec<T>(Vec<T>);
fn make_sorted_list(...) -> SortedVec<u8> { ... }
fn bisect(data: SortedVec<u8>, needle: u8) -> usize { ... }

Other common forms: inserting an item into a dictionary and then checking the item is there, adding an item to a list and checking the list isn’t empty, doing string manipulation like trim and then validating the new string has a specific length, etc.

😐 Load-bearing Façade (🤖🤖⚪)

In the before times, there was an infamous design pattern, the Facade.
Every action that has one or more steps can be Facade-d over:

class Bar: ...
class Foo:
    bar: Bar

def make_bar() -> Bar: ...
def make_foo(bar: Bar) -> Foo: ...

# `get_foo` is a facade.
def get_foo() -> Foo:
    bar = make_bar()
    bar = bar.with_timeout(1)
    foo = make_foo(bar)
    foo.start()
    return foo

🤖🤖⚪ - Facades always were almost-slop, but recent advances in slop generation pushed the envelope here.

What happens when a refactor causes Foo to no longer need a Bar?

 class Foo:
-    bar: Bar
+    baz: Baz

make_bar is load bearing (🙄): it is used in tests, it’s still part of get_foo and with_timeout could have unexpected side effects. Etc, etc. “Best keep it.”

def test_make_foo():
    bar = make_bar()
    assert make_foo(bar) is not None

😐 - Fluff code didn’t kill anyone, probably.

Treatment: Exfoliate. Facades are common, making them a prime reason for keeping old cables code around for show. Always check if the thing that claims to still need something is, itself, still needed.

☣️ Paranoia-Driven Tests (🤖🤖⚪)

Tests! Tests are awesome. But how do you decide what to test?

We can always add another test that checks for things that don’t happen… but are these tests adding any value?

def sum(a, b): ...

def test_sum():
    with pytest.raises(ValueError, match="must be a number"):
        sum("1", None)
    assert sum(1, 2) != 5

Or even more extreme - what about testing the validation for things that don’t happen:

def validate_stuff() -> str: ...

def test_validate_stuff():
    assert "boogieman" not in validate_stuff()

🤖🤖⚪ - LLMs popularized this genre, but Mock.assert_not_called was shipped in Python 3.5 (2014), so it’s hard to say who is the Trope Maker in this case.

☣️ - See Change-Detector Tests Considered Harmful.

Treatment: Each test must produce shareholder value. You are the shareholder. Delete tests that don’t produce value.

☣️ Insanity-Driven Tests (🤖🤖🤖)

Turning the paranoia to 11, we can also test each and every line of a function:

def do_request():
    ...
    request_took_metric.observe(took_ms) 
    logger.info("Request done.")

def test_request():
    do_request()
    assert request_took_metric.get_value() > 0
    assert logger.called_with(level=INFO, message="Request done.")

You would think that no sane human or bot would write this, but consider:

  1. This was in the dataset.
  2. I personally have seen this in old code.
  3. There’s a built-in assertLogs in unittest.
  4. I have seen much, much worse.

This is an endgame variety of the Change-Detector Tests. They take TDD and pretend it’s the Cold War and the Soviets are sabotaging the codebase.

Treatment: Same as the previous point - delete and move on.

💥 Sneaky Dict Side Dish (🤖⚪⚪)

A subtle and sinister variation on the tried-and-tested Dict Soup:

# Party like it’s 2005.
def foo(): return {"foo": 1}
def foo_with_db(): return {"foo": 1, "db": ...}

🤖⚪⚪ - This went out of fashion years ago, but has made a comeback in the form of a side channel for anything that’s too painful to add to the “real” API:

# Party like it’s 2025.
def foo_with_extra_stuff(idx: int, stuff: dict):
     return Foo(idx, db, stuff=stuff)

def process_bar(bar: Bar) -> (int, dict):
    ...
    return 1, {"task_took_ms": now() - t0, "missed": ...}

💥 - It’s a bad one, and there’s a good reason it went out of fashion. Avoid at all costs. You will regret pushing this one to prod.

Treatment: Do or do not - if something is important, it should be typed and documented and be given attention and effort, but if it isn’t, it should be removed.

☣️ Thesaurus-Oriented Naming (🤖🤖⚪)

Let’s say you look for

a word for two things connected at the middle

A thesaurus, or a creative individual, might suggest a Coupler, or a Junction, or a Nexus, or a Conduit.
They can link, couple, entwine, intersect, unite, and attach.

However,

def connect(source, dest) -> Connection: ...

is probably the only correct answer: there’s no need to open the thesaurus.

What if we need something that really, really, really has to have that specific connotation of “middle”?

def connect_mid(source, dest) -> MiddleConnection: ...

But honestly? Unless there’s a non-middle connection as well, just call it Connection. Less is more.

☣️ - It hurts humans reading your code the most, preventing them from grasping it and perpetuating LLM-only edits to the code.

😐 Pinching Keystrokes (🤖⚪⚪)

Like the C developers of old, more recent vintages of LLMs were also RL-ed to use fewer tokens.

// Ahh, the good old days (?).
int *x, *p, *q, **dd;

There’s also some pretext for shortening long things like package names, which is how we got to this:

import numpy as np # good, honorable, classy

import json as j # evil, lazy, rowdy

Treatment: Unless it is a common abbreviation that’s well documented, always use the full name. Always.

☣️ Parsing XML with Regexes (🤖🤖⚪)

You can’t parse XML with a regex. But that didn’t stop generations of {beginners,LLMs} from trying.

Sometimes it’s just plucking a value from a JSON string:

data = '{"name": "Bob"}'
name = re.search(r'"name"\s*:\s*"([^"]*)"', data).group(1)

Sometimes it’s a more sneaky version like ad hoc string escaping with replace:

replace(
    var.some_url,
    var.some_str_template, 
    urlencode(
        replace(replace(replace(var.some_value, "\\", "\\\\"), "\"", "\\\""), "\n", "\\n")
    )
)

☣️ - It might even cover all the cases in a specific scenario, but it’s a bug waiting to be triggered!

Treatment: Avoid, but like in the MacGyver Class, these are usually signs that something went wrong somewhere else, and fixing the root issue will probably help more than importing-the-right-library.

☣️ Disposable Reusable {Closure,Struct,Interface} (🤖🤖⚪)

Do you have a box of cables you don’t want to let go of? LLMs have a similar tendency towards any and all constructs - they’ll name them, document them, test them - but only use them once.

let make_i32 = |v| { v as i32 };
return optional_string.map(|s| make_i32(&s))
process := func(x int) {
    s.actuallyDoSomething(x)
}

for _, item := range items {
    process(item)
}

🤖🤖⚪ - Good code might also do this when it makes sense in context, but it should be used sparingly.
☣️ - It’s a good way to spaghettify code and make it less understandable.

See also: disposable classes that have two fields and are only used in one place, and interfaces with one function that are only used by one module.

P.S

Also, I’m thinking of updating this list as we invent (discover?) more interesting and strange forms of slop. So send your slop my way at <a href="mailto:slop@bikinibottom.io">slop@bikinibottom.io</a>!
Gotta catch them all.

Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete

Introducing Caveling-2-Mini

1 Share

Thinking Machines' Inkling-2-Mini packs a lot into a small model: a looped mixture-of-experts with 26B total and 3.4B active parameters, a 1M-token context, native NVFP4/MXFP8 weights, and strong scores across math, coding and tool use. Its weak spot is how long it takes to get there. It overthinks, re-checking answers it already has and circling back through dead ends: on Artificial Analysis it uses 74% more tokens than average across benchmarks, so even a straightforward answer often waits behind pages of thinking.

Caveling-2-Mini is Inkling-2-Mini post-trained to skip those loops. We built it for reasoning, coding and tool-use work where Inkling-2-Mini gets the answer right but takes too long. At xhigh effort across 9 text and 1M long-context benchmarks it keeps 100.5% of the base model's accuracy with 43.1% fewer reasoning tokens, an estimated 1.71× average speedup in time to finished answer. On vision benchmarks it was never trained on, it keeps 99.3% of base accuracy with 54.0% fewer output tokens. The weights are open today under Apache-2.0 on Hugging Face, with the base model's architecture, tokenizer and chat template unchanged.

Fewer tokens than Inkling-2-Mini on the same prompts

lower is better

xhigh effort9 benchmarks · 100.5% acc keptlow effort9 benchmarks · 95.6% acc keptUntrained visionCharXiv + MMMU-Pro · 99.3% acc kept
Effort columns compare reasoning tokens per prompt, averaged over the per-benchmark cuts. Vision compares output tokens per prompt.

Post-training removed repeated self-checks and dead-end loops from the reasoning. Effort control, tool calling and image input work as before.

Side-by-side in practice

We gave both models the same two consecutive single-file web-game tasks under identical conditions. First, build a playable, zero-dependency 2D Pokémon-style "Cave City" RPG in one index.html. Then convert that passing 2D game into a playable 3D Three.js version with the same mechanics.

Open the video full size

Each build had to reach a working MVP that passed two gates. An automated headless-browser check required zero console or runtime errors, full-viewport rendering and responsive controls. A human usability check required a playable spawn, a smooth camera, and working collision and hitboxes. When a build failed either gate, its errors or play-test notes went back to the model as follow-up messages until it fixed them, and every generated token and wall-clock second of that exchange counts toward the totals.

Across both tasks, Caveling-2-Mini finished in 167,655 tokens and 19.5 minutes, against 336,715 tokens and 41.3 minutes for Inkling-2-Mini: 50.2% fewer tokens and 2.12× faster to two working games. The exact 2D and 3D prompts are published with the weights, and the recording plays at full size there too. This is one task pair on one seed, so read it as an illustration of the benchmark results below, not as a separate measurement of them.

What changes inside the thinking

To see where those tokens go on a short everyday coding prompt, we ran both models at xhigh effort with the same seed on a straightforward grid-counting task. Both produce the same working Python solution, yet Inkling-2-Mini spends 778 reasoning tokens second-guessing an example and drafting the whole script inside its thoughts before writing it a second time. Caveling-2-Mini plans it in 48 tokens (93.8% fewer) and writes the solution straight away.

Same prompt at xhigh: reasoning and answer side by side

xhigh effort (0.99) · identical seed

Prompt

Given F friends' Y/N likes over I items and a threshold T, write a Python 3 program that counts how many items have at least T likes.

Inkling-2-MiniPass778 thinking · 149 answer

Thinking · 778 tok

We need to write Python 3 solution. Simple: read F, I, T. Then F lines of I chars. For each column j, count Y's. Count columns with count >= T. Check example 1: F=3,I=3,T=2. Lines: YYY, NNN, YNY. Column0: Y,N,Y =>2 >=2 yes. Column1: Y,N,N =>1 no. Column2: Y,N,Y =>2 yes. Output 2. Good. Example2: F=4,I=4,T=1. Lines NNNY, NNYN, NYNN, YNNN. Column0: N,N,N,Y =>1 yes. Column1: N,N,Y,N=>1 yes. Column2: N,N,N,N=>0 no? Wait line1 "NNNY": positions: 0 N,1 N,2 N,3 Y. line2 "NNYN": 0 N,1 N,2 Y,3 N. line3 "NYNN": 0 N,1 Y,2 N,3 N. line4 "YNNN": 0 Y,1 N,2 N,3 N. Column0: N,N,N,Y =1 yes. Column1: N,N,Y,N =1 yes. Column2: N,N,N,N =0 no. Column3: Y,N,N,N =1 yes. Wait expected output 4. Let's recount carefully. Lines: 1: "NNNY": indices 0:N,1:N,2:N,3:Y 2: "NNYN": 0:N,1:N,2:Y,3:N 3: "NYNN": 0:N,1:Y,2:N,3:N 4: "YNNN": 0:Y,1:N,2:N,3:N Column 2: line1 N, line2 Y, line3 N, line4 N → 1! I misread line2 earlier as "NNYN" where index2 = Y. Yes "NNYN": N,N,Y,N. So column2 = N,Y,N,N =1 yes. Column3: Y,N,N,N =1 yes. So all 4 yes. Good. Solution code: import sys def main(): data = sys.stdin.read().split() # but lines may contain Y/N without spaces; split works since whitespace-separated tokens F, I, T = map(int, data[:3]) lines = data[3:3+F] count = 0 for j in range(I): c = 0 for i in range(F): if lines[i][j] == 'Y': c += 1 if c >= T: count += 1 print(count) main() That's it. Should be in single code block. The user asks "Give a complete Python 3 solution (read input with input() or sys.stdin, print the result) in a single code block." So answer with just code block maybe brief. No explanation needed, but can include minimal. Probably just code.

Answer · 149 tok

import sys

def main():
    data = sys.stdin.read().split()
    F, I, T = int(data[0]), int(data[1]), int(data[2])
    lines = data[3:3 + F]
    result = 0
    for j in range(I):
        likes = 0
        for i in range(F):
            if lines[i][j] == 'Y':
                likes += 1
        if likes >= T:
            result += 1
    print(result)

main()
Caveling-2-Mini−93.8% thinkingPass48 thinking · 149 answer

Thinking · 48 tok

We need to count items liked by at least T friends. Read first line, split F, I, T. Then F lines each length I. For each column, count 'Y', compare >= T. Simple code.

Answer · 149 tok

import sys

def main():
    data = sys.stdin.read().split()
    F, I, T = int(data[0]), int(data[1]), int(data[2])
    lines = data[3:3 + F]
    count = 0
    for j in range(I):
        c = 0
        for i in range(F):
            if lines[i][j] == 'Y':
                c += 1
        if c >= T:
            count += 1
    print(count)

main()
Verbatim reasoning and final output on the same prompt (xhigh effort, temperature 1.0, identical seed). Both solutions pass all test cases; total output dropped from 934 to 204 tokens (−78.2%, including formatting tokens).

Attention is all you need

Attention is all you need, and we took that to heart with Caveling-2-Mini. Inkling-2-Mini is a 24-layer looped mixture-of-experts model. Layers 6 to 17 run three times per token with shared weights, and the routed experts ship natively in NVFP4/MXFP8. Fine-tuning the experts would mean dequantizing them, training, and quantizing again, which adds rounding drift to most of the model's parameters.

So we trained only the attention. Caveling-2-Mini updates the 168 BF16 attention projection tensors directly in the precision they are served in, and leaves the other 1,130 tensors byte-identical to the base checkpoint.

Vision encoder

Layers 6 to 17 run 3×, shared weights

Layer 0Layer 23

MTP drafter3 layers

What post-training changed, of 1,298 tensors. Each column is one decoder layer: attention on top, routed experts and router below, and a loop gate under each looped layer. The tokenizer, config and chat template are also unchanged.

Vision carries over. The vision encoder never saw a gradient, and on CharXiv and MMMU-Pro the model keeps 99.3% of base accuracy with 54.0% fewer output tokens: the shorter reasoning transferred to images we never trained on.

Long-context recall holds. On MRCR from 64K to 1M tokens at xhigh, Caveling-2-Mini scored 83.1% against 71.2% for the base model with 40.8% fewer reasoning tokens, on a small suite of 22 items.

The serving stack does not change. The 3-layer MTP drafter ships byte-identical, so Inkling's native speculative decoding loads it as before. We have not yet benchmarked the speculative speedup on the released weights, and every number in this post was measured with the drafter off.

The cost is that attention has to carry the whole behaviour change. Because the looped middle layers share weights, anything they learn applies on all three passes, so a small update has a large effect, in both directions.

How we trained it

We trained in two steps, each with one job.

Step 1: on-policy self-distillation. The model writes its own reasoning, and a reverse-KL anchor pulls each of its tokens toward the base model. On easy and medium problems, the base model it learns from is given rules for concise reasoning, so the redundant verification loops get trimmed. On hard problems, it learns from the plain base model, which keeps those tokens where they already were. This step cut reasoning by about 20% while holding accuracy close to the base model.

Step 2: verified preference optimization. We then built 534 preference pairs only from prompts the model solved reliably: both answers verified correct, with the shorter reasoning preferred. The pairs cover instruction following, tool use, multiple choice, structured output and math. Training on them doubled the cut, to the 43.1% at xhigh reported above, with accuracy intact. Verifying both answers matters: a pair where the short answer is wrong teaches the model to stop early.

Benchmarks across effort and 1M context

Inkling-2-Mini takes a thinking effort from 0.0 to 0.99 in the system message. We publish two settings, xhigh (0.99) and low (0.2), plus vision. We also report TTFA (time to finished answer): the time from sending a prompt until both the reasoning and the visible answer have finished. Both models share the same architecture and per-token decode path, so we estimate TTFA speedup as the ratio of mean output tokens per prompt, and average it across benchmarks.

At xhigh, Caveling-2-Mini keeps 100.5% of base accuracy across 9 benchmarks with 43.1% fewer reasoning tokens and a 1.71× average TTFA speedup. Its largest single loss is LiveCodeBench v6, 72.0% against 75.4%. Small suites such as AIME (30 and 60 problems) and MRCR (22 items) move by a few points between runs, so read their individual deltas as within run-to-run noise.

See the full per-benchmark tables on the Hugging Face model card.

Long reasoning at xhigh: math, science, code and 1M context

mean reasoning tokens per prompt

AIME 2024acc 100.0% → 100.0%AIME 2025acc 98.3% → 96.7%GPQA Diamondacc 86.4% → 85.9%LiveCodeBench v6acc 75.4% → 72.0%MRCR 64K to 1Macc 71.2% → 83.1%

Everyday work at xhigh: grade-school math, knowledge, instructions, tools

mean reasoning tokens per prompt

GSM8Kacc 96.2% → 95.9%MMLU-Proacc 84.0% → 83.5%IFEvalacc 93.3% → 91.9%BFCL v4acc 84.5% → 84.8%

At low, the model keeps 95.6% of base accuracy with 26.4% fewer reasoning tokens and a 1.40× average TTFA speedup. General knowledge, instruction following and tool use stay near the base model (98.4% to 100.6% retained); the losses sit in competition math, PhD-level science and hard coding, such as AIME 2025 at 84.5% retained and LiveCodeBench v6 at 91.0%. MRCR is the one suite where Caveling-2-Mini reasons more than the base model at low, 17.4% more, for a TTFA ratio of 0.87×. On untrained vision, CharXiv gained 1.0 point and MMMU-Pro lost 2.0, for 99.3% retained.

Untrained vision, and two suites at low effort

mean reasoning tokens per prompt

CharXivvision · acc 64.0% → 65.0%MMMU-Provision · acc 80.0% → 78.0%LiveCodeBench v6low · acc 69.7% → 63.4%GSM8Klow · acc 96.4% → 96.4%
Accuracy reads Inkling-2-Mini to Caveling-2-Mini. The LiveCodeBench v6 and GSM8K pairs here are the low-effort runs.

Pick the effort by the work. Use xhigh for competition math, hard coding and PhD-level science, and low for fast general, instruction-following and tool tasks, where accuracy stays near the base model.

Serve it as a drop-in

Caveling-2-Mini serves with the same stack as Inkling-2-Mini. It needs a vLLM build with Inkling-2-Mini support and uses the same reasoning and tool-call parsers:

vllm serve caveman-so/caveling-2-mini --served-model-name caveling-2-mini --tensor-parallel-size 1 --max-model-len 262144 --gpu-memory-utilization 0.9 --reasoning-parser inkling --enable-auto-tool-choice --tool-call-parser inkling

Set the effort in the system message, for example Thinking effort level: 0.99 for xhigh or 0.2 for low. The weights also load with Transformers through AutoModelForImageTextToText.

Open the film full size

We have not yet measured agentic software engineering suites (SWE-bench Verified, Terminal-Bench) or GGUF and MLX conversions, and Hopper GPUs, which serve the experts dequantized to BF16, may differ from these numbers.

Benchmark methodology notes

Models: Inkling-2-Mini (thinkingmachines/Inkling-2-Mini, pinned at revision b85c3cfa615fc413cc9af3379f491b963f3b586a) against Caveling-2-Mini as published at caveman-so/caveling-2-mini.

Serving and hardware: One pinned vLLM nightly build for both models, native NVFP4/MXFP8 weights, no speculative drafter, RTX PRO 6000 Blackwell (SM120). Standard suites used max_model_len 262,144 and up to 131,072 output tokens; MRCR used max_model_len 1,048,576 and up to 32,768 output tokens.

Decoding: xhigh is Thinking effort level: 0.99 and low is Thinking effort level: 0.2 in the system message. Temperature 1.0, top_p 1.0, top_k −1, with identical per-item deterministic seeds for both models.

Benchmarks: AIME 2024 (n=30) and AIME 2025 (n=60), each the mean of two samples per problem. GPQA Diamond (n=198), LiveCodeBench v6 (n=175), GSM8K (n=1,319), MMLU-Pro (n=840), IFEval (n=541), BFCL v4 (n=750) and MRCR across 64K, 128K, 256K, 512K and 1M tokens (n=22), each one run per item. Vision: CharXiv (n=100) and MMMU-Pro (n=150). That is 8,120 Caveling-2-Mini generations across both effort settings and vision, each scored against the base model on the same item and seed.

Truncation and invalid outputs: Truncated and unparseable outputs are scored as incorrect. Across all 8,120 generations, Caveling-2-Mini's highest truncation rate on any suite is 2.3%, its highest unparseable rate is 0.0%, and its highest loop rate on the standard suites is 0.2%. MRCR had 0.0% truncation.

Token counts and TTFA: Reasoning and answer tokens are counted separately and averaged per benchmark. TTFA speedup is base output tokens over Caveling-2-Mini output tokens per benchmark: an estimate, not a wall-clock measurement.

Uncertainty: Every suite except AIME is a single run at temperature 1.0, so differences of a few points on small suites (AIME, MRCR, the vision sets) are within run-to-run noise. We did not compute confidence intervals for this release.

Cave City side-by-side: xhigh, temperature 1.0, top_p 1.0, seed 42 and concurrency 1, each model on one RTX PRO 6000 Blackwell GPU with the same native NVFP4/MXFP8 vLLM setup. Totals count every generated reasoning and answer token across both tasks and all follow-up messages. Times are measured wall clock, not estimates.

Read the whole story
emrox
1 day ago
reply
Hamburg, Germany
Share this story
Delete
Next Page of Stories