<?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: Imad ERRACHIDI</title>
    <description>The latest articles on DEV Community by Imad ERRACHIDI (@imad_errachidi_0c00845672).</description>
    <link>https://dev.to/imad_errachidi_0c00845672</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%2F4225251%2F373332a7-89ee-406b-b8f9-fbfa68eb7306.png</url>
      <title>DEV Community: Imad ERRACHIDI</title>
      <link>https://dev.to/imad_errachidi_0c00845672</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/imad_errachidi_0c00845672"/>
    <language>en</language>
    <item>
      <title>I track how much each provider charges for the same open LLM: Llama 3.3 70B ranges from $0.155 to $0.78 per 1M tokens</title>
      <dc:creator>Imad ERRACHIDI</dc:creator>
      <pubDate>Wed, 04 Nov 2026 02:24:55 +0000</pubDate>
      <link>https://dev.to/imad_errachidi_0c00845672/i-track-how-much-each-provider-charges-for-the-same-open-llm-llama-33-70b-ranges-from-0155-to-9me</link>
      <guid>https://dev.to/imad_errachidi_0c00845672/i-track-how-much-each-provider-charges-for-the-same-open-llm-llama-33-70b-ranges-from-0155-to-9me</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: this is my own project.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you call an open-weight model through an API, the price you pay depends heavily on &lt;strong&gt;who&lt;/strong&gt; serves it. The same model, same weights, can cost several times more at one provider than at another.&lt;/p&gt;

&lt;p&gt;I built a small monitor that checks this every 5 minutes. Here's how it works and what it's finding.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Every 5 minutes it reads OpenRouter's &lt;strong&gt;public&lt;/strong&gt; per-model endpoint data (no API key needed). That list includes every provider serving a model and its per-token price.&lt;/li&gt;
&lt;li&gt;For each provider it computes a &lt;strong&gt;blended cost per 1M tokens&lt;/strong&gt;, assuming 3 input tokens for every output token.&lt;/li&gt;
&lt;li&gt;It excludes endpoints that are currently down (negative status or 0% recent uptime).&lt;/li&gt;
&lt;li&gt;It computes the median, mean and standard deviation per model, and flags providers that are &lt;strong&gt;15% or more below the median&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;It warns when the cheapest provider uses a different &lt;strong&gt;quantization&lt;/strong&gt; than the most expensive one, because fp4 vs fp16 is not a fair comparison.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It runs as an n8n workflow with a duplicate filter, so the same provider/model pair is not re-alerted for 6 hours unless the price moves by more than 5%.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it's finding right now
&lt;/h2&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;Cheapest&lt;/th&gt;
&lt;th&gt;Median&lt;/th&gt;
&lt;th&gt;Providers&lt;/th&gt;
&lt;th&gt;Note&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Llama 3.3 70B&lt;/td&gt;
&lt;td&gt;DeepInfra $0.155/M&lt;/td&gt;
&lt;td&gt;$0.64/M&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;fp8 on both ends&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Llama 3.1 8B&lt;/td&gt;
&lt;td&gt;DeepInfra $0.025/M&lt;/td&gt;
&lt;td&gt;$0.12/M&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;quantization differs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemma 3 27B&lt;/td&gt;
&lt;td&gt;DeepInfra $0.10/M&lt;/td&gt;
&lt;td&gt;$0.149/M&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;fp8 on both ends&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gpt-oss-120b&lt;/td&gt;
&lt;td&gt;~$0.04-0.06/M&lt;/td&gt;
&lt;td&gt;$0.20/M&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;td&gt;cheapest are fp4/int4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  When this is (and isn't) useful
&lt;/h2&gt;

&lt;p&gt;If you route through OpenRouter's default settings, you are probably already getting the cheap end, since its default routing favours price.&lt;/p&gt;

&lt;p&gt;It's more useful if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;you're contracted &lt;strong&gt;directly&lt;/strong&gt; with one provider and never compared,&lt;/li&gt;
&lt;li&gt;you pin providers manually for latency, context length or quantization and want to know what that choice costs,&lt;/li&gt;
&lt;li&gt;you're choosing where to self-serve volume.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Caveats
&lt;/h2&gt;

&lt;p&gt;These are &lt;strong&gt;list prices&lt;/strong&gt;. They ignore latency, throughput, rate limits and reliability, and a cheaper endpoint may have a shorter context window or lower precision. Check those, and the provider's terms, before switching.&lt;/p&gt;

&lt;h2&gt;
  
  
  Follow the alerts
&lt;/h2&gt;

&lt;p&gt;Alerts are posted to a free Telegram channel: &lt;a href="https://t.me/+CWPuVJAQrXozYTZk" rel="noopener noreferrer"&gt;https://t.me/+CWPuVJAQrXozYTZk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback on the methodology is very welcome, especially on better ways to weight input vs output tokens or to factor in throughput.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>showdev</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
