# Benjamin Cowen on Fine-Tuning AI Models with Modal _Benjamin Cowen from Modal discusses the shift towards custom, fine-tuned AI models and how serverless platforms simplify this process._ **Published:** 2026-06-02 **Source:** https://www.startuphub.ai/ai-news/artificial-intelligence/2026/benjamin-cowen-on-fine-tuning-ai-models-with-modal --- Benjamin Cowen, a Forward Deployed Machine Learning Engineer at Modal, recently presented on the topic of "What Lies Beneath the API," exploring the evolving landscape of AI model development and deployment. Cowen discussed the growing trend of companies fine-tuning their own models rather than solely relying on general-purpose APIs, and how serverless platforms are making this more accessible. Frontier APIsContext From the article 3 mentionsCowen introduced the concept of the "Model Spectrum," illustrating a progression from using readily available "Frontier APIs" to building and managing models on "Scratch Servers." Frontier APIs offer a quick start with no infrastructure overhead and access to powerful, pre-trained models.Scratch ServersContextfull control, precise fine-tuning for specific needsFrom the article 2 mentionsOn the other end of the spectrum, Scratch Servers provide full control and the ability to fine-tune models precisely to specific needs.Key Fine-Tuning SignalsContextidentifying when custom models are beneficialModel SpectrumContextprogression from general APIs to custom solutionsFrom the article 9+ mentionsOn the other end of the spectrum, Scratch Servers provide full control and the ability to fine-tune models precisely to specific needs.showsDomain-Specific ModelsDrivergrowing trend for tailored AI performanceFrom the article 9+ mentionsThis trend signifies a shift in how AI is viewed: models are becoming raw materials, and the fine-tuned, domain-specific system is the actual product.Need for Fine-TuningDrivercustomization unlocks better, predictable AI performanceFrom the article 9 mentionsCowen highlighted that as companies mature, they increasingly need to fine-tune models on proprietary data to achieve better performance, lower latency, and custom functionality.requiresServerless InfrastructureCoresimplifies AI training and inference processesFrom the article 8 mentionsThis is facilitated by open-source libraries and serverless infrastructure that handles parallel hyperparameter sweeps and scaling.enablesAccessible Custom AIEffectFrom the article 4 mentionsCowen discussed the growing trend of companies fine-tuning their own models rather than solely relying on general-purpose APIs, and how serverless platforms are making this more accessible. ## The Model Spectrum: From Frontier API to Custom Solutions Cowen introduced the concept of the "Model Spectrum," illustrating a progression from using readily available "Frontier APIs" to building and managing models on "Scratch Servers." Frontier APIs offer a quick start with no infrastructure overhead and access to powerful, pre-trained models. However, they lack customization and can sometimes yield unpredictable performance. On the other end of the spectrum, Scratch Servers provide full control and the ability to fine-tune models precisely to specific needs. This approach offers maximum customization and allows for the definition of custom metrics. The trade-off is the significant burden of infrastructure management, including cluster management and self-maintenance of software stacks. ## The Rise of Domain-Specific Models and the Need for Fine-Tuning Cowen highlighted that as companies mature, they increasingly need to fine-tune models on proprietary data to achieve better performance, lower latency, and custom functionality. He cited examples like Intercom's Fin Apex, which reportedly beat GPT-5.4 at 1/5th the cost, and Pinterest CEO Ben Silbermann's statement about achieving "orders of magnitude reduction in cost" by fine-tuning open-source models versus using frontier APIs. This trend signifies a shift in how AI is viewed: models are becoming raw materials, and the fine-tuned, domain-specific system is the actual product. Cowen emphasized that this fine-tuning process is becoming more accessible. ## Serverless Infrastructure for AI Training and Inference The presentation showcased how serverless platforms like Modal are bridging the gap between ease of use and control. Cowen explained that Modal's infrastructure, which includes unified GPUs and sandboxed environments, makes large-scale AI training and inference feasible with significantly less code and management overhead. He demonstrated that fine-tuning models, such as those for large language models (LLMs) or reinforcement learning (RL) tasks, can be achieved with surprisingly concise codebases, often in as little as 300 lines of Python. This is facilitated by open-source libraries and serverless infrastructure that handles parallel hyperparameter sweeps and scaling. Cowen provided code examples illustrating how to set up fine-tuning jobs and deploy models efficiently. He noted that the ability to scale containers on demand and the abstraction of infrastructure management are key benefits of using such platforms. This allows developers to focus on model development and data curation rather than infrastructure plumbing. ## Key Signals for Fine-Tuning Cowen also outlined several signals that indicate it might be time for a product to transition to a fine-tuned, domain-specific model: - Evaluations are plateauing despite prompt work. - There is a need for lower latency or higher throughput. - Unit economics are not scaling effectively. - Core functionality is still developing. - There's a lack of collected, relevant data for prompt engineering. He concluded by emphasizing that if a product has already involved agent harnessing, evaluation suites, AI engineers, and data collection, the hard part of building a domain-specific model may already be done, making the transition to fine-tuning a logical next step. --- Original analysis from [startuphub.ai](https://www.startuphub.ai), the #1 AI startup directory.