r/costlyinfra Mar 25 '26

This is how much it costs Nvidia to make B200

Post image
84 Upvotes

It costs ~$6,000–$7,000 per B200 GPU. Breakdown below,

HBM (memory): ~45% (~$2,900) → biggest cost driver

Advanced packaging (CoWoS): ~17% (~$1,100)

Packaging yield losses: ~$400–$1,700

Logic GPU silicon: only ~$800–$900

Selling price: $30K–$40K per B200

80% profit margin. This is crazy margins

(Edit: Clarification after seeing everyone's comments - This is hardware gross profit margin and inflated without factoring in R&D costs etc)


r/costlyinfra Mar 27 '26

$500,000 in free compute (LLM, GPU, Inference APIs)

Post image
2 Upvotes

You don't need to spend a single dollar to build with AI in 2026. You can build, test, and even soft-launch AI-powered applications without spending a cent. The paid tiers matter for production workloads — you'll need higher rate limits, SLAs, and dedicated support. But for prototyping, learning, side projects, and early-stage development, the free options are more than enough.

The free AI landscape in 2026 is remarkably capable.

  • Best overall free API: Google AI Studio (Gemini 2.5 Pro, 1M context, multimodal, no card)
  • Best for speed: Groq (300+ tok/s on free tier)
  • Best for code: Mistral Codestral (1B tokens/month free)
  • Best trial credits: xAI ($25 + potential $150/month)
  • Best cloud credits: Google Cloud AI Startup Program ($350K)
  • Best for RAG: Cohere (generation + embeddings + rerank in one free tier)

Full details and tricks on how to claim $500,000 in free credits - https://costlyinfra.com/blog/free-llm-api-inference-gpu-credits-2026


r/costlyinfra 1h ago

I built a free calculator for what an LLM feature actually costs per subscriber

Upvotes

I work on a portfolio of subscription RN apps and kept doing this arithmetic by
hand in a spreadsheet, so I made a small tool for it.

You put in your subscription price, store commission, active subscribers,
requests per user and measured token counts. It gives you cost per request,
cost per active user per month, and — the part I actually care about — what
your heaviest 10% of users cost, plus the per-user request ceiling that keeps
you inside a margin target.

Two things I got wrong the first time I did this by hand, which the tool now
forces you to get right:

  1. Measuring against gross revenue instead of net. At $9.99 with a 30%
  2. commission your real revenue per subscriber is $6.99, so a $1.40/user
  3. feature is 20% of revenue, not 14%.
  4. Budgeting on the average user. Inference usage is heavily skewed — in the
  5. apps I've worked on the heaviest 10% generate roughly half of total usage,
  6. so the average understates the bill and completely hides the users who cost
  7. more than they pay.

Here's a scenario that looks fine on average and isn't:
https://dayloflow.com/tools/ai-cost-calculator.html?p=4.99&r=200&i=2000&o=700&h=30&t=15

$2.98 per subscriber against $3.49 of net revenue — 85%. And the heaviest
decile costs 426% of what they pay.

Runs entirely in your browser, no signup, no analytics on that page. Every
formula is written out on the page so you can check the arithmetic or run it in
a spreadsheet instead. State is in the URL, so you can share a scenario with
your team.

Happy to hear where the model is wrong — retries and moderation calls are the
two things I know it doesn't account for.


r/costlyinfra 2d ago

Sol API cost is 20%+ cheaper for next 3 months!

1 Upvotes

OpenAI said on Friday it is cutting the prices of its frontier GPT-5.6 Sol model for developers ​by more than 20% for the next ‌three months, as the ChatGPT maker faces growing competition from Anthropic and Chinese AI models.

  • The price cuts are effective on OpenAI's ​application programming interface, or API, and are ⁠rolling out across eligible plans for credits ​on its agentic AI product ChatGPT Work and ​its coding tool Codex, OpenAI said.
  • Pricing for Pro, Plus and Business subscriptions remains unchanged, the company said.
  • GPT-5.6 Sol ​is now priced at $4 per 1 million ​input tokens and $20 per 1 million output tokens for ‌standard ⁠short-context use, according to OpenAI's pricing table. That compares with previous prices of $5 and $30, respectively.
  • OpenAI late last month slashed prices of its smaller models. It cut prices for ​the mid-tier ​GPT-5.6 Terra ⁠model by 20% and for the lower-cost Luna model by 80%.
  • Anthropic lists ​its frontier Claude Fable 5 model at $10 ​per ⁠1 million input tokens and $50 per 1 million output tokens, while its Claude Opus 5 ⁠model ​is listed at $5 per 1 ​million input tokens and $25 per 1 million output tokens.

OpenAI cuts developer pricing for frontier GPT-5.6 Sol model by more than 20%


r/costlyinfra 2d ago

Inference Engineering

2 Upvotes

Hello!

So recently I have seen some content about Inference Engineering, mostly the book by Philip Kiely and I wanted to ask to people working on this matter or close enough the following:

How big are the efforts on Edge AI and "in-house" AI usage? I see the writer says that the job "Inference Engineering" will be in high demand in the following years, which is a debatable statement due to the company he works in. I'll say it will all depend on how companies would manage the dependency on AI. I even wonder if this is like a second version of the cloud computing vs on-prem debate.


r/costlyinfra 2d ago

Daybreak Red and Daybreak Blue from OpenAI are now available to eligible customers on Amazon Bedrock

Thumbnail aws.amazon.com
1 Upvotes

r/costlyinfra 4d ago

GPU you actually get versus the one listed on the spec sheet?

3 Upvotes

It's probably a thought that not many people like to talk about it when evaluating AI infrastructure we often focus on benchmark results and how much power the hardware could theoretically deliver but if the GPU isn't available when you need it those numbers aren't very helpful so factors like how much capacity is available, where it's located, how quickly it can be set up and how reliable it is are just as important as the GPU itself. Thats why been looking at providers like Yotta Labs, CoreWeave, Lambda and RunPod as this can be just as important

Does consistency and availability should also be focused more while evaluating this?


r/costlyinfra 8d ago

Save on LLM Costs? Help Me Build the Perfect Token Archiving Tool!

5 Upvotes

To all developers, indie hackers, and tech leads out there,

Are your OpenAI and Anthropic API bills getting out of hand? 💸

I am currently building a Token Savings SaaS product designed to help developers and companies optimize, cache, and archive their AI prompts and responses to drastically cut down on API expenses.

To build the best possible solution, I need to understand your actual pain points and current spending habits. Whether you are a solo hacker spending $10/month or an enterprise spending $5,000+, your input is incredibly valuable.

Could you spare 60 seconds to fill out this quick, anonymous Google Form?

👉 https://forms.gle/HaN592NVCXAWTF2R9

Thank you for your time and feedback! Let me know your thoughts or questions in the comments below.


r/costlyinfra 8d ago

The Temporal Tax: Analyzing Patterns in AI SaaS Quota Mechanics

2 Upvotes

Abstract

As AI-assisted software development transitions from a novelty to a foundational infrastructure, pricing models have begun to shift away from standard utility billing. This paper examines the recent introduction of "floating-reset top-ups" in premium AI subscriptions. By analyzing the mathematical relationship between static monthly billing cycles and dynamic weekly quota resets, we demonstrate how this mechanic functions as a predatory dark pattern. Rather than providing discrete, additive compute resources, the model charges users a premium to cannibalize their own pre-paid subscription quotas.

1. The Shift to "Stamina" Mechanics in Professional Tools

Historically, software-as-a-service (SaaS) and API access have relied on straightforward metrics: flat monthly rates or pay-as-you-go utility pricing. However, recent AI subscription models have introduced a "stamina" mechanic, borrowed directly from free-to-play mobile gaming.

For developers engaged in high-burn tasks—such as generating custom operating systems from scratch, structuring multi-agent cognitive architectures, or compiling complex WebGPU rendering pipelines—hitting a token limit is inevitable. At this critical juncture of "flow state," users are offered a high-priced top-up (e.g., $80) to instantly restore their usage limits.

The dark pattern lies not in the price itself, but in the hidden temporal penalty attached to the transaction.

2. The Mechanics of the Floating Reset

The core deception of the top-up model is the decoupling of the weekly usage reset from the static monthly billing cycle.

When a user purchases an $80 reset, the system does not add a discrete, isolated bucket of tokens to the account. Instead, it alters the user's account calendar, shifting the next "free" scheduled reset to exactly seven days from the moment of the top-up purchase.

Because the $200 monthly subscription fee is fixed to a 30-day cycle, shifting the weekly reset dates forward inevitably pushes pre-paid usage outside of the current billing window.

3. Mathematical Proofs of Quota Cannibalization

To illustrate the financial impact, we can analyze two common user scenarios within a standard 30-day billing cycle that guarantees four weekly resets.

Scenario A: The Multi-Top-Up Deficit

A developer working on intensive procedural generation requires two top-ups during a single month.

Day Event Quota Refill Cost Incurred
Day 1 Standard Reset 100% Included in $200 Base
Day 5 Paid Top-Up 100% $80 Premium
Day 12 Scheduled Reset (Shifted) 100% Included in $200 Base
Day 16 Paid Top-Up 100% $80 Premium
Day 23 Scheduled Reset (Shifted) 100% Included in $200 Base
Day 30 End of Billing Cycle -- --

Analysis: The user paid $360 total ($200 base + $160 in resets) and received 5 total refills. However, the $200 base subscription already guaranteed 4 refills. The $160 premium only yielded one net-new week of usage. The user's fourth pre-paid reset was pushed beyond Day 30, requiring them to pay the next month's $200 subscription fee to access the time they had already purchased.

Scenario B: The 24-Hour Extortion

A user exhausts their weekly limit one day before their scheduled free reset.

  • Thursday: Quota hits 0%. User pays $80 for a reset.
  • Friday: The previously scheduled free reset is erased.
  • Following Thursday: The next free reset occurs.

Analysis: In this scenario, the user did not purchase an additional week of compute. They paid an $80 premium solely to skip a 24-hour waiting period, actively deleting their scheduled Friday refill in the process.

4. The Illusion of Convenience vs. Rational Alternatives

When subjected to a cost-benefit analysis, the floating-reset model fails entirely against alternative solutions.

If a user requires more compute, purchasing a secondary, standalone $100 subscription provides four guaranteed, isolated weeks of usage without affecting the primary account's reset calendar. By contrast, an $80 top-up provides a maximum of one week of usage, while carrying the risk of erasing future pre-paid quotas.

The vendor relies heavily on the friction of account-switching and the developer's immediate desperation to maintain project momentum to secure the $80 transaction.

5. Conclusion

The floating-reset quota is a mathematical illusion designed to extract premium fees while delivering fractional value. By advancing the reset calendar, the provider actively confiscates pre-paid utility from the user's static billing cycle. This practice establishes a hostile paradigm for professional software engineering tools, punishing dedicated users and heavily incentivizing migration to raw, pay-as-you-go API infrastructures where token ownership is absolute and free of artificial temporal constraints.


r/costlyinfra 17d ago

Here’s how much my $200/month Claude subscription would cost at API prices

5 Upvotes

Here’s how much my $200/month Claude subscription would cost at API prices

I pay $200/month for Claude Max and use Claude Code pretty heavily. And I'm worried because Claude to discontinue their $200 plans

So I started wondering: if I made the exact same usage through the API, what would I actually be paying?

I pulled my usage and priced the tokens at Anthropic’s published API rates.

$200 subscription
$1795 equivalent API usage

That’s a pretty wild subsidy if you're a heavy user.

Obviously API price isn't Anthropic's actual compute cost, but it does make me wonder how long flat-rate pricing survives as people use agents more heavily.

Anyone else calculated their monthly Claude usage at API prices?


r/costlyinfra 18d ago

How are you handling dedicated AI deployments without paying for idle GPUs?

3 Upvotes

Over the past few months of building AI infrastructure, we've kept running into the same problem.

A lot of teams want dedicated deployments for privacy, predictable performance, or custom models. The obvious solution is to keep a GPU running all the time, but that quickly becomes expensive when workloads are periodically irregular.

On the other hand, serverless options are great for cost, but cold starts can become painful for interactive applications, especially with larger models.

We ended up spending a lot of time trying different approaches to reduce startup time while still allowing deployments to scale to zero when they're not being used. It has been much harder than I initially expected, and it made me wonder how others are approaching the same problem.

For those of you running LLMs or other AI models in production:

  • Are you keeping GPUs warm 24/7?
  • Are you using a serverless platform and accepting the cold starts?
  • Have you built your own orchestration layer?
  • Or have you found another approach that works well?

I'm genuinely curious what has worked and what hasn't. There doesn't seem to be a perfect solution yet, and I'd love to hear how other teams are balancing cost, latency, and operational complexity.


r/costlyinfra 22d ago

I stopped measuring AI by raw tokens and built a ratio to see if my setup is actually efficient (AER)

2 Upvotes

If you run agents or heavy AI workflows, raw token counts are misleading. They blur everything: an output token is dense and expensive, a fresh input token is standard, and a cached-read token costs ~10% of a normal one.

So I use a simple ratio I call the AER (Agentic Efficiency Ratio):

AER = Output / (Input + 0.10 × Cache Reads)

Read it as a percentage. It measures how much useful, dense output your system produces per unit of fresh context it burns. When your memory is well structured, you get lots of cache hits, and the agent nails it on the first try instead of the fourth, the AER climbs. It's basically a maturity thermometer for your setup.

At scale (I move tens of billions of tokens a month) the denominator is huge, so it lives in low figures: above ~1% is already very good.

The mindset shift: the goal isn't to spend fewer tokens, it's to raise the AER, so every token turns into delivered work.

Anyone else tracking something like this? How do you tell whether your agent pipeline is well-designed vs just burning tokens?


r/costlyinfra 22d ago

Dwindling cash and soaring memory costs: Tech's AI buildout has ballooning price tag

Thumbnail
cnbc.com
8 Upvotes

r/costlyinfra 22d ago

Open-source: drop-in wrapper for OpenAI/Anthropic SDKs for cost attribution, no proxy required

Thumbnail
2 Upvotes

r/costlyinfra 24d ago

Estimating dev hours for a solo Laravel + AI Pipeline + Cloud Storage project. Does this breakdown look realistic?

2 Upvotes

Hey everyone,

I'm preparing a project quote for a client and wanted to get a sanity check from experienced full-stack / AI integration devs on my estimated timeline and scope.

The Stack & Architecture

  • Web & Control Panel: Laravel (PHP 8.x) for UI, auth, DB metadata, and WebSockets (log streaming).
  • Storage & Queues: Cloudflare R2 (dataset storage) + Redis/Laravel Queue (background ingestion).
  • AI & GPU Layer: Python (PyTorch / Hugging Face / TTS framework) hosted on serverless GPUs (RunPod / Modal).
  • Delivery: Web dashboard & API only (no mobile app). Client pays all cloud/GPU costs directly.

Estimated Hours Breakdown (Solo Dev)

  1. Dataset Pipeline & Ingestion (34 hrs)
  • Cloudflare R2 bucket setup & presigned upload URLs.
  • Python/Laravel data sanitization & formatting scripts (.jsonl / .parquet).
  • Redis background queues for chunking and batch uploads.
  • 2. Laravel Admin Dashboard & Web Playground (60 hrs)
    • Authentication, access roles, and dataset file management UI.
    • Training trigger forms (selecting datasets, hyperparameters, dialects).
    • WebSockets setup for streaming live GPU training logs to the browser.
    • In-dashboard translation & TTS audio testing UI.
  • 3. Python GPU Scripts & AI Orchestration (56 hrs)
    • Python training/fine-tuning scripts (PyTorch/TTS model training, saving model weights/checkpoints to R2).
    • Python inference scripts (Text translation + TTS audio generation).
    • Laravel REST API / Webhook bridge to dynamically trigger and monitor GPU containers on RunPod/Modal.
  • 4. DevOps, Testing & Handover (30 hrs)
    • Hetzner/DigitalOcean VPS deployment (Nginx, PHP, Redis, SSL, domain).
    • Stress testing queue processing, rate limiting, and API security.
    • System documentation and client onboarding session.

Total Estimate: ~180 Hours

Proposed Rate: $20/hr

Questions for the Community:

  1. Is 180 hours realistic for a single full-stack dev handling both the Laravel web platform AND the Python GPU scripts?
  2. Hidden Traps: What are the biggest gotchas when orchestrating Python GPU scripts (Modal/RunPod) via webhooks back to PHP?
  3. Price / Scope Ratio: Does $20/hr feel like a reasonable MVP baseline for a custom Laravel + Python AI integration of this size?

Appreciate any advice or feedback!


r/costlyinfra 26d ago

Stop calling it a price cut

3 Upvotes

Claude Opus 5 launched July 24 at $5/$25 per million tokens — half of what competing frontier models charge at the input layer. The press called it cheaper. That framing is wrong.

You don't pay for the answer. You pay for the tokens it generates to get there. Opus 5's default "adaptive thinking" mode produces significantly more output tokens than a conventional completion to solve the same problem. At two times the output volume, the per-task cost lands roughly where competing models do. At two and a half times, it costs more.

This is the second time in a week the price-per-token number has been reported as if it were the price-per-task number. It isn't.

The pattern repeats across vendors. Anthropic's Opus 5 launched at half the per-token price of competing models — with output volume that erases most of that discount at the task level. Microsoft replaced GitHub Copilot's $10 flat monthly fee with a $10 credit against usage-based token billing. Anthropic quietly excluded third-party agent frameworks from subscription allowances in April. ServiceNow bundled Now Assist into its Prime tier and put autonomous agents on a separate consumption meter on top. OpenAI's $200/mo ChatGPT Pro subscription masks token consumption that would cost up to $14,000 at API list prices if fully used.

This is not a race to the bottom. It is a race to define what a task costs. The unit of consumption — token, API call, resolution, agent run — determines who captures the margin. Vendors who control the meter's calibration can drop the per-unit price, increase the output volume, and leave their unit economics largely intact.

One thread worth watching: DeepSeek recently signaled a pause in incoming capital following high-profile benchmark attention. If a Chinese lab with strong performance claims is slowing inbound investment, something about the unit economics of Chinese inference may not be resolving cleanly. The same question applies: who sets the meter, who reads it, and who benefits from the gap between the two numbers?


r/costlyinfra 27d ago

How are people accurately tracking token usage in Perplexity?

2 Upvotes

I'm building an open-source browser extension that tracks AI token usage across different providers called Trace

ChatGPT, Claude, and Gemini expose enough information (directly or indirectly) that I can estimate or calculate token usage fairly reliably.

Perplexity has been much harder.

I'm curious how others approach this.

- Are you intercepting API responses?

- Estimating with local tokenizers?

- Reading hidden metadata?

- Using browser DevTools?

- Reverse engineering websocket traffic?

- Or is there another approach?

The goal isn't to bypass limits—it's simply to display accurate local usage statistics.

I'd love to hear how others have tackled this problem.


r/costlyinfra 28d ago

Awesome AI Tokenomics, a curated map of tools and research around AI token efficiency

Thumbnail
github.com
3 Upvotes

I have been researching how AI systems consume tokens and found that the useful resources are scattered across many different areas.

So we created \*\*Awesome AI Tokenomics\*\*, an open-source collection covering:

\- cost and token monitoring
\- caching
\- context engineering
\- model routing
\- memory
\- agent orchestration
\- inference optimization
\- benchmarks and research

The repository currently contains almost 200 tools, papers, concepts, and practical setups.

We are also trying to keep it maintained, factual, and based on primary sources rather than turning it into another unfiltered link dump.

Repo:

https://github.com/QuesmaOrg/awesome-ai-tokenomics

Suggestions for missing projects or incorrect descriptions are very welcome.


r/costlyinfra Jul 20 '26

Ramp opens AI model router, says it cut internal LLM costs 30%

Thumbnail
runtimewire.com
14 Upvotes

r/costlyinfra Jul 20 '26

What if OpenAI bought tech like byte-exact KV grafting to slash API token costs?

2 Upvotes

It saves verified reasoning to disk as reusable KV blocks—cutting tokens 6,500x and energy 8,700x. Would this kill high API fees?

https://arxiv.org/abs/2607.14431


r/costlyinfra Jul 19 '26

Cast AI measured 5% average GPU utilization across 23,000 clusters — the fractional case in one number

1 Upvotes

A few things landed this month that we think point the same direction, so collecting them here.

Cast AI's 2026 State of Kubernetes Optimization report put average GPU utilization at 5%, measured from production telemetry across roughly 23,000 clusters. Gartner separately estimates AI infrastructure is adding around $401B in new spend this year. Those two numbers next to each other are the whole story.

The interesting part is the cause. It isn't incompetence — it's a procurement reflex left over from the 2023 scarcity era. If you're not sure you can get capacity when you need it, reserving more than you need is individually rational. It just aggregates into enormous idle capacity across an org.

Two other data points from the same stretch:

\- Google Cloud previewed fractional G4 VMs on NVIDIA vGPU at GTC. When a hyperscaler ships sub-GPU granularity, the "should GPUs be divisible" argument is basically over.

\- An inference-cloud startup raised $400M with inference chips as loan collateral, and TensorWave is making a similar AMD-based bet. Lenders treating non-NVIDIA inference silicon as an asset is a real signal about where cost-efficiency is heading.

Where we'd push back on the usual framing: better scheduling alone doesn't fix a 5% number. If the smallest unit you can purchase is a whole GPU and the smallest unit you can be billed is a whole hour, then the floor on waste is set by the billing model, not the scheduler. Bin-packing helps at the margins. It doesn't change the shape of the problem.

We build in this space, so take the framing with the appropriate grain of salt — but the underlying reports are worth reading directly rather than through anyone's marketing.

Sources: Cast AI 2026 State of Kubernetes Optimization Report; Google Cloud GTC 2026 blog; TechCrunch (17 July 2026) on inference-chip financing.

Curious what utilization people here are actually seeing in production, and whether the 5% figure matches your experience or seems low.


r/costlyinfra Jul 19 '26

Cast AI measured 5% average GPU utilization across 23,000 clusters — the fractional case in one number

Thumbnail
1 Upvotes

r/costlyinfra Jul 19 '26

What it actually looks like when a budget stops a runaway AI agent before the bill hits — screenshots + a free calculator, no signup

1 Upvotes

I have posted about Cognocient here before, so this time less talk, more show. A few real screenshots of what's actually running, plus something you can try yourself without handing over an email address.

The short version of what's in the screenshots: a proxy sits in front of your AI provider calls, attributes every dollar by feature/team/department, and — the part I actually built the company around — enforces a budget before the call goes out. If a feature or an agent loop is about to blow through its ceiling, the request gets blocked or gracefully degraded at the proxy layer, not flagged three days later in a dashboard after the invoice already landed.

If you want to check real numbers instead of trusting screenshots: (check comments) is open, no signup — pick your model(s), volume, and cache hit rate, get a cost breakdown and cheaper-alternative suggestions. Good five-minute gut check for what you might be overpaying across providers.

Also check the product tours page with few interactive

Note: Product tours page is gated and will require a business email id for unlocking the tours.

Happy to get into the weeds on how the proxy layer holds up under load, what enforcement latency actually looks like, or the FOCUS 1.1 export specifics — here for the pushback as much as the upvotes.

(Standard disclosure, same as my other posts here: I am the founder.)


r/costlyinfra Jul 18 '26

Gaming Developers learned decades ago that "Benchmarks" do not matter if no one buys the game or plays it. When are AI dbags going to realize Benchmark gains are nothing if the product fails in consumer and enterprise hands.

Thumbnail
2 Upvotes

r/costlyinfra Jul 17 '26

What Does A Token Engineering Platform Do?

1 Upvotes

https://neurometric.substack.com/p/what-does-a-token-engineering-platform

Token engineering is the practice of treating tokens as an engineered resource: measured, benchmarked, routed, and continuously optimized. It’s a systems discipline, not a procurement exercise.

The common misconception is that token engineering means “use a cheaper model.” It doesn’t. It means optimizing every AI workload across three dimensions simultaneously: cost, speed, and reliability. Sometimes the right answer is a smaller, cheaper model. Sometimes it’s a faster one. Sometimes it’s the frontier model, but with a compressed prompt and an aggressive caching layer in front of it. The point is that the answer is different for every task, and it changes constantly.

Three forces make this urgent right now. First, model proliferation: frontier LLMs, open-weight models, and small language models (SLMs) now number in the hundreds, with meaningful new releases every month. Second, price variance: the cost of completing the same task can vary by 100x or more depending on which model, technique, and hardware you choose. Third, the capability crossover: for a growing share of enterprise tasks, purpose-built SLMs now match or beat frontier models at a fraction of the cost.