Most AI side projects don't die from a lack of users. They die from an infrastructure bill that outgrows the hobby budget right around the time things start working.

Having run a few small inference and agent projects myself, here is where the money actually goes — and the audit I now run monthly before anything else.

1. Compute is not one line item

Compute for AI workloads splits into three very different billing patterns:

  • Training / batch jobs — bursty, interruption-tolerant. This is where spot or preemptible instances cut 60-90% off on-demand pricing. If your job can checkpoint, run it on spot.
  • Serving / inference — steady, latency-sensitive. Over-provisioning here is the classic mistake: GPU instances sized for peak traffic, idle 20 hours a day.
  • Glue code — the API layer, queues, and orchestration. Small in absolute terms, but it multiplies as you add services.

Audit move: pull your billing breakdown by instance type and tag every resource with its role (serving, batch, api). Anything untagged is almost always waste.

2. Object storage quietly compounds

Model checkpoints, dataset snapshots, generated assets, and logs accumulate forever. Object storage looks free per GB, until you're storing every intermediate checkpoint of every run.

The fix is boring and works:

  1. Enable lifecycle rules — move checkpoints to infrequent access after 7 days, delete after 30.
  2. Version only what you can't regenerate. Checkpoints can be regenerated.
  3. Compress and dedupe datasets before upload, not after the bill arrives.

3. CDN is either saving you money or not doing anything

If you serve models, generated media, or a dashboard UI to users, CDN hit ratio is a number worth knowing. Below ~80% means your origin is doing work the edge should be doing.

Set cache headers deliberately (Cache-Control, ETag), purge only on deploy, and measure hit ratio weekly. A CDN with poor hit ratio is just an extra bill.

4. SMS and notifications scale the wrong way

OTP and alert messages are cheap per message and brutal at scale — especially during a retry storm. Rate-limit at the application layer, dedupe notifications, and alert on send volume anomalies. Auth failures should never trigger unlimited resends.

The strategy part: new-user credits

Cloud providers price new-user programs well below list because they want the workload. If you're starting a project — or migrating one — the first-year discounts are real money, and there is no rule saying you can only use one provider's trial. Tencent Cloud's current new-user offers cover the four line items above: CVM compute, COS object storage, CDN, and SMS. It's a reasonable place to prototype at low cost before committing to a long-term residency decision:

https://www.tencentcloud.com/act/pro/cps?intl_cps_key=dce562baa2d92d75cef1378311c0bc77

The honest caveat: decide on region latency and data-residency requirements before you migrate anything you can't easily move again.

The 15-minute monthly audit

  1. Tag every resource by role.
  2. Billing breakdown by service — rank by absolute cost.
  3. Move interruptible workloads to spot.
  4. Lifecycle rules on every storage bucket.
  5. Check CDN hit ratio and cache headers.
  6. Rate-limit every messaging path.

None of this is exotic. The projects that stay alive are the ones that run this checklist before the bill explains it to them.