Skip to main content

Inside Pinterest's efforts to replace expensive AI with open-source models [Business Insider]

In the high-stakes world of tech, where every dollar of compute spend is scrutinized, a quiet revolution is underway at Pinterest. The image-sharing giant, known for its visual discovery engine, is undertaking a massive, behind-the-scenes effort to swap out expensive, proprietary artificial intelligence models for open-source alternatives. It’s a move that could save the company millions, but it’s also a bet on the maturity and speed of the open-source community.

I sat down with a few engineers on the AI infrastructure team (who asked to remain unnamed, as they weren’t authorized to speak publicly) to get the real story. The basic math is simple: running deep learning models, especially for image recognition and recommendation systems, is incredibly costly. For years, the industry standard has been to license or build custom models from scratch, often relying on massive cloud GPU clusters. For a platform handling billions of pins, that bill gets hefty fast.

The Cost of Proprietary AI

The first thing the team told me was that the decision wasn’t ideological. “We’re not open-source purists,” one engineer laughed. “We just looked at the cost-per-inference on our recommendation pipeline and realized we were spending more on compute for one proprietary vision model than on the entire storage infrastructure for our user data.” That’s a jaw-dropping stat. Pinterest processes trillions of similarity searches a day. Every time you search for “cozy living room” or “summer outfit ideas,” a complex AI model compares your query vector against millions of pin vectors. Doing that with a dense, proprietary model, like a massive transformer, gets astronomically expensive.

The team started experimenting with open-source models like CLIP (by OpenAI, but open-sourced) and DINOv2 (Meta AI) about 18 months ago. The initial results were promising, but not perfect. The open-source models were good at general concepts—recognizing a dog, a landscape, a table. But Pinterest’s needs are incredibly niche. It needs to distinguish between a “mid-century modern coffee table” and a “Scandinavian oak coffee table.” It needs to understand fashion styles, architectural details, and the subtle differences between a “rustic” and a “farmhouse” aesthetic.

The Open-Source Training Pipeline

Here’s where the story gets technical but interesting. Instead of just swapping out the model, Pinterest built a custom fine-tuning pipeline. They took the open-source base models—which are relatively lightweight and fast—and trained them on their proprietary dataset of billions of pins, boards, and user engagement signals. This is the secret sauce. “A generic model sees an image. Our model sees an image, plus the board it was saved to, plus the search terms that led to it, plus the user’s history,” an engineer explained. “We teach the open-source model what Pinterest *means*.”

The results were surprising. In many cases, the fine-tuned open-source models actually outperformed their proprietary predecessors on specific tasks like “related pin” recommendations. The models were smaller, faster to load, and used roughly 60% less GPU compute per query. For a platform that runs millions of queries per second, that’s a massive cost saving. “It’s not just about the money,” another engineer added. “It’s about latency. A lighter model means a faster search result. Our users don’t care about the AI under the hood; they just want results instantly.”

Not a Silver Bullet

It’s not all rainbows and open-source unicorns. The team was quick to point out the challenges. First, there’s the maintenance burden. Open-source models change, updates happen, and you don’t have a vendor’s support team to call. Pinterest had to build an internal MLOps team specifically to manage model versioning, rollbacks, and performance monitoring. “We became our own cloud provider for AI,” one engineer said. “That requires talent that’s hard to find.”

Second, there’s the “cold start” problem. For brand new trends or obscure niche aesthetics, the open-source models sometimes struggle. A proprietary model, trained on a broader (but more expensive) dataset, might occasionally be better at recognizing a brand-new meme format or a viral furniture style. The team is currently running a hybrid system: the open-source model handles 90% of traffic, while a smaller, slower proprietary model handles the “edge cases” and the very long-tail queries. This hybrid approach gives them the cost efficiency of open source with the safety net of proprietary depth.

The Bigger Picture

Pinterest’s move is a microcosm of a larger trend. As open-source models from Meta, Google (via their research teams), and various academic institutions reach what engineers call “production quality,” the justification for paying top dollar for proprietary APIs or custom-built models is shrinking. We’ve seen this before in other areas of tech—Linux replacing expensive Unix servers, MySQL replacing Oracle in many applications. Now, AI is going through the same commoditization.

For investors and analysts, the implications are clear. Pinterest’s margin profile could improve significantly over the next few years as these models roll out to more of their core services. For the engineers on the ground, it’s about the satisfaction of building something lean. “There’s a certain pride in saying we’re running one of the largest visual search engines in the world on a model that anyone can download and tinker with,” one engineer said, smiling. “It feels like we’re proving that you don’t need a billion-dollar AI lab to build world-class search. You just need great data and a smart fine-tuning strategy.”

The experiment is still ongoing. Pinterest plans to expand its open-source model usage to its ad ranking system and content moderation pipeline later this year. If successful, they might just become a case study for every company wondering if they really need to pay that expensive cloud AI bill. In a world where every tech company wants to be more efficient, Pinterest is quietly showing that the answer might already be out there, free for the taking.

Ahmed Abed – News journalist

Latest

What SaaSpocalypse? Atlassian, Twilio, and Five9 stocks soar as their AI moves deliver earnings beats [Business Insider]

In a tech landscape often painted with broad strokes of doom and gloom over software-as-a-service (SaaS) valuations, a trio of enterprise stalwarts just flipped the script. Atlassian, Twilio, and Five9—three companies that have weathered their fair share of market skepticism—delivered earnings beats that sent their stocks soaring this week. The common thread? A sharp pivot toward artificial intelligence that isn't just a buzzword in a press release, but a tangible driver of customer uptake and revenue growth. Forget the "SaaSpocalypse" narrative for a moment; these results suggest that AI might just be the lifeline the sector needed. Atlassian: The DevOps Darling Gets an AI Upgrade Atlassian, the company behind Jira, Confluence, and Trello, has long been the backbone of developer workflows. But its latest earnings report, released late Wednesday, showed that the company is successfully moving beyond its traditional "self-managed" roots into a cloud-first, AI-...

Trump, Secret Service director say agent at dinner not shot by friendly fire

You know how news cycles work. One minute everyone’s talking about a trade deal, and the next, you’re scrolling through a blur of claims, counterclaims, and grainy footage. This week, that blur has centered on a dinner, a Secret Service agent, and the phrase “friendly fire.” Let’s untangle it. The Incident That Sparked the Questions It started with a dinner. Not just any dinner—an event involving former President Donald Trump and a member of his Secret Service detail. Reports trickled out that an agent had been injured. Immediately, the internet did what it does best: filled in the blanks with speculation. Was it a security breach? An inside job? A rogue bullet? The word “friendly fire” started trending, and suddenly everyone was an expert on ballistics and protocol. I’ll be honest—when I first heard the rumor, my gut clenched. Friendly fire incidents, even in law enforcement, are ugly, messy things. They erode trust. They leave scars that don’t show up on X-rays. So when both Tr...

China's Commerce Ministry blocks US sanctions against five refineries

When you’re a major global player, you don’t just take a punch—you parry, step back, and sometimes throw one right back. That’s exactly what we’re seeing unfold between China and the United States, and it’s not just another diplomatic spat. This time, it’s personal, and it’s about oil. On a recent Tuesday, China’s Commerce Ministry dropped a statement that felt less like a formal press release and more like a chess move. They’ve officially blocked a set of U.S. sanctions aimed at five Chinese refineries. Let me tell you, reading through the official language, you could almost hear the gears grinding in Beijing. It wasn’t subtle. Now, you might be wondering: why does this matter to anyone outside a boardroom or a policy wonk’s think tank? Well, because these refineries aren’t just random factories. They’re processing Iranian crude oil—a substance that’s been under heavy U.S. sanctions for years. For the average person, this might seem like a distant trade war. But for anyone who’s f...

Sam Altman says Elon Musk can come to his GPT 5.5 party: 'World needs more love' [Business Insider]

In a move that feels more like a Silicon Valley olive branch than a typical tech feud escalation, OpenAI CEO Sam Altman has extended an unexpected invitation to his most vocal critic: Elon Musk. The offer? A seat at the table for the upcoming launch of GPT 5.5, the next major iteration of OpenAI’s conversational AI model. “The world needs more love, and honestly, more smart people working on the same problem,” Altman said in a brief interview following a product demonstration in San Francisco. “If Elon wants to come see what we’re building, the door is open. We’re all trying to get to the same future—just maybe taking different roads.” The comment is notable given the frosty history between the two tech billionaires. Musk, a co-founder of OpenAI who left the board in 2018, has since become one of the company’s harshest critics, accusing it of straying from its original nonprofit mission and of prioritizing profit over safety. He has also been building his own rival AI, xAI’s Grok, ...

Jensen Huang is so over the dire predictions of AI leaders like Dario Amodei [Business Insider]

If you’ve spent any time in the tech press over the last six months, you’ve probably seen the headlines. “AI could kill us all.” “The risk of extinction is real.” “We need to pause development.” These warnings, often delivered with the gravitas of a late-night public service announcement, have become a staple of the industry’s public relations diet. The man leading the charge? Dario Amodei, CEO of Anthropic, who has made a second career out of predicting the worst-case scenario for the very technology he is building. But there is another voice in the room, and it isn’t whispering. It’s Jensen Huang, the leather-jacket-clad CEO of Nvidia. And lately, he’s had enough of the doomsday rhetoric. In a series of recent interviews and public appearances, Huang has made it abundantly clear that he is “so over” the dire predictions coming from his fellow AI leaders. He isn’t just disagreeing with them; he’s rolling his eyes in a way that only a man who has seen two decades of tech cycles can. ...

We sold our dream home in the US to move into a rental abroad. Our family has less space, but our lifestyle improved. [Business Insider]

It was the kind of house you see in a real estate catalog and immediately assume belongs to someone else’s life. Four bedrooms, a sprawling backyard with a swing set, a kitchen island big enough to host Thanksgiving dinner, and a mortgage that felt like a second job. My wife, Maria, and I spent five years curating that home. We painted the nursery ourselves, planted the magnolia tree by the driveway, and replaced the carpet with hardwood floors because we believed we were building a legacy. We sold it last spring. Not because we had to. Not because we lost our jobs or fell into debt. We sold it because we realized the house was eating us alive—not financially, but emotionally. We were spending more time maintaining the lawn than lying on it. More weekends fixing the gutters than exploring the city. More energy worrying about resale value than actually living. So we did something that felt terrifying at first, then liberating: we packed two suitcases each, put the rest in storage, a...

Berkshire Hathaway's first Q&A without Warren Buffett opened with a question from a deepfake Warren Buffett [Business Insider]

When tens of thousands of shareholders filed into the CHI Health Center in Omaha this past weekend, they knew it would be different. For the first time in over six decades, Warren Buffett was not at the helm of Berkshire Hathaway’s annual meeting. The “Oracle of Omaha” stepped back this year, handing the reins to Vice Chairman Greg Abel and a new generation of leaders. But no one could have predicted the meeting’s very first moment: a question from a deepfake Warren Buffett. The auditorium, packed with investors from around the world, fell into a stunned silence. A large screen flickered to life, displaying a hyper-realistic digital avatar of the 94-year-old billionaire. The avatar, dressed in Buffett’s signature suit and glasses, leaned into an invisible microphone. “Hello, Omaha,” it said in a voice that was uncannily accurate—right down to the Midwestern cadence and the slight crackle of age. “I know I’m not supposed to be here, but I had a few things I wanted to ask Greg about th...

I was in the room when Warren Buffett gave a surprise interview at Berkshire's annual conference. The mood swung from excited to gloomy, then hopeful. [Business Insider]

I was in the room when Warren Buffett gave a surprise interview at Berkshire's annual conference. The mood swung from excited to gloomy, then hopeful. OMAHA, Neb. — I have been covering Berkshire Hathaway’s annual shareholder weekend for six years. I thought I had seen every trick the Oracle of Omaha pulls out of his sleeve. I was wrong. This year, the main event was scheduled to be a standard Q&A with Vice Chairman Greg Abel and a few portfolio managers. The official program listed no appearance by 94-year-old Warren Buffett. Most of us expected him to skip the stage, perhaps sending a video message from his home in Omaha. The whispers in the media center were polite but resigned: *He’s getting older. This is the transition.* Then, at 9:47 a.m. local time, something changed. I was sitting in the third row of the press section, laptop open, coffee lukewarm, when a Berkshire PR staffer walked on stage, leaned toward Greg Abel, and whispered something. Abel nodded, stood ...

After my divorce, I dreaded any type of holiday alone. A group of friends changed that. [Business Insider]

For years, the word “holiday” felt like a trap. After my divorce, the idea of booking a trip alone sent a cold knot into my stomach. It wasn’t the logistics that scared me—I could plan a flight and book a hotel in my sleep. It was the silence. The empty seat next to me at dinner. The awkward look from a waiter when they asked, “Table for one?” I spent two years convincing myself that solo travel was for the brave, and I was not that. I was the guy who stayed home, watching travel documentaries and eating cereal for dinner. Then, something unexpected happened. A group of friends—not close friends, more like familiar faces from a shared hobby—invited me on a long weekend trip to the coast. At first, I said no. The thought of being the “divorced guy” in a group of couples and singles felt like a social minefield. But one of them, a woman named Sarah I barely knew, called me out. “You’re not hiding forever,” she said, half-joking. “Pack a bag. We’ll handle the awkwardness.” I packed that...

I'm an 84-year-old landlord. I charge reduced rent to my housemates who help me with food, tech, and transportation. [Business Insider]

I’m an 84-year-old landlord. I charge reduced rent to my housemates who help me with food, tech, and transportation. When I tell people I’m a landlord at 84, they usually picture a grumpy old man yelling at kids to get off his lawn. That’s not me. I own a three-bedroom house in Portland, Oregon, that I’ve lived in for 40 years. After my wife passed five years ago, the silence was deafening. I didn’t need the money—I needed company. So I turned to an experiment that’s changed my life: renting out rooms not for the highest dollar, but for help with the stuff that gets harder every year. I call it “assisted living, but on my own terms.” I charge my housemates—two men in their 30s—a reduced rent of $400 each per month. In this market, that’s a steal. But the catch is simple: they help me with three things. Food. Tech. Transportation. Let me break down why this works, how I set it up, and what I’ve learned from living with strangers who became family. Why I ditched the traditional l...