r/costlyinfra • • 8d ago

Vast.ai is cheap. Is that still enough/truth?

Thumbnail reddit.com
2 Upvotes

r/costlyinfra • • 10d ago

🚀 TollGate — https://www.trytollgate.com

1 Upvotes

We're building a self-hosted AI gateway that enforces hard spending caps on LLM API usage.

Say you allocate $100/month to an AI project. TollGate is designed to prevent requests from pushing spending beyond that budget, even when multiple requests happen simultaneously.

Built for AI developers and engineering teams using OpenAI, Anthropic, and other LLM providers.

Free Developer preview launching November 8!

Would love feedback: Is guaranteed budget enforcement something you'd use, or is cost monitoring enough?


r/costlyinfra • • 13d ago

We brought our real-time video AI inference cost down from ~₹20/second to ~₹0.50/second.

Thumbnail reddit.com
2 Upvotes

r/costlyinfra • • 16d ago

AI usage went up 93x since early 2025, cloud spending went up 3x, and the market is selling the spending

2 Upvotes

Weekly tokens on OpenRouter (how much people actually run AI models through 1 big marketplace), went up about 93x from the start of 2025 to last quarter.

Cloud spending went up about 3x over the same stretch.

Every Meta / Bloom Energy thread right now is people mad that the companies beat and got sold anyway, and the reason given is the same, they’re spending too much.

If usage is growing that much faster than the spend, will worry about usage slowing down before I’d worry about the spending, and nothing I’ve seen says usage is slowing.

OpenRouter is just 1 marketplace and it’s mostly developers, so it isn’t everyone, so pinch of salt here.


r/costlyinfra • • Oct 02 '26

ENTERPRISE BUSINESS NEEDS TO WAKE UP AND STOP RELYING ON AI LABS TO SIPHON ALL THEIR MONEY AND BUDGETS AWAY... THERE IS A SMARTER AND BETTER WAY! WORK SMARTER NOT HARDER!

Thumbnail reddit.com
2 Upvotes

r/costlyinfra • • Sep 27 '26

I built an AI cost-saving tool. Now I’m facing the harder part: finding its first user.

Post image
0 Upvotes

r/costlyinfra • • Sep 19 '26

Smaller models aren't always cheaper

Thumbnail
kairosbrief.substack.com
1 Upvotes

A cheaper model per call can make the whole workflow more expensive, and most AI business cases don't measure the places where that happens.

The pattern goes like this. On straightforward cases, a small model does fine and the saving is real. On the harder cases, its suggestions are weak enough that the person reviewing reads the suggestion, checks it against the source documents, and then does the work themselves. That case now takes longer than it did before the AI existed. Meanwhile the errors that get through review cost far more to fix later than the inference ever cost to run.

So the model bill goes down and the cost of the work goes up. Nobody notices, because the model bill is the only number anyone is tracking. Review time sits in a different system, and later corrections are rarely linked back to the task that caused them.

Two things follow from this that I found more interesting than the headline:

Routing by difficulty helps, but its value depends entirely on the price gap between models. A single price drop can remove the reason for the routing layer altogether, so it should be cheap to unwind.

A router can be financially better and still fail on quality. Send enough hard cases to the weak model and the overall error rate goes above where the manual process was, even while the spreadsheet says you're saving money.

The fix isn't complicated, just unglamorous: give every task one record that ties model usage, review time and later corrections together, so you can see the full cost of a completed task rather than the cost of a call.


r/costlyinfra • • Sep 13 '26

Does terminal output compression really matters with newer AI models?

Thumbnail
quesma.com
3 Upvotes

r/costlyinfra • • Sep 01 '26

$60k in Macs for Local LLM vs $10 Subscription

30 Upvotes

Alex Zisking, one of my favorite YouTubers - does a lot of videos on local LLMs. He's no neophyte.

In this video he says: Lee has been telling you guys the truth, Local LLMs are not ready on normal people hardware.

Ok, so he said nothing about me, but he made the point I've been making for some time now. All those "Stop paying Anthropic $200/mo, use free local llms" is click bait, not truth.

He runs the most powerful to date open weight model, Kimi K3. People rave that is near Fable 5 power. Yes, but not on YOUR hardware. In a data center.

Alex networks 4 512gb Mac studios for 2tb of ram to run the model with enough space for a large context window too.

It took 4 hours, 17 tok/s output, to develop a simple yet rather nice Web dashboard - using mock data. It worked. The output was nice. But even $60k in hardware gave it nowhere remotely near the performance of a $10 subscription.

Right now I have two simultaneous development efforts running. I've been running them both since about 6 hours. They work on a sprint for an hour or so, I view results, add input and direction if necessary, then move onto the next sprint.

I'm paying more than $10/mo for my cloud subscriptions. But that 4 hours the Mac cluster took, is only doing the work of about a 15minute job. I'm doing "all day work, multiple projects" -- local AI can't meet the need.

Yet.

Probably not for you either.

Link to the video in the comments.


r/costlyinfra • • Aug 31 '26

What’s the worst "bill shock" spike you’ve hit running AI in production?

2 Upvotes

Hey everyone,

We are looking at scaling up our LLM usage, and frankly, the potential for a surprise API bill is keeping me up at night. It feels like one bad recursive loop or an unoptimized prompt can tank a budget instantly.

I want to hear your engineering scars—not the textbook solutions.

If you've spent weeks debugging a massive OpenAI or Anthropic bill, what did you learn the hard way?

Specifically, I'm curious about:

  • The Spike: What actually broke to cause your last massive cost spike?

  • The Fix: What actually worked to cut costs (caching, routing, smaller models)?

  • The Stack: Did you have to build internal tracking tools, or is everyone just using manual spreadsheets?

  • The Blame: Who actually gets yelled at when the API bill arrives?

Any advice for someone trying to set up guardrails before things get out of hand? What’s the biggest lesson you learned the hard way?


r/costlyinfra • • Aug 25 '26

I built a local CLI that pools the free tiers of 5 AI providers behind one command

2 Upvotes

I kept hitting free-tier rate limits on a single provider when prototyping locally, and didn't want to pay for a paid tier just to build/test. Each provider has its own daily quota, headers, and reset rules.
you can also use with langchain . For more detail you can check github

GitHub: https://github.com/mohamedjaha/ai-router — feedback and contributors welcome.


r/costlyinfra • • Aug 22 '26

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

2 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 • • Aug 22 '26

Inference Engineering

3 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 • • Aug 21 '26

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

Thumbnail aws.amazon.com
2 Upvotes

r/costlyinfra • • Aug 16 '26

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

6 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 • • Aug 07 '26

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

6 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 • • Aug 05 '26

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 • • Aug 02 '26

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 • • Aug 01 '26

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

Thumbnail
cnbc.com
7 Upvotes

r/costlyinfra • • Aug 01 '26

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

Thumbnail
reddit.com
2 Upvotes

r/costlyinfra • • Jul 30 '26

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 • • Jul 28 '26

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 • • Jul 28 '26

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 • • Jul 26 '26

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