{"embed":false,"podcast":"Latent Space: The AI Engineer Podcast","podcast_slug":"Latent-Space-The-AI-Engineer-Podcast","tags":[],"thumbnail_url":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","episode":"97% Cheaper, Faster, Better, Correct AI — with Varun Mohan of Codeium","episode_slug":"Latent-Space-The-AI-Engineer-Podcast-97-Cheaper-Faster-Better-Correct-AI-with-Varun-Mohan-of-Codeium","description":"OpenAI just rollicked the AI world yet again yesterday — while releasing the long awaited ChatGPT API, they also priced it at $2 per million tokens generated, which is 90% cheaper than the text-davinci-003 pricing of the “GPT3.5” family. Their blogpost on how they did it is vague: Through a series of system-wide optimizations, we’ve achieved 90% cost reduction for ChatGPT since December; we’re now passing through those savings to API users.We were fortunate enough to record Episode 2 of our podcast with someone who routinely creates 90%+ improvements for their customers, and in fact have started productizing their own infra skills with Codeium, the rapidly growing free-forever Copilot alternative (see What Building “Copilot for X” Really Takes). Varun Mohan is CEO of Exafunction/Codeium, and he indulged us in diving deep into AI infrastructure, compute-optimal training vs inference tradeoffs, and why he loves suffering.Recorded in-person at the beautiful StudioPod studios in San Francisco.Full transcript is below the fold. Timestamps* 00:00: Intro to Varun and Exafunction* 03:06: GPU Efficiency, Model Flop Utilization, Dynamic Multiplexing* 05:30: Should companies own their ML infrastructure?* 07:00: The two kinds of LLM Applications* 08:30: Codeium* 14:50: “Our growth is 4-5% day over day”* 16:30: Latency, Quality, and Correctability* 20:30: Acceleration mode vs Exploration mode* 22:00: Copilot for X - Harvey AI’s deal with Allen &amp; Overy* 25:00: Scaling Laws (Chinchilla)* 28:45: “The compute-optimal model might not be easy to serve”* 30:00: Smaller models* 32:30: Deepmind Retro can retrieve external infromation* 34:30: Implications for embedding databases* 37:10: LLMOps - Eval, Data Cleaning* 39:45: Testing/User feedback* 41:00: “Users Is All You Need”* 42:45: General Intelligence + Domain Specific Dataset* 43:15: The God Nvidia computer* 46:00: Lightning roundShow notes* Varun Mohan Linkedin* Exafunction* Blogpost: Are GPUs Worth it for ML* Codeium* Copilot statistics* Eleuther’s The Pile and The Stack* What Building “Copilot for X” Really Takes* Copilot for X* Harvey, Copilot for Law - deal with Allen &amp; Overy* Scaling Laws* Training Compute-Optimal Large Language Models - arXiv (Chinchilla paper)* chinchilla's wild implications (LessWrong)* UL2 20B: An Open Source Unified Language Learner (20B)* Paper - Deepmind Retro* “Does it make your beer taste better”* HumanEval benchmark/dataset* Reverse Engineering Copilot internals* ","release_date":"2 Mar 2023","episode_embed_code":"<iframe src=\"https://api.pastimeapp.com/embed/Latent-Space-The-AI-Engineer-Podcast-97-Cheaper-Faster-Better-Correct-AI-with-Varun-Mohan-of-Codeium\" height=\"170px\" width=\"100%\" style=\"width: 1px; min-width: 100%; border: 1px dashed rgba(0,0,0,0.1); border-radius: 10px\" frameborder=\"0\" scrolling=\"no\" loading=\"lazy\"></iframe>","episode_share_url":"https://api.pastimeapp.com/ep/Latent-Space-The-AI-Engineer-Podcast-97-Cheaper-Faster-Better-Correct-AI-with-Varun-Mohan-of-Codeium","podcast_share_url":"https://api.pastimeapp.com/pod/Latent-Space-The-AI-Engineer-Podcast","audio_url":"https://api.substack.com/feed/podcast/106013498/740a873827a2f0c90db85382116d1559.mp3","ads":[],"meta":{"title":"Latent Space: The AI Engineer Podcast: 97% Cheaper, Faster, Better, Correct AI — with Varun Mohan of Codeium","description":"From Latent Space: The AI Engineer Podcast. OpenAI just rollicked the AI world yet again yesterday — while releasing the long awaited ChatGPT API, they also priced it at $2 per million tokens generated, which is 90% cheaper than the text-davinci-003 pricing of the “GPT3.5” family. Their blogpost on how they did it is vague: Through a series of system-wide optimizations, we’ve achieved 90% cost reduction for ChatGPT since December; we’re now passing through those savings to API users.We were fortunate enough to record Episode 2 of our podcast with someone who routinely creates 90%+ improvements for their customers, and in fact have started productizing their own infra skills with Codeium, the rapidly growing free-forever Copilot alternative (see What Building “Copilot for X” Really Takes). Varun Mohan is CEO of Exafunction/Codeium, and he indulged us in diving deep into AI infrastructure, compute-optimal training vs inference tradeoffs, and why he loves suffering.Recorded in-person at the beautiful StudioPod studios in San Francisco.Full transcript is below the fold. Timestamps* 00:00: Intro to Varun and Exafunction* 03:06: GPU Efficiency, Model Flop Utilization, Dynamic Multiplexing* 05:30: Should companies own their ML infrastructure?* 07:00: The two kinds of LLM Applications* 08:30: Codeium* 14:50: “Our growth is 4-5% day over day”* 16:30: Latency, Quality, and Correctability* 20:30: Acceleration mode vs Exploration mode* 22:00: Copilot for X - Harvey AI’s deal with Allen &amp; Overy* 25:00: Scaling Laws (Chinchilla)* 28:45: “The compute-optimal model might not be easy to serve”* 30:00: Smaller models* 32:30: Deepmind Retro can retrieve external infromation* 34:30: Implications for embedding databases* 37:10: LLMOps - Eval, Data Cleaning* 39:45: Testing/User feedback* 41:00: “Users Is All You Need”* 42:45: General Intelligence + Domain Specific Dataset* 43:15: The God Nvidia computer* 46:00: Lightning roundShow notes* Varun Mohan Linkedin* Exafunction* Blogpost: Are GPUs Worth it for ML* Codeium* Copilot statistics* Eleuther’s The Pile and The Stack* What Building “Copilot for X” Really Takes* Copilot for X* Harvey, Copilot for Law - deal with Allen &amp; Overy* Scaling Laws* Training Compute-Optimal Large Language Models - arXiv (Chinchilla paper)* chinchilla's wild implications (LessWrong)* UL2 20B: An Open Source Unified Language Learner (20B)* Paper - Deepmind Retro* “Does it make your beer taste better”* HumanEval benchmark/dataset* Reverse Engineering Copilot internals* ","image":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","twitter":{"card_type":"summary"}},"episode_data":{"id":1816537214,"guid":"substack:post:106013498","slug":"Latent-Space-The-AI-Engineer-Podcast-97-Cheaper-Faster-Better-Correct-AI-with-Varun-Mohan-of-Codeium","title":"97% Cheaper, Faster, Better, Correct AI — with Varun Mohan of Codeium","alias":null,"description":"<p>OpenAI just rollicked the AI world yet again yesterday — while releasing the long awaited ChatGPT API, they <em>also</em> priced it at $2 per million tokens generated, which is 90% cheaper than the text-davinci-003 pricing of the “GPT3.5” family. <a target=\"_blank\" href=\"https://openai.com/blog/introducing-chatgpt-and-whisper-apis\" rel=\"noreferrer\">Their blogpost</a> on <em>how </em>they did it is vague: <em>Through a series of system-wide optimizations, we’ve achieved 90% cost reduction for ChatGPT since December; we’re now passing through those savings to API users.</em></p><p>We were fortunate enough to record Episode 2 of our podcast with someone who routinely creates 90%+ improvements for their customers, and in fact have started productizing their own infra skills with Codeium, the rapidly growing <strong>free-forever</strong> Copilot alternative (see <a target=\"_blank\" href=\"https://lspace.swyx.io/p/what-building-copilot-for-x-really\" rel=\"noreferrer\">What Building “Copilot for X” Really Takes</a>). <a target=\"_blank\" href=\"https://www.linkedin.com/in/varunkmohan/\" rel=\"noreferrer\">Varun Mohan</a> is CEO of Exafunction/Codeium, and he indulged us in diving deep into AI infrastructure, compute-optimal training vs inference tradeoffs, and why he loves suffering.</p><p><em>Recorded in-person at the beautiful </em><a target=\"_blank\" href=\"https://studiopodmedia.com/\" rel=\"noreferrer\"><em>StudioPod</em></a><em> studios in San Francisco.</em></p><p><em>Full transcript is below the fold.</em></p><p> </p><p><strong>Timestamps</strong></p><p>* 00:00: Intro to Varun and Exafunction</p><p>* 03:06: GPU Efficiency, Model Flop Utilization, Dynamic Multiplexing</p><p>* 05:30: Should companies own their ML infrastructure?</p><p>* 07:00: The two kinds of LLM Applications</p><p>* 08:30: Codeium</p><p>* 14:50: “Our growth is 4-5% day over day”</p><p>* 16:30: Latency, Quality, and Correctability</p><p>* 20:30: Acceleration mode vs Exploration mode</p><p>* 22:00: Copilot for X - Harvey AI’s deal with Allen &amp; Overy</p><p>* 25:00: Scaling Laws (Chinchilla)</p><p>* 28:45: “The compute-optimal model might not be easy to serve”</p><p>* 30:00: Smaller models</p><p>* 32:30: Deepmind Retro can retrieve external infromation</p><p>* 34:30: Implications for embedding databases</p><p>* 37:10: LLMOps - Eval, Data Cleaning</p><p>* 39:45: Testing/User feedback</p><p>* 41:00: “Users Is All You Need”</p><p>* 42:45: General Intelligence + Domain Specific Dataset</p><p>* 43:15: The God Nvidia computer</p><p>* 46:00: Lightning round</p><p><strong>Show notes</strong></p><p>* <a target=\"_blank\" href=\"https://www.linkedin.com/in/varunkmohan/\" rel=\"noreferrer\">Varun Mohan Linkedin</a></p><p>* <a target=\"_blank\" href=\"https://www.exafunction.com/\" rel=\"noreferrer\">Exafunction</a></p><p>* Blogpost: <a target=\"_blank\" href=\"https://exafunction.com/blog/are-gpus-worth-it\" rel=\"noreferrer\">Are GPUs Worth it for ML</a></p><p>* <a target=\"_blank\" href=\"https://www.codeium.com/\" rel=\"noreferrer\">Codeium</a></p><p>* <a target=\"_blank\" href=\"https://www.bleepingcomputer.com/news/security/github-copilot-update-stops-ai-model-from-revealing-secrets/\" rel=\"noreferrer\">Copilot statistics</a></p><p>* <a target=\"_blank\" href=\"https://pile.eleuther.ai/\" rel=\"noreferrer\">Eleuther’s The Pile</a> and <a target=\"_blank\" href=\"https://huggingface.co/datasets/bigcode/the-stack-dedup\" rel=\"noreferrer\">The Stack</a></p><p>* <a target=\"_blank\" href=\"https://lspace.swyx.io/p/what-building-copilot-for-x-really\" rel=\"noreferrer\">What Building “Copilot for X” Really Takes</a></p><p>* Copilot for X</p><p>* <a target=\"_blank\" href=\"https://analyticsindiamag.com/meet-harvey-the-copilot-for-lawyers/\" rel=\"noreferrer\">Harvey, Copilot for Law - deal with Allen &amp; Overy</a></p><p>* Scaling Laws</p><p>* <a target=\"_blank\" href=\"https://arxiv.org/abs/2203.15556\" rel=\"noreferrer\">Training Compute-Optimal Large Language Models - arXiv</a> (Chinchilla paper)</p><p>* <a target=\"_blank\" href=\"https://www.lesswrong.com/posts/6Fpvch8RR29qLEWNH/chinchilla-s-wild-implications\" rel=\"noreferrer\">chinchilla's wild implications</a> (LessWrong)</p><p>* <a target=\"_blank\" href=\"https://ai.googleblog.com/2022/10/ul2-20b-open-source-unified-language.html\" rel=\"noreferrer\">UL2 20B: An Open Source Unified Language Learner</a> (20B)</p><p>* Paper - <a target=\"_blank\" href=\"https://www.deepmind.com/publications/improving-language-models-by-retrieving-from-trillions-of-tokens\" rel=\"noreferrer\">Deepmind Retro</a></p><p>* “<a target=\"_blank\" href=\"https://podup.substack.com/p/jeff-bezoss-beer-tasting-analogy\" rel=\"noreferrer\">Does it make your beer taste better</a>”</p><p>* <a target=\"_blank\" href=\"https://github.com/openai/human-eval\" rel=\"noreferrer\">HumanEval benchmark</a>/dataset</p><p>* <a target=\"_blank\" href=\"https://news.ycombinator.com/item?id=34032872\" rel=\"noreferrer\">Reverse Engineering Copilot internals</a></p><p>* </p>","transcript":"","deepgram":null,"categories":"Technology,Science","duration":3052,"episode_number":null,"season":null,"episode_type":null,"release_date":"2023-03-02T14:38:40.000Z","audio_url":"https://api.substack.com/feed/podcast/106013498/740a873827a2f0c90db85382116d1559.mp3","image_url":null,"player_url":"/ep/Latent-Space-The-AI-Engineer-Podcast-97-Cheaper-Faster-Better-Correct-AI-with-Varun-Mohan-of-Codeium","valid":true,"accessTier":null,"created":"2026-10-12T06:04:09.239Z","updated":"2026-10-12T06:04:09.239Z","podcastId":1790,"podcast":{"id":1790,"slug":"Latent-Space-The-AI-Engineer-Podcast","name":"Latent Space: The AI Engineer Podcast","alias":null,"network":"","author":"Latent.Space","rss_url":"https://rss.flightcast.com/vgnxzgiwwzwke85ym53fjnzu.xml","description":"The podcast by and for AI Engineers! In 2025, over 10 million readers and listeners came to Latent Space to hear about news, papers and interviews in Software 3.0.\n\nWe cover Foundation Models changing every domain in Code Generation, Multimodality, AI Agents, GPU Infra and more, directly from the founders, builders, and thinkers involved in pushing the cutting edge. Striving to give you both the definitive take on the Current Thing down to the first introduction to the tech you'll be using in the next 3 months! We break news and exclusive interviews from OpenAI, Anthropic, Gemini, Meta (Soumith Chintala), Sierra (Bret Taylor), tiny (George Hotz), Databricks/MosaicML (Jon Frankle), Modular (Chris Lattner), Answer.ai (Jeremy Howard), et al. \n\nFull show notes always on https://latent.space\n\nSponsorship and business inquiries: business@latent.space <br /><br /><a href=\"https://www.latent.space?utm_medium=podcast\" rel=\"noreferrer\" target=\"_blank\">www.latent.space</a>","categories":"Technology,Science","itunes_type":null,"itunesTypeSource":null,"image_url":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","thumbnail_url":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","error":false,"errorSince":null,"errorReason":null,"feedChangedAt":null,"tagsEditedAt":null,"hiddenAt":null,"hiddenReason":null,"endedAt":null,"popularity":0,"language":null,"country":null,"countrySource":null,"created":"2025-05-05T18:03:19.009Z","updated":"2026-10-12T06:04:09.239Z","tags":[]},"captions":[]},"podcast_data":{"id":1790,"slug":"Latent-Space-The-AI-Engineer-Podcast","name":"Latent Space: The AI Engineer Podcast","alias":null,"network":"","author":"Latent.Space","rss_url":"https://rss.flightcast.com/vgnxzgiwwzwke85ym53fjnzu.xml","description":"The podcast by and for AI Engineers! In 2025, over 10 million readers and listeners came to Latent Space to hear about news, papers and interviews in Software 3.0.\n\nWe cover Foundation Models changing every domain in Code Generation, Multimodality, AI Agents, GPU Infra and more, directly from the founders, builders, and thinkers involved in pushing the cutting edge. Striving to give you both the definitive take on the Current Thing down to the first introduction to the tech you'll be using in the next 3 months! We break news and exclusive interviews from OpenAI, Anthropic, Gemini, Meta (Soumith Chintala), Sierra (Bret Taylor), tiny (George Hotz), Databricks/MosaicML (Jon Frankle), Modular (Chris Lattner), Answer.ai (Jeremy Howard), et al. \n\nFull show notes always on https://latent.space\n\nSponsorship and business inquiries: business@latent.space <br /><br /><a href=\"https://www.latent.space?utm_medium=podcast\" rel=\"noreferrer\" target=\"_blank\">www.latent.space</a>","categories":"Technology,Science","itunes_type":null,"itunesTypeSource":null,"image_url":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","thumbnail_url":"https://substackcdn.com/feed/podcast/1084089/ca7468da5614a246d2906ee8926f6de7.jpg","error":false,"errorSince":null,"errorReason":null,"feedChangedAt":null,"tagsEditedAt":null,"hiddenAt":null,"hiddenReason":null,"endedAt":null,"popularity":0,"language":null,"country":null,"countrySource":null,"created":"2025-05-05T18:03:19.009Z","updated":"2026-10-12T06:04:09.239Z","tags":[]}}