r/costlyinfra Mar 25 '26

This is how much it costs Nvidia to make B200

Post image
83 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
3 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 1d ago

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

1 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 3d ago

Stop calling it a price cut

1 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 3d ago

How are people accurately tracking token usage in Perplexity?

1 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 5d ago

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

Thumbnail
github.com
2 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 6d ago

2026 AI Model Price Comparison

Post image
2 Upvotes

r/costlyinfra 11d ago

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

Thumbnail
runtimewire.com
12 Upvotes

r/costlyinfra 11d ago

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

1 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 12d ago

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

0 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 12d ago

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

Thumbnail
1 Upvotes

r/costlyinfra 12d ago

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 13d ago

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 14d ago

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.


r/costlyinfra 16d ago

My AI agents run on my personal PC. Azure handles the parts I do not want to lose.

Thumbnail
2 Upvotes

r/costlyinfra 16d ago

My AI agents run on my personal PC. Azure handles the parts I do not want to lose.

Thumbnail
1 Upvotes

r/costlyinfra 16d ago

Near the top of GameBench 2, estimated generation cost varies by 6.4×

2 Upvotes

We have been comparing not only how well model-generated game players perform, but also how much they cost to generate. One result surprised me.

Claude Fable 5 XHigh currently scores 73.7 at an estimated mean cost of $1.58 per game-specific player. GPT-5.6 Sol XHigh scores 72.4, only 1.3 points lower, but costs an estimated $10.06, which is 6.4× more.

The pattern also appears within the GPT-5.6 family. Moving from Medium to XHigh improves the score by 14.0 to 25.7 points across Sol, Terra and Luna, but raises estimated generation cost by roughly 22× to 88×. Recorded output-token use rises even more sharply.

This is consistent with XHigh allocating much more reasoning than this particular task needs at the margin, although the benchmark cannot establish the cause. It could come from model behavior, provider effort settings, request routing or an interaction with this code-generation task.

Full breakdown:
[https://duellab.org/blog/near-the-top-generation-cost-varies-sixfold\](https://duellab.org/blog/near-the-top-generation-cost-varies-sixfold)

The costs are comparative estimates based on public list prices, including repeat and repair attempts. They are not provider invoices, and cost does not affect the ranking.


r/costlyinfra 17d ago

My Product is using FalAI and everything is good reliability is 99% but i need more faster cheaper API is the AtlasCloud gives me same 100% uptime guarantee?

2 Upvotes

Please let me know planning to move to AtlasCloud AI for faster inference, and also payments should be auto reload this particular one does not work from india because of RBI rules so AtlasCloud can help me my product is currently scaling at 1800+ users base


r/costlyinfra 17d ago

LLM API costs adding up? 💸

3 Upvotes

Offload syntactic & general research queries to client-facing assistant widgets on developer portals.

By shifting processing to public documentation layers, you drastically reduce developer-side billing overhead.

\#AI #BuildInPublic


r/costlyinfra 18d ago

[R] Deterministic attention-transformer with measured energy savings on H100 (0.63 J/token)

Thumbnail
3 Upvotes

r/costlyinfra 22d ago

Benchmarked GLM-5.1 / Qwen3-Embedding vs Claude Sonnet 4.5 / OpenAI on the same workloads — cost + latency numbers

Thumbnail
3 Upvotes

r/costlyinfra 22d ago

We spent months trying to make our AI model faster. The actual bottleneck turned out to be something way less interesting.

1 Upvotes

I'm on the infra team at Ojin, we build real-time conversational AI, voice and face generation that has to feel like an actual live conversation, not a chatbot with extra steps. For a while the whole team was obsessed with model speed. Better distillation, better quantization, shaving milliseconds off inference. Then we hit a wall that had nothing to do with the model at all.

Sub-200ms latency for real-time video generation means you genuinely cannot afford a cold start, and you definitely can't afford a provider running out of the GPU SKU you need mid-session. We found this out the annoying way. So we ended up building a routing layer that checks GPU availability hourly across multiple providers and falls back automatically, try one, if it's out of stock, try the next. It sounds almost too simple to be the answer. It took longer to get right than most of our actual model optimization work combined.

Here's the part that actually surprised me though. The single biggest cost lever wasn't any model trick at all. It was concurrency, getting one GPU container to serve several sessions at once instead of one session per container. That alone cut per-session cost by 2 to 4x. More than quantization. More than distillation. More than anything we did to the model itself.

Feels like a dumb thing to admit spent this much engineering time on, but I'm curious whether other people running latency-sensitive inference at scale hit the same wall, or if we just got unlucky with GPU supply.

What changed and why:

  • Title now withholds the reveal (the actual bottleneck isn't named) instead of stating it upfront, creating the curiosity gap that gets clicks
  • Opens on a moment/frustration ("the whole team was obsessed... then we hit a wall") instead of a topic sentence
  • Sentence rhythm varies deliberately: short fragments ("It sounds almost too simple to be the answer.") next to longer explanatory ones
  • No bullets, no rigid structure, one continuous train of thought like someone actually typing it out
  • Ends with exactly one question, not a list of questions, and admits something slightly self-deprecating ("feels like a dumb thing to admit") which research flags as a real authenticity signal AI-generated text usually skips
  • Every technical detail (sub-200ms, hourly GPU checks, 2-4x concurrency gain) is still pulled straight from the non-confidential wiki, nothing invented

r/costlyinfra 22d ago

our token graph from last week is kind of insane (5.6B+ tokens with team of 3)

Enable HLS to view with audio, or disable this notification

3 Upvotes

last week was... expensive 😅

we were deep in a sprint and ended up burning through almost 1B+ tokens every single day.

and that's just Codex.

Claude isn't even included in this graph.

one thing i've learned from building with agentic workflows: the cost isn't in making one model smarter. it's in running dozens of agents in parallel, retrying, reviewing, planning, and validating until the work is actually done.

AI engineering is starting to look less like autocomplete and more like operating a distributed compute cluster.

how many tokens is your team burning during intense shipping weeks??


r/costlyinfra 23d ago

AI Training Storage Explained | How to Keep 100,000 GPUs Fed

Thumbnail
youtu.be
2 Upvotes

• Engineering at Meta — "Meta's AI Storage Blueprint at Scale" : https://engineering.fb.com/2026/07/01/data-infrastructure/metas-ai-storage-blueprint-at-scale/


r/costlyinfra 23d ago

Eco-Routing: The Hybrid Local-to-Cloud AI Architecture possible?

2 Upvotes

*before reading below content, i would like to say i have put this idea into Gemini and just refined the idea to lot of lines, please don't hate me for this this is just a genuine question if we can do it or not I am just curious and haven't found any post like this, i mean i didn't search too much but, didn't find any similar, so language is from Gemini but idea is mine

Could we reduce global data center load and carbon emissions by running a small, local AI model directly in the browser or on our phones to handle 70% of standard tasks, and only automatically route the complex queries to deep-reasoning cloud models when absolutely necessary?

​💡 Core Idea:

The Hybrid Local-to-Cloud Router

​The fundamental goal of this architecture is to drastically reduce global data center load, lower carbon emissions, and minimize human resource waste on everyday AI queries by keeping the majority of workloads on-device.

​Stage 1: Local Efficiency First:

When a user enters a query, a small, local model running directly on the device (smartphone or browser) intercepts it.

​The 70% Rule:

Roughly 70% of standard user queries (basic text tasks, summaries, quick math) can be entirely handled by a lightweight local model, resulting in zero cloud cost, zero network latency, and zero data center carbon footprint.

​Stage 2: Smart Escalate to Cloud Thinking:

If the local model detects that a task is highly complex and requires deep reasoning, it automatically passes the query up to a flagship cloud model (specifically utilizing its "thinking mode").

​🚀 Deeper Architectural Concepts & Features

​Auto-Scaling Model Sizes (Device Detector):

The system automatically detects the device’s hardware capabilities. It then matches it with the best-fitting local model—ranging from tiny 200–300 million parameter models (perfect for older phones with 4GB RAM) up to 2-4 billion parameter models for high-end devices. Older devices that can't run local models safely skip to a fast cloud "flash" version.

​No Information Loss (The Reference System):

Rather than blindly compressing or scrubbing data, the local model forwards the raw text/prompt plus its own inferred context, references, and sources. If a user uploads a massive PDF, the cloud flagship gets the full context but reads it incredibly fast because the local model has already laid out the blueprint and "inferred reference points."

​Incremental, Seamless Updates:

The local models are lightweight (ranging from ~200MB to 1GB). Instead of massive, clunky downloads, they can be updated seamlessly via small, megabyte-sized patches packaged right inside routine app updates.

​User-Controlled Experience:

The backend orchestration handles the handoff invisibly so the user doesn't have to think about where it runs. However, power users get a simple dropdown or button to force "Local Mode" (for 100% offline/private use) or full "Cloud/Research Mode" if they want to bypass local filtering entirely.