Skip to content

The economics of AI · GKE Standard

When does self-hosting an LLM pay off?

Compare GKE fleet costs, API pricing, and capacity for your workload.

USD planning estimates · Source snapshot 2026-09-05 · No GPU benchmark is implied.

1 · Start with the work you need done

Presets change demand and keep your fleet settings.

Include every model call in agent and tool loops.

1 for a one-off job; 22 for workdays; 30 for daily traffic.

Include instructions, retrieved context, history, and tool results.

Include billed reasoning tokens; use observed usage.

2 · Choose a model and precision

Choose the smallest model that meets your quality bar.

Start with 8-bit; test 4-bit for memory savings or 16-bit as a precision reference. See the trade-offs for this model.

Reserve above weight memory; long context and concurrency need extra KV cache.

3 · Price the capacity you keep

Whole-machine pricing. On-demand keeps a pilot flexible.

Complete model copies; validate failover capacity separately.

100% = 730 h/month. Stopping on-demand nodes saves compute; commitments stay billed.

Hosting labor, software, and support beyond costs common to both options.

Capacity assumptions

100 tokens/s is illustrative. Re-measure after changing the model, GPU, precision, or workload.

Aggregate output across concurrent requests, measured end to end.

Planning margin for bursts and overhead; actual demand is separate.

API delivery and reuse

Batch: 50% off, with up to 24-hour completion. Caching: reuse an exact prefix. Discounts are not stacked.

Minimum: 4,096 for Gemini; 1,024 for Claude and Astra. Ineligible requests use standard rates.

Calls sharing an exact prefix within five minutes, including the first. Each group pays write or storage fees.

Assumes no misses within each group: Gemini five-minute storage, Claude five-minute writes, and Astra 30-minute retention.

Reset assumptions

Share the URL to save this scenario.

Your scenario · Small team · 5–10 people

What your demand actually costs

Change assumptions ↑

3,520 requests/month · 7.04M input tokens · 2.11M output tokens.

Self-hosting / month

$4,773.22

$3,700.22 compute + $1,000 operations + $73 GKE fee, including idle time.

Fleet footprint

1 node · 1 GPU

Qwen3.8 27B (xhigh) · 31.0 GB memory floor per replica · 1 node per replica.

Share of modeled capacity needed

1.2%

Demand / usable output capacity of 170.82M tokens/month. Over 100% means this fleet is too small.

Start with an API on cost grounds

Gemini 3.8 Flash is $13.20/month for this token mix, versus $4,773.22 for your fleet. Self-hosting needs enough value from control, residency, customization, or avoided quality failures to cover the difference. Compare task success before choosing.

A2 Ultra · on-demand: Best used for models that fit on one node; inter-node serving needs separate validation.

Three managed API baselines

Same request count and token mix, using your selected API mode. Compare quality separately.

Gemini 3.8 Flash

$13.20/ month

Per 1,000 requests
$3.75
Self-hosting break-even
1,272,860 requests/month

Beyond this fleet's modeled capacity.

Claude Sonnet 5

$35.20/ month

Per 1,000 requests
$10.00
Self-hosting break-even
477,323 requests/month

Beyond this fleet's modeled capacity.

GPT-6 Astra

$176.00/ month

Per 1,000 requests
$50.00
Self-hosting break-even
95,465 requests/month

Within modeled capacity; quality still unproved.

Price notes and comparison boundaries · 2026-09-05
  • Gemini 3.8 Flash: Introductory rates through Dec 31, 2026; input, output, cache reads, and storage double on Jan 1, 2027.

    Standard uncached text rates. Immediate requests; no batch or cache discount assumed.

    Verified 2026-09-05 · review by 2026-10-05

  • Claude Sonnet 5: $2 / $10 is standard pricing; the previously announced September increase was canceled. No announced end date.

    Standard uncached text rates. Immediate requests; no batch or cache discount assumed.

    Verified 2026-09-05 · review by 2026-10-05

  • GPT-6 Astra: OpenAI's published Astra name. Above 272,000 input tokens, full-request rates rise to $20 input / $75 output per million. No announced end date.

    Standard uncached text rates. Immediate requests; no batch or cache discount assumed.

    Verified 2026-09-05 · review by 2026-10-05

  • API estimates include input and output tokens. The selected mode includes either batch discounts or eligible cache reads, writes, and storage. Tools, media, taxes, regional premiums, and negotiated rates are excluded. API quotas and context limits still apply.
  • Include billed reasoning in output tokens and all repeated tool calls in demand. These inputs cannot predict each model's actual verbosity, retries, or task success.
  • For a one-off job, the API bill covers just that job. The fleet bill still covers your selected monthly running time. Reduce running time only if you can actually stop on-demand nodes, allowing for startup and processing.

Watch demand change the cost case

Explore the API cost curves against your fleet bill and capacity.

Monthly cost versus demand for one fixed GKE fleet and three APIsBoth axes are logarithmic. The vertical dashed line is the fleet's capacity, when within the plotted range. Circles mark API break-even. The solid cursor marks the explored volume. Exact costs appear below. $0 $16 $275 $4.6k $76k 22 5.8k 1.53M Requests per month USD / month GKE fleet Gemini 3.8 Flash Claude Sonnet 5 GPT-6 Astra Fleet capacity: 284,700 requests/month Gemini 3.8 Flash: 1,272,860 requests/month Claude Sonnet 5: 477,323 requests/month GPT-6 Astra: 95,465 requests/month
  • ━━ GKE fleet
  • ━ ━ Gemini 3.8 Flash
  • – – Claude Sonnet 5
  • ··· GPT-6 Astra
Logarithmic axes (cost + $1). Circles: break-even. Dashed line: capacity of 284,700 requests/month. Shading exceeds fleet capacity.
3,520 requests/month · within modeled capacity. GKE fleet $4,773.22 · Gemini 3.8 Flash $13.20 · Claude Sonnet 5 $35.20 · GPT-6 Astra $176.00 per month. Apply this demand

What if demand or throughput is wrong?

Try ½× or 2× demand and throughput with the same fleet. Select a scenario to apply it.

Each column shows lower, current, then higher throughput. These are stress scenarios, not confidence intervals.

Enough capacity. Fast enough for people?

Monthly capacity

1.2% needed

A total-volume check. A month's spare capacity cannot absorb a burst that arrives in a few seconds.

Peak responsiveness

Responsiveness is still unproved

Record p95 first-token and completion times at your target concurrency using this configuration.

Enter latency targets and pilot measurements (optional)

Use p95 measurements from the same configuration at peak concurrency. Zero means unmeasured.

Peak in-flight requests, not total team members.

An editable user-experience target, not a measured benchmark.

Choose a target suitable for the task and answer length.

Record the concurrency actually sustained during the pilot.

Use the full workload, including prompt processing and network delay.

Measure the whole response; aggregate tokens/s cannot predict this.

4, 8, or 16-bit: what are you trading?

Memory and fleet cost for Qwen3.8 27B (xhigh), with the same fleet settings.

4-bit · prioritize memory savings

13.5 GBweights only, per replica

1 node · $4,773.22/month

¼ of 16-bit weight memory. Validate reasoning, tool use, and accuracy before accepting the quality trade-off.

8-bit · balanced starting experiment

27.0 GBweights only, per replica

1 node · $4,773.22/month

½ of 16-bit weight memory. A practical first compression test with a supported checkpoint and runtime.

16-bit · precision reference

54.0 GBweights only, per replica

1 node · $4,773.22/month

Full weight memory as a precision reference. Expanding quantized weights cannot recover lost quality.

Compression cuts the bill only when it reduces whole-node requirements or improves measured throughput. Check KV-cache memory and runtime and GPU format support.

Frontier comparison

Top 10 open-weight models

Artificial Analysis Intelligence Index v4.2, ranked by evaluated variant. Costs reuse your fleet settings; speed and quantized quality require measurement.

Top ten open-weight models and modeled GKE footprint and cost
Rank and modelAA indexLicenseMemoryFleetMonthlyDecision
#1 · Kimi K3 (max)Moonshot AI · 2800B parameters50.2Kimi K3 LicenseCommercial license3220 GB41 nodes / 41 GPUs$152,782Review commercial terms
#2 · GLM-5.3 (max)Z AI · 753B parameters48.6GLM-5.3 LicenseCommercial license866 GB11 nodes / 11 GPUs$41,775Review commercial terms
#3 · Qwen3.8 2.4T A95BAlibaba · 2400B parameters46.7Qwen3.8-Max LicenseCommercial license2760 GB35 nodes / 35 GPUs$130,581Review commercial terms
#4 · GLM-5.3-FlashZ AI · 320B parameters46.2MITPermissive368 GB5 nodes / 5 GPUs$19,574Validate multi-node serving
#5 · DeepSeek V4 Pro 0813 (max)DeepSeek · 1600B parameters42.1MITPermissive1840 GB23 nodes / 23 GPUs$86,178Validate multi-node serving
#6 · Qwen3.8 27B (xhigh)Alibaba · 27B parameters41.6Apache 2.0Permissive31 GB1 node / 1 GPU$4,773Pilot on this topology
#7 · K2 Horizon 375B A23BMBZUAI · 375B parameters37.8Apache 2.0Permissive431 GB6 nodes / 6 GPUs$23,274Validate multi-node serving
#8 · MiniMax-M3MiniMax · 428B parameters35.7MiniMax Community LicenseCommercial license492 GB7 nodes / 7 GPUs$26,975Review commercial terms
#9 · Inkling (xhigh)Thinking Machines · 975B parameters32.2Apache 2.0Permissive1121 GB15 nodes / 15 GPUs$56,576Validate multi-node serving
#10 · Muse Glimmer (high)Meta · 30B parameters24.4Apache 2.0Permissive34 GB1 node / 1 GPU$4,773Pilot on this topology

Compare cost per accepted task

Optional quality and human-review experiment

Compare the same tasks and rubric. Starting values are illustrative; replace them with measurements. Calls include retries, and review covers all attempted tasks.

A separate task workload for this experiment. Required calls = tasks × each candidate's calls per task.

Use a loaded labor cost. Do not count hosting operations labor again here.

Your GKE fleet

Final acceptance after all retries and review.

Includes every retry and model call in a tool loop.

Average across all attempted tasks, including rejected ones.

Gemini 3.8 Flash

Final acceptance after all retries and review.

Includes every retry and model call in a tool loop.

Average across all attempted tasks, including rejected ones.

Claude Sonnet 5

Final acceptance after all retries and review.

Includes every retry and model call in a tool loop.

Average across all attempted tasks, including rejected ones.

GPT-6 Astra

Final acceptance after all retries and review.

Includes every retry and model call in a tool loop.

Average across all attempted tasks, including rejected ones.

Go deeper on the trade-offs

Method and limitations
  • Whole GPU nodes, total model weights, and an editable runtime-memory reserve.
  • Fleet cost includes compute, the GKE cluster fee, and your operations budget. Commitments remain billed while idle.
  • Capacity uses output throughput × replicas × usable share × running hours. Validate peak traffic separately.
  • API bills include input, output, and the selected batch or cache mode. Tools, media, taxes, regional premiums, and negotiated rates are excluded.
  • Validate quality, KV-cache memory, multi-node efficiency, regional availability, and model terms in a pilot.
Sources and freshness · 2026-09-05

Snapshot checked 2026-09-05. Prices and rankings move; follow the linked authority before committing spend.