Back to blog

How to budget AI API and developer infrastructure costs

Nov 23, 2026BudgetHub Team

Model voice standby time, Genie 4 session caps, Exa credits, image retries, Inkling KV cache, and GitHub Actions runner rounding.

Two 61-second CI jobs use four billable runner minutes. A 61-second voice call is metered by the second and can cross two rate tiers. Build each estimate around the vendor’s billing unit, then bring the monthly USD estimates together in the BudgetHub workspace.

1. Voice sessions have two clocks

GPT-Live 1.1 charges $0.05 per active minute and $0.02 per standby minute, metered by the second. In an eligible WebRTC session with standby configured, silence before the idle timeout still belongs to active time. For an illustrative call with four active minutes and six minutes in standby, voice costs 4 × $0.05 + 6 × $0.02 = $0.32. Multiply by monthly calls and add delegated model and tool charges separately. Run the estimate with the idle-time share you see in a pilot. VoiceBudget · OpenAI pricing

2. Budget for sessions that run to the cap

Genie 4 emits 5,760 video tokens per second at 24 fps. At $17.50 per million output tokens, that is $0.1008 per second, or $6.048 per minute, with audio included. The 120-second cap puts video output alone at $12.096 for a session that reaches the limit. For text and reference-image inputs, budget separately. Model normal exits and dropped connections separately, and complete or cancel sessions explicitly to stop unnecessary generation. WorldBudget · Google API pricing · Google session limits

3. Price agent search by the work performed

Exa Websets V2 draws from the same Exa credit balance as the Search API. Budget $0.10 per Agent Compute Unit (ACU) and $5 per 1,000 searches. Exa’s worked example uses 3 ACUs and 250 searches, totaling $1.55 before any separately billed contact enrichment. Record the compute and searches from representative runs. Monthly volume and verification complexity can change the per-match cost, so track verified matches alongside spend. SetBudget · Exa Websets pricing

4. Split draft and final image volumes

Microsoft’s public-preview figures for MAI-Image-2.7 are about $10 per 1,000 Flash images and about $35 per 1,000 Standard images. For a hybrid workflow, enter Flash variations per asset and Standard final passes per asset. Include QA retries in each tier’s generated image count before applying that tier’s rate. A review of a representative batch can tell you how many variants actually reach Standard. Use the quoted rate for your endpoint when it differs from the preview figure. ImageBudget · Microsoft AI announcement

5. Size VRAM for the actual KV cache layout

Inkling 2 Mini has 24 physical layers and 48 logical layer passes because its middle 12 layers run three times. With per-pass allocation, LoopVRAM models 8 full-context caches and 40 sliding-window caches capped at 1,024 tokens each. Record context length, concurrent sequences, KV precision, and runtime overhead separately from weights. Use the per-pass estimate until you confirm that your runtime shares KV allocations across passes, then validate peak memory with the intended workload. LoopVRAM · Thinking Machines Lab model announcement

6. Round each RHEL runner job before summing

GitHub Actions rounds each job up to a whole minute. For RHEL 9 or 10 on Linux x64 larger runners, use the rate for the selected runner size. Include dnf setup in each job’s wall time and count every matrix job and rerun. Compare the rounded minutes saved by a custom image with its storage cost. RunnerBudget · GitHub Actions runner pricing

7. Verify the setup before adding spend

Keep the evidence for any hardware or audio dependency next to the monthly estimates. Check the planned RTX Spark device, Windows or WSL path, and CUDA workload in SparkCheck. Check the macOS version, Smorza permissions, and target audio route in MacRouteCheck. Save these checks as unpriced scenarios and record any purchase costs separately in your budget. The executive quote walkthrough takes you from those scenarios to a reviewable document.