Why can an idle LLM server still be expensive?

The GPU is idle. The reservation can still be on the bill.

In this comic's invented example, a $3.60/hour worker costs $10 per million output tokens at 100 useful tokens/second. At 20 useful tokens/second over the paid interval, it becomes $50.

The hardware rate stayed the same. Useful throughput changed. The comic also covers queues, warmup and draining active requests before scaling down.

Download this comic as a PDF

Comic page 1 of 6: Why can an idle LLM server still be expensive?
Read page 1 as text

Why can an idle LLM server still be expensive?

The GPU is quiet. The invoice is not.

WHAT WE WILL FIGURE OUT

01

Scale the capacity users need

02

Manage slow starts and shutdowns

03

Calculate useful cost

OUR EXAMPLE

An invented $3.60/hour worker at two different useful throughputs.

Follow the steps. Ask the obvious questions. Check the result.

Part 14 of 18 · Challenge: page 5 · Suggested answers: page 6

Comic page 2 of 6: Scale the capacity users need
Read page 2 as text

Scale the capacity users need

1

THE QUIET SERVER

PAID CAPACITY, EVEN WHILE IDLE

Requests 0

Reserved worker still billed

Contract and deployment determine cost

paid capacity

idle time

No requests means no cost?

Provisioned capacity can keep accruing cost while idle. The answer depends on your contract and deployment.

Paid worker waiting for the next request

2

REQUESTS ARE NOT EQUAL

Short prompt short answer

Long prompt long answer

Different work different KV state

Same request count different load

prompt length

output length

A short prompt with a short answer and a long prompt with a long answer consume different work and state.

One request/second is not a full capacity description

3

OBSERVE THE BOTTLENECK

Queue + TTFT

Inter-token gaps

Useful tokens/s

KV occupancy

queue

token pace

cache

Watch queue depth, TTFT, inter-token gaps, token throughput and cache occupancy. CPU usage alone can miss the pressure.

Measure user-facing delay and usable capacity

4

A FULL QUEUE

BOUNDED ADMISSION

1

2

3

4

5

FULL

Next request: defer or reject clearly

bounded queue

→

defer or reject

A bounded queue and admission limits help the service reject or defer work before it collapses.

A limit is a deliberate service behavior

Comic page 3 of 6: Manage slow starts and shutdowns
Read page 3 as text

Manage slow starts and shutdowns

5

STARTING A REPLICA

Allocate

Load weights

Warm up

Only then is the replica ready

allocate

→

load

→

warm up

Can autoscaling react instantly?

Starting may require GPU allocation, downloads, weight loading and warmup. Actual times vary with infrastructure.

New pod is not the same as ready model

6

SCALE AHEAD WHERE POSSIBLE

Warm pool less cold waiting

Cost paid idle capacity

Forecast demand prepare ahead

Compare delay and total bill

warm pool

idle cost

Warm pools or predicted schedules can reduce cold waits. They also retain idle cost, so measure the tradeoff.

Warm capacity versus cold-start delay

7

DRAIN BEFORE STOPPING

Stop admission

Finish streams

Remove

Preserve active work while draining

stop admission

→

finish streams

A replica may own active streams and KV state. Stop new admissions and finish or deliberately terminate work before removal.

Do not cut a live generation accidentally

8

SCALE-IN NEEDS EVIDENCE

Observe demand

Check queue

Drain safely

demand check

→

drain

→

remove

Remove capacity only after checking demand, queue stability and draining. A sudden new burst can be costly to recover from.

Observe the full load pattern

Comic page 4 of 6: Calculate useful cost
Read page 4 as text

Calculate useful cost

9

AN INVENTED RATE

INVENTED RATE: $3.60 / HOUR

100 × 3,600 useful tokens / hour

$10 per million output tokens

$3.60/hour

100 useful tok/s

What do one million output tokens cost?

Assume one worker costs $3.60/hour and delivers 100 useful output tokens/second over the billing interval.

$3.60 × 1,000,000 / (100 × 3,600) = $10

10

SAME WORKER, LESS USE

INVENTED RATE: $3.60 / HOUR

20 × 3,600 useful tokens / hour

$50 per million output tokens

$3.60/hour

20 useful tok/s

At 20 useful output tokens/second over that interval, the simplified cost becomes five times higher.

$3.60 × 1,000,000 / (20 × 3,600) = $50

11

COUNT THE REST

Compute + prefill

Storage + network

Redundancy

Operations

compute

operations

other costs

Storage, networking, prefill, redundancy and operations are outside that toy subtotal. Use measured workload and total cost.

Invented prices; not a vendor quote or benchmark

12

BUILD OR BUY

Hosted API measure the fit

Self-hosted measure the fit

Permitted hybrid measure the fit

Choose by quality + total cost

quality

privacy

total cost

Which is cheaper for my traffic?

Compare quality, privacy, latency, utilization and operational cost. Steady demand and bursty demand can favor different designs.

Test an API, self-hosting and a permitted hybrid

Comic page 5 of 6: Your turn. Can you explain what happens?
Read page 5 as text

Your turn. Can you explain what happens?

Use the same example. Change one detail. What follows?

KEEP THIS EXAMPLE IN MIND

An invented $3.60/hour worker at two different useful throughputs.

Try first. Suggested answers are on the next page.

1

Why can a newly started container still be unable to serve requests?

What makes you say that?

2

What changes the toy cost from $10 to $50 per million tokens?

What makes you say that?

3

What must happen before removing a replica with active streams?

What makes you say that?

Write your answers in the comments.

Comic page 6 of 6: Suggested answers
Read page 6 as text

Suggested answers

Why can an idle LLM server still be expensive?

01

Why can a newly started container still be unable to serve requests?

GPU allocation, artifact loading and warmup may still be incomplete.

02

What changes the toy cost from $10 to $50 per million tokens?

Useful output throughput averaged over the paid interval falls from 100 to 20 tokens/second.

03

What must happen before removing a replica with active streams?

Drain it or explicitly handle termination, state and user-visible errors.

Try the challenge on page 5. Suggested answers follow on page 6.