Y CombinatorRyan Petersen: How Flexport Uses AI to Cut Freight Costs
Through hackathons targeting customs broker emails and container routing; Flexport automated decisions that made ocean freight measurably cheaper for importers.
At a glance
WHAT IT’S REALLY ABOUT
AI Supercharges Flexport, Slashing Global Shipping Costs And Complexity
- Flexport CEO Ryan Petersen explains how AI is transforming global logistics, enabling cheaper, faster, and more automated freight forwarding at scale.
- By combining classical optimization with LLM-based agents, Flexport is cutting ocean freight costs, improving transit times, and automating a rapidly growing share of operational work.
- The company leverages its existing scale, proprietary tech stack, and domain expertise to out-innovate incumbents while training non-technical staff into AI-powered "low-code" operators.
- Petersen also discusses broader economic and societal implications of AI-driven productivity, arguing that cheaper logistics can meaningfully raise global GDP and reshape trade.
IDEAS WORTH REMEMBERING
5 ideasAI can simultaneously cut freight costs and improve transit times.
Flexport’s planning models reduced ocean freight spend by 2% while improving transit times by 20%, breaking the typical trade-off where shipments are either cheaper or faster but not both.
Large incumbents with strong tech stacks have a structural AI advantage.
Flexport benefits from massive proprietary data, domain expertise, and instant distribution to thousands of customers, allowing it to integrate AI deeply into its own codebase—unlike competitors who treat tech as outsourced IT.
Bottom-up AI innovation via hackathons is yielding real product features.
Recent hackathons see ~90% of projects using LLMs, with multiple ideas graduating into live features like natural language analytics, showing that frontline engineers often spot the best AI applications.
Training non-engineers in AI tools multiplies organizational productivity.
Flexport’s internal AI bootcamp gives non-technical staff one day a week for 90 days to learn tools like Cursor and Streamlit, aiming to return them to their teams as dramatically more productive “low-code” builders who can automate their own workflows.
A large share of logistics workflows is automatable in the near term.
Flexport estimates it has automated about 20% of work at the start of the year, expects 50% by year’s end, and now believes 90–95% of current workflows could eventually be automated, materially lowering costs.
WORDS WORTH SAVING
5 quotesOur AI for that saved us 2% of our ocean freight spend while improving transit time 20%. Usually that's a trade-off—it's either faster or cheaper, but not both.
— Ryan Petersen
Our take is that we can make the price of shipping anything by ocean container shipping between eight and 10% cheaper over the next few years, and AI is a big part of that.
— Ryan Petersen
The role of companies is not to employ people. It's to deliver goods and services. Whoever employs the least number of people will have the lowest cost and win.
— Ryan Petersen
It's highly unlikely that the person at the top now knows best what the best applications are. Someone on the front line is gonna go, 'Hey, look, watch. It can do this.'
— Ryan Petersen
We want to get to a world where you can really ship anything anywhere by any means, any mode, in any quantity, and do it all via code.
— Ryan Petersen
High quality AI-generated summary created from speaker-labeled transcript.
Get more out of YouTube videos.
High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.
Add to Chrome