Erik Bernhardsson: 9 Career Milestones That Shaped an AI Infrastructure Pioneer
Poulami Saha
Physics at KTH Royal Institute of Technology: Bernhardsson earned an M.Sc. in Physics from KTH, combining mathematical thinking with software engineering and programming expertise.
International programming competitions: During school and university, he competed internationally, winning an IOI gold medal and reaching ACM-ICPC world finals twice.
Google Switzerland internship: Before joining Spotify, Bernhardsson gained industry experience as a software engineering intern at Google’s Zurich office.
Joined Spotify in 2008: Bernhardsson began at Spotify through his master’s thesis, developing an early prototype for automatic music recommendations using collaborative filtering.
Built Spotify’s recommendation system: He helped create recommendation technology behind products including Related Artists, Radio and Discover Weekly, influencing music discovery globally.
Created influential open-source tools: At Spotify, he open-sourced Luigi and Annoy, tools addressing workflow management and approximate nearest-neighbour search for developers.
Led Better.com’s technology team: From 2015 to 2021, Bernhardsson ran Better.com’s technology organisation, scaling its team to roughly 300 people.
Founded Modal Labs: In 2021, Bernhardsson launched Modal, focusing on cloud infrastructure that helps developers deploy and scale data and AI workloads.
Modal reaches USD 4.65 billion valuation: In May 2026, Modal raised USD 355 million in Series C funding, lifting its valuation to USD 4.65 billion amid surging AI infrastructure demand.