<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: pruthvep</title>
    <description>The latest articles on DEV Community by pruthvep (@pruthvep).</description>
    <link>https://dev.to/pruthvep</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4088769%2F98eaa974-25df-4977-8582-45abb51444d1.png</url>
      <title>DEV Community: pruthvep</title>
      <link>https://dev.to/pruthvep</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pruthvep"/>
    <language>en</language>
    <item>
      <title>**Companies may be wasting money on LLM calls.**</title>
      <dc:creator>pruthvep</dc:creator>
      <pubDate>Fri, 21 Aug 2026 23:11:05 +0000</pubDate>
      <link>https://dev.to/pruthvep/companies-may-be-wasting-money-on-llm-calls-3b8e</link>
      <guid>https://dev.to/pruthvep/companies-may-be-wasting-money-on-llm-calls-3b8e</guid>
      <description>&lt;p&gt;&lt;strong&gt;Companies may be wasting money on LLM calls.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Many AI applications send every prompt to the same powerful model — whether it's a simple question or complex reasoning.&lt;/p&gt;

&lt;p&gt;But does every prompt really need the most expensive model?&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;AI Router&lt;/strong&gt; to test that idea.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Instead of:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Every Prompt → One Model&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;AI Router does:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Prompt → Classification → Difficulty → Routing Policy → Best Model&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It benchmarks &lt;strong&gt;OpenAI, Gemini, and Claude&lt;/strong&gt; on both quality and API cost, then routes prompts based on those results.&lt;/p&gt;

&lt;h2&gt;
  
  
  Initial Results
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F717o3snl48byyuapqden.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F717o3snl48byyuapqden.png" alt="AI Router Quality vs Cost Benchmark " width="800" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Quality&lt;/th&gt;
&lt;th&gt;Avg. Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;td&gt;96.90&lt;/td&gt;
&lt;td&gt;$0.0029509&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini&lt;/td&gt;
&lt;td&gt;95.75&lt;/td&gt;
&lt;td&gt;$0.0012094&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude&lt;/td&gt;
&lt;td&gt;93.35&lt;/td&gt;
&lt;td&gt;$0.0032733&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The interesting result:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gemini was only 1.15 quality points below OpenAI, while its measured average request cost was ~59% lower.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This doesn't mean Gemini is always better. It shows why using the same model for every workload may not be the most cost-efficient approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It Live
&lt;/h2&gt;

&lt;p&gt;Want to see how the router handles your prompt?&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://ai-router-rej2.vercel.app/" rel="noopener noreferrer"&gt;Try AI Router Live&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enter a prompt and see how AI Router classifies the request and selects a model based on its routing policy.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/pruthvep/ai-router" rel="noopener noreferrer"&gt;View the Source Code on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;This is still an &lt;strong&gt;MVP with a small benchmark&lt;/strong&gt;, so these results shouldn't be treated as universal model rankings.&lt;/p&gt;

&lt;p&gt;Next, I'm testing &lt;strong&gt;100–500+ prompts&lt;/strong&gt; to compare:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Always use the strongest model&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;vs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dynamically route to the best quality/cost model&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'll measure:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost • Quality • Latency • Reliability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The question I'm trying to answer is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;How much can intelligent LLM routing reduce cost without significantly sacrificing quality?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;Built with &lt;strong&gt;Go, Gin, OpenAI, Gemini, Claude, Next.js, and TypeScript&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open to Opportunities
&lt;/h2&gt;

&lt;p&gt;I'm currently exploring &lt;strong&gt;AI/LLM Engineering, Backend Engineering, and AI Infrastructure opportunities&lt;/strong&gt; where I can work on problems involving model routing, RAG, agents, and production AI systems.&lt;/p&gt;

&lt;p&gt;If your team is working on similar problems, I'd love to connect.&lt;/p&gt;

&lt;p&gt;I'm also open to feedback and conversations with engineers building production LLM systems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>go</category>
      <category>machinelearning</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
