<?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: Jerzy Kopaczewski</title>
    <description>The latest articles on DEV Community by Jerzy Kopaczewski (@jerzy_kopaczewski_ef8ede6).</description>
    <link>https://dev.to/jerzy_kopaczewski_ef8ede6</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%2F3896095%2F7ce8d2c9-5f82-4eb0-aec9-b359f600db09.jpg</url>
      <title>DEV Community: Jerzy Kopaczewski</title>
      <link>https://dev.to/jerzy_kopaczewski_ef8ede6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jerzy_kopaczewski_ef8ede6"/>
    <language>en</language>
    <item>
      <title>I compared the real cost of running LLMs on AWS - here's when each option makes sense</title>
      <dc:creator>Jerzy Kopaczewski</dc:creator>
      <pubDate>Mon, 20 Jul 2026 09:58:11 +0000</pubDate>
      <link>https://dev.to/jerzy_kopaczewski_ef8ede6/i-compared-the-real-cost-of-running-llms-on-aws-heres-when-each-option-makes-sense-4o61</link>
      <guid>https://dev.to/jerzy_kopaczewski_ef8ede6/i-compared-the-real-cost-of-running-llms-on-aws-heres-when-each-option-makes-sense-4o61</guid>
      <description>&lt;p&gt;AWS gives you three ways to run LLM inference in production. I've deployed all three for clients and the decision always comes down to the same variables: volume, team size, and how much you value your weekends.&lt;/p&gt;

&lt;p&gt;Here's the short version.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three paths
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Bedrock&lt;/strong&gt; — Fully managed, pay-per-token. You call an API, you get tokens back. No GPUs, no cold starts, no 3am pages about OOM pods.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SageMaker Endpoints&lt;/strong&gt; - Semi-managed. You bring your model (or a fine-tuned one), deploy it on dedicated instances, and handle autoscaling. Pay per hour whether you're serving requests or not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Self-hosted on EKS&lt;/strong&gt; — Full control. vLLM or TGI on GPU spot instances with Karpenter. Cheapest per token at scale, most operational overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost crossover that matters
&lt;/h2&gt;

&lt;p&gt;This is the table I keep coming back to with every client:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Volume&lt;/th&gt;
&lt;th&gt;Bedrock (Haiku)&lt;/th&gt;
&lt;th&gt;SageMaker (g5.xlarge)&lt;/th&gt;
&lt;th&gt;EKS (g5.xlarge spot)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1K req/day&lt;/td&gt;
&lt;td&gt;~$36/mo ✓&lt;/td&gt;
&lt;td&gt;~$1,015/mo&lt;/td&gt;
&lt;td&gt;~$674/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50K req/day&lt;/td&gt;
&lt;td&gt;~$1,800/mo&lt;/td&gt;
&lt;td&gt;~$1,015/mo&lt;/td&gt;
&lt;td&gt;~$674/mo ✓&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;500K req/day&lt;/td&gt;
&lt;td&gt;~$18,000/mo&lt;/td&gt;
&lt;td&gt;~$6,090/mo&lt;/td&gt;
&lt;td&gt;~$2,022/mo ✓&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The crossover point where self-hosting beats Bedrock: &lt;strong&gt;10,000–20,000 requests/day&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Below that, Bedrock wins on simplicity alone. Above it, you're leaving serious money on the table.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hidden cost nobody models upfront
&lt;/h2&gt;

&lt;p&gt;Teams prototype on Bedrock (smart move — it's the fastest path to production). But the cost curve isn't linear. At 10K requests/day it's cheap. At 50K it's "we need to talk to finance." At 500K it's a rearchitecture project.&lt;/p&gt;

&lt;p&gt;The mistake is not choosing Bedrock at low volume. The mistake is not planning the exit path before you need it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick decision framework
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You should pick...&lt;/th&gt;
&lt;th&gt;When...&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bedrock&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No ML infra team, &amp;lt;50K req/day, need frontier models (Claude, Llama)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SageMaker&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Fine-tuned models, predictable traffic, need dedicated VPC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;EKS self-hosted&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&amp;gt;100K req/day, open-source models, dedicated platform team&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What I actually recommend
&lt;/h2&gt;

&lt;p&gt;Use a hybrid. Most production systems I've deployed use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bedrock&lt;/strong&gt; for complex reasoning and customer-facing chat (low volume, high quality)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-hosted vLLM on EKS&lt;/strong&gt; for classification, extraction, and embeddings (high volume, cost-sensitive)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Route by task complexity. Best of both worlds.&lt;/p&gt;

&lt;h2&gt;
  
  
  The full breakdown
&lt;/h2&gt;

&lt;p&gt;I wrote a detailed guide covering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;July 2026 pricing tables for all three options&lt;/li&gt;
&lt;li&gt;Latency benchmarks (TTFT p50/p99)&lt;/li&gt;
&lt;li&gt;Karpenter NodePool manifests for GPU spot instances&lt;/li&gt;
&lt;li&gt;vLLM Kubernetes deployment YAML&lt;/li&gt;
&lt;li&gt;SageMaker autoscaling configuration&lt;/li&gt;
&lt;li&gt;Bedrock Guardrails for regulated workloads&lt;/li&gt;
&lt;li&gt;eu-west-2 data residency considerations for UK organisations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://devopsity.com/blog/running-llm-inference-on-aws-bedrock-vs-sagemaker-vs-self-hosted-eks/" rel="noopener noreferrer"&gt;Full article: AWS Bedrock vs SageMaker vs Self-Hosted EKS — LLM Inference Cost, Latency &amp;amp; Architecture Compared&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;What's your setup? Are you running managed, self-hosted, or a mix? I'd be curious to hear where the cost crossover landed for your workloads.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>llm</category>
      <category>devops</category>
      <category>finops</category>
    </item>
  </channel>
</rss>
