Claude
Shopify CTO Mikhail Parakhin warns rival tech executives make a critical strategic error by capping developer tokens while wasting capital on unoptimized production models.
AI-assisted summary of Inside Shopify's AI strategy with CTO Mikhail Parakhin — original source. Check the original for full context.
Source published:
Key ideas
- Shopify CTO Mikhail Parakhin advocates an AI 'barbell strategy': granting engineers unlimited access to the largest frontier models during development, while aggressively optimizing and distilling smaller models for production to reinvest the savings. (9:41)
- Shopify created a predictive 'digital twin' of merchant businesses by modeling organizational actions as sequential tokens, enabling counterfactual simulations across credit, ad campaigns, and shipping transit times. (4:42)
- Parakhin argues that the true leverage of AI lies in 'raising the ceiling'—solving previously intractable problems via a human-in-the-loop 'centaur' approach—rather than merely automating routine toil to 'raise the floor.' (0:35)
- Shopify tracks engineering ROI by normalizing project velocity against algorithmic estimates of problem complexity, validating statistically significant double-digit productivity gains. (2:07)
Detailed notes
## Background Published on YouTube by the official Claude channel on October 8, 2026, this video features a conversation between host Boris and Shopify CTO Mikhail Parakhin. The discussion covers how Shopify leverages Claude across its engineering organization, focusing on giving engineers unlimited tokens with frontier models, constructing an enterprise digital twin, and executing a distinct AI resource strategy.
## TL;DR Shopify CTO Mikhail Parakhin explains that the true power of frontier AI lies in expanding intellectual capability to solve previously intractable problems rather than simply automating routine tasks. He outlines how Shopify treats business events as token sequences to create digital twins that simulate merchant growth scenarios, enabling proactive, risk-free business interventions. To maximize engineering velocity, Parakhin champions a barbell token strategy that grants developers uncapped access to the largest frontier models while aggressively optimizing smaller, fine-tuned models in production. He also highlights how AI telemetry aids team leadership and wryly notes how rapid AI progress recently beat him to his retirement goal of deciphering ancient Linear A script.
## Atmosphere & style The conversation is pragmatic, high-velocity, and intellectually rigorous, driven by Parakhin's deep technical conviction and executive clarity. The dynamic between Boris and Parakhin feels collegial and candid, moving smoothly from serious discussions on mathematical optimization and systems architecture to shared laughter over AI encroaching on personal intellectual pursuits. It conveys the electric, fast-moving reality of frontier AI deployment inside a major tech company without devolving into vague hype.
## Bulletin - [09:41](https://www.youtube.com/watch?v=9GtcbnmldcY&t=581s) Shopify CTO Mikhail Parakhin advocates an AI 'barbell strategy': granting engineers unlimited access to the largest frontier models during development, while aggressively optimizing and distilling smaller models for production to reinvest the savings. - [04:42](https://www.youtube.com/watch?v=9GtcbnmldcY&t=282s) Shopify created a predictive 'digital twin' of merchant businesses by modeling organizational actions as sequential tokens, enabling counterfactual simulations across credit, ad campaigns, and shipping transit times. - [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) Parakhin argues that the true leverage of AI lies in 'raising the ceiling'—solving previously intractable problems via a human-in-the-loop 'centaur' approach—rather than merely automating routine toil to 'raise the floor.' - [02:07](https://www.youtube.com/watch?v=9GtcbnmldcY&t=127s) Shopify tracks engineering ROI by normalizing project velocity against algorithmic estimates of problem complexity, validating statistically significant double-digit productivity gains.
## Key takeaways - [00:00](https://www.youtube.com/watch?v=9GtcbnmldcY&t=0s) Enterprises can be treated as sequence prediction systems, representing continuous operational events (credit, inventory, site changes) as tokens to build a digital twin. - [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) The primary strategic value of frontier models is 'raising the ceiling' to solve problems out of reach of human intuition, rather than solely 'raising the floor' via automation. - [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) Human-model 'centaur' workflows outperform both solo human experts and standalone base frontier models when tackling complex mathematical and technical challenges. - [02:07](https://www.youtube.com/watch?v=9GtcbnmldcY&t=127s) Measuring engineering ROI requires normalizing output against intrinsic project complexity rather than relying purely on raw commit or PR volume. - [03:32](https://www.youtube.com/watch?v=9GtcbnmldcY&t=212s) Shopify provides engineers with unlimited tokens and immediate access to the largest models to prevent artificial friction from hiding the true capability frontier. - [03:32](https://www.youtube.com/watch?v=9GtcbnmldcY&t=212s) Technology leadership and budget approvers must use frontier models daily to genuinely understand and greenlight capability unlocks. - [04:42](https://www.youtube.com/watch?v=9GtcbnmldcY&t=282s) Shopify's digital twin allows risk-free counterfactual simulations of merchant decisions, such as marketing tests, loan allocations, and shipping transit adjustments. - [04:42](https://www.youtube.com/watch?v=9GtcbnmldcY&t=282s) Simulated operational pathways directly trigger real-world interventions and prescriptive recommendations, driving merchant success and company revenue. - [07:28](https://www.youtube.com/watch?v=9GtcbnmldcY&t=448s) AI operational telemetry helps engineering leadership spot mathematically drifting deadlines and cross-team friction before morale degrades. - [07:28](https://www.youtube.com/watch?v=9GtcbnmldcY&t=448s) Engineers are evolving into 'second-level managers' whose core role is orchestrating, guiding, and resolving conflicts across autonomous agent workflows. - [07:28](https://www.youtube.com/watch?v=9GtcbnmldcY&t=448s) Model sycophancy poses a new technical management risk, as flawed prompts quickly yield bad code without traditional team debates serving as a buffer. - [09:41](https://www.youtube.com/watch?v=9GtcbnmldcY&t=581s) The recommended 'barbell token strategy' pairs unconstrained frontier reasoning in development with fine-tuned, cost-efficient models in production. - [10:40](https://www.youtube.com/watch?v=9GtcbnmldcY&t=640s) Parakhin considers restricting internal developer tokens while running bloated, expensive models in production to be a critical strategic error. - [11:34](https://www.youtube.com/watch?v=9GtcbnmldcY&t=694s) Frontier models are progressing so rapidly that long-standing human intellectual challenges, like deciphering Linear A, are being solved before researchers can get to them.
## Detailed walkthrough ### [00:00](https://www.youtube.com/watch?v=9GtcbnmldcY&t=0s) The Concept of the Company Digital Twin
Just as natural language models learn to predict the next word or letter in a sequence to generate coherent text, human behavior and company actions follow sequential patterns. A company can be mathematically represented as an evolving sequence of operations: opening lines of credit, shipping inventory, running advertising campaigns, modifying web storefronts, or onboarding payment processors. By treating this continuous stream of organizational events as tokens in a sequence, it becomes possible to train models to construct a comprehensive "digital twin" of the enterprise.
```mermaid flowchart LR accTitle: Company Digital Twin Sequence Architecture accDescr: Mapping enterprise events into a sequence prediction pipeline to create a digital twin. subgraph Stream["Enterprise Event Stream"] A["Credit & Loans"] B["Catalog & Site Updates"] C["Ad Campaigns & Shipping"] end subgraph Model["Predictive Engine"] D["Sequence Model"] E["Digital Twin Simulator"] end subgraph Simulation["Outcomes"] F["Counterfactual Testing"] G["Optimized Growth Action"] end
A --> D B --> D C --> D D --> E E --> F F --> G ```
[00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) Raising the Ceiling vs. Raising the Floor
When exploring the limits of frontier models like Claude, the most significant breakthrough does not lie in eliminating everyday toil or automating tedious tasks ("raising the floor"). Instead, the transformative leverage comes from expanding what is intellectually reachable ("raising the ceiling"). Mikhail Parakhin shares a concrete personal example: for seven years, he wrestled unsuccessfully with an intractable mathematics and machine learning challenge involving the Wasserstein loss function ("making everything Gaussian"). Neither human intuition nor earlier LLMs had managed to solve it.
The breakthrough arrived through an interactive, human-in-the-loop dynamic—a "centaur" approach akin to freestyle chess. The human provides the steering, framing, and critique, while the model navigates computational and conceptual pathways that neither could master in isolation.
- Raising the floor only frees up time by automating work that could otherwise be accomplished with more headcount or greater diligence. - Raising the ceiling breaks open problems that would remain unsolved even if you had "thousands of the best mathematicians" at your disposal. - The hybrid "centaur" workflow outperforms the standalone capabilities of either the human expert or the base frontier model.
[02:07](https://www.youtube.com/watch?v=9GtcbnmldcY&t=127s) Measuring Productivity and Engineering ROI
Quantifying the return on investment for efficiency gains (raising the floor) is relatively simple across the industry: organizations measure pull requests (PRs), code commit frequencies, and engineering hours saved. Shopify approaches this with high rigor, tracking not just raw output volume or PR counts, but algorithmically estimating the intrinsic complexity of projects.
Using internal AI-driven execution trackers (Shopify's "Get Stuff Done" culture and tooling), leadership tracks project velocity normalized against problem complexity. This metric establishes with statistical confidence that engineering teams are delivering more complex initiatives at a significantly accelerated pace, proving quantifiable double-digit productivity gains.
[03:32](https://www.youtube.com/watch?v=9GtcbnmldcY&t=212s) The Philosophy of Unlimited Tokens and the Largest Models
When managing engineering investments and having discussions with leadership like Shopify CEO Tobi Lütke, the guiding policy is absolute commitment to scale. Parakhin advises other CTOs to resist the instinct to cut costs prematurely on reasoning and inference:
- **Always deploy the largest model first:** You cannot understand what capabilities you are leaving on the table unless you evaluate against the absolute state of the art. Smaller models conceal the true capability ceiling. - **Unlimited tokens across the engineering floor:** Shopify provides unrestricted access to model tokens so engineers can experiment without artificial friction. - **Heavy infrastructure backing:** The company commits massive GPU inference and training resources to ensure developers never face resource bottlenecks. - **Decision-maker immersion:** Leadership and budget approvers must actively use the frontier tools daily; understanding capability unlocks cannot be done via abstract presentations.
[04:42](https://www.youtube.com/watch?v=9GtcbnmldcY&t=282s) Building a Merchant Growth Engine via Digital Twins
Shopify translated the digital twin concept into production through its merchant prediction system. An enterprise is made up of millions of microscopic actions taken by staff, inventory systems, and customers every second. By encoding these discrete events into a unified historical sequence, Shopify constructs a functioning model of the merchant's business.
This allows Shopify to simulate counterfactual business decisions in a risk-free environment without gambling real-world capital or merchant survival: - Simulating the impact of running marketing campaigns across platforms like X (Twitter). - Modeling whether reducing shipping transit times by twenty-four hours tips a business into profitability. - Testing whether extending a tailored Shopify Capital loan will unlock an optimal sequence of business actions that guarantees growth.
Once an optimal path is identified within the simulation, Shopify proactively triggers real-world interventions—contacting the merchant with prescriptive recommendations or automated financial offerings. This capability has produced a measurable, direct impact on merchant success and Shopify's bottom line—a project that Parakhin notes "just wouldn't have been done" previously due to the sheer human talent and coordination required.
[07:28](https://www.youtube.com/watch?v=9GtcbnmldcY&t=448s) Transforming Engineering Leadership and Human-in-the-Loop Management
Parakhin previously believed language models were ill-suited for organizational management and team leadership, but reversed his stance after building an operational telemetry system. The system evaluates cross-team work patterns and flags risks before humans notice them: - Proactively alerting leadership when project delivery dates are mathematically drifting off course. - Identifying systemic friction points and team dissatisfaction before morale degrades into attrition.
At the same time, the technical demands placed on managers and senior engineers have intensified. Because models exhibit strong sycophancy—aiming to please by validating assumptions embedded within user prompts—a poorly articulated technical vision will immediately produce flawed implementations without the historical safety buffer of prolonged team debate.
Engineers are moving from typing code to acting as "second-level managers." Their primary responsibility is supervising autonomous agents, delegating and routing tasks effectively, maintaining global context across disparate agent streams, and resolving conflicting implementation patterns.
[09:41](https://www.youtube.com/watch?v=9GtcbnmldcY&t=581s) Advice for CTOs: The Barbell Strategy
For technical leaders scaling Claude across engineering organizations, the core mandate is to avoid artificial token throttling. Beyond having safety circuit breakers in place to kill runaway recursive loops, CTOs should avoid assuming smaller models are "good enough" for engineering workflows.
Parakhin outlines a strict **barbell token strategy**: - **Development, Coding, Architecture, and Research:** Commit the budget exclusively to the absolute largest, most capable frontier models available to maximize reasoning and capability. - **Production Execution:** Downscale, distill, or optimize for targeted, cost-effective inference once requirements and systems are finalized.
[10:40](https://www.youtube.com/watch?v=9GtcbnmldcY&t=640s) The Barbell Token Strategy: Cheaper Production, Unlimited Development
Mikhail Parakhin breaks down the operational philosophy behind Shopify's AI resource allocation, describing what amounts to an aggressive "barbell strategy." On the production side, the mandate is to ruthlessly optimize: fine-tune smaller, cheaper models and "auto-research the hell out of it" to strike the exact right trade-off between inference cost, throughput, and output quality. The substantial capital saved by running lean, highly tailored models in production is then redirected straight into internal development, where engineers are given maximum horsepower and the largest, most capable frontier models available. When a frontier jump occurs, the leap in engineering capability is monumental—a step change that Parakhin notes was on record as being vastly bigger than any prior generational shift.
He observes with bewilderment that many tech executives end up doing the exact opposite. Companies will pinch pennies on internal engineering workflows by restricting coding tokens, only to bleed money in live environments by naively routing production traffic through massive, oversized generalist models where they are not needed. For Parakhin, this inverted approach is a massive strategic blunder: "I feel like I will outcompete anybody who is not on that strategy."
```mermaid flowchart LR accTitle: The Barbell Token Strategy accDescr: Diagram illustrating Shopify's barbell token strategy balancing development and production.
subgraph Dev["Internal Development"] D1["Frontier LLMs"] --> D2["Unlimited Tokens"] D2 --> D3["Maximum Capability & Speed"] end
subgraph Prod["Production Services"] P1["Fine-Tuned Smaller Models"] --> P2["Auto-Researched Trade-offs"] P2 --> P3["Optimized Cost & Throughput"] end
Prod -.->|"Cost Savings Reinvested"| Dev ```
- **Production Optimization:** Use targeted, fine-tuned, and cost-effective models; systematically evaluate and benchmark throughput, latency, and quality. - **Development Investment:** Fund cutting-edge frontier model access without token caps for engineers, capturing the massive potential of architectural capability leaps. - **Common Industry Anti-Pattern:** Artificially throttling developer tokens while wastefully running expensive, oversized frontier models on repetitive production workloads.
---
[11:34](https://www.youtube.com/watch?v=9GtcbnmldcY&t=694s) The Stolen Retirement Project: Deciphering Linear A
The conversation takes a humorous, personal turn as Parakhin jokes about how Claude and host Boris ruined his lifelong passion project. Parakhin recounts how he would frequently tell friends that his ultimate retirement plan was to crack Linear A—the famous, still-undeciphered Bronze Age writing system used by the Minoan civilization on the island of Crete. For years, deciphering the ancient script had been his sacred personal intellectual pursuit, something he planned to finally conquer later in life, perhaps tinkering away on an old Commodore computer.
That dream was shattered when Boris posted a tweet showcasing how an AI researcher managed to make significant progress deciphering Linear A using Claude. Parakhin laments the moment with exasperated amusement: "Damn it, that was my whole spiel. Took my retirement project... I just didn't finish in time." Boris and Parakhin laugh over how rapidly frontier models are claiming even the most obscure, long-standing human puzzles before people can get around to working on them.
## Notable quotes > [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) making everything Gaussian — Mikhail Parakhin
> [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) raising the floor — Mikhail Parakhin
> [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) raising the ceiling — Mikhail Parakhin
> [00:35](https://www.youtube.com/watch?v=9GtcbnmldcY&t=35s) thousands of the best mathematicians — Mikhail Parakhin
> [04:42](https://www.youtube.com/watch?v=9GtcbnmldcY&t=282s) just wouldn't have been done — Mikhail Parakhin
> [07:28](https://www.youtube.com/watch?v=9GtcbnmldcY&t=448s) second-level managers — Mikhail Parakhin
> [09:41](https://www.youtube.com/watch?v=9GtcbnmldcY&t=581s) barbell token strategy — Mikhail Parakhin
> [10:40](https://www.youtube.com/watch?v=9GtcbnmldcY&t=640s) auto-research the hell out of it — Mikhail Parakhin
> [10:40](https://www.youtube.com/watch?v=9GtcbnmldcY&t=640s) I feel like I will outcompete anybody who is not on that strategy. — Mikhail Parakhin
> [11:34](https://www.youtube.com/watch?v=9GtcbnmldcY&t=694s) Damn it, that was my whole spiel. Took my retirement project... I just didn't finish in time. — Mikhail Parakhin
## Mentioned Boris, Claude, Claude Code, Commodore, Linear A, Mikhail Parakhin, Shopify, Shopify Capital, Tobi Lütke, Wasserstein loss function, X (Twitter)
## Video description Shopify's CTO on how Shopify uses Claude: unlimited tokens for everyone, always the largest model, and a digital twin of the company.
In this conversation with Boris, Shopify's CTO explains why the real value of working with Claude is in building things that weren't possible before. He describes solving a problem he'd worked on for seven years, how Shopify built a digital twin of the company, and the unique barbell strategy he recommends for getting the most out of Claude.
Have a question? Let us know in the comments.
Learn more about Claude Code: https://claude.com/claude-code
Chapters 0:00 How Shopify's CTO raises the ceiling with Claude 2:07 Measuring AI ROI and engineering productivity 3:32 Why Shopify gives every engineer unlimited tokens 4:42 Building a digital twin to predict merchant growth 7:28 AI for managing engineering teams 9:41 Advice for CTOs: the barbell token strategy
[Source](https://www.youtube.com/watch?v=9GtcbnmldcY)