Cloud Optimization | Hokstad Consulting

Cloud Optimization

Blog posts in the Cloud Optimization category

SageMaker Scale Down to Zero: Inference Cost Guide

Compare Serverless, Asynchronous and Inference Components to reduce SageMaker idle inference costs and test recovery and quotas in the UK.

Read more

How to Scale AI Agent Workers with KEDA Queue Triggers

Use KEDA SQS triggers, separate IAM roles and worker limits to scale AI agent workers safely and avoid duplicate side effects.

Read more

TAPAS: Thermal- and Power-Aware Scheduling for LLMs

Details TAPAS's placement, routing and VM reconfiguration to reduce GPU thermal and power peaks, plus pilot and telemetry checks.

Read more

Kubernetes Scale-to-Zero: Cold Starts vs Idle GPU Cost

Scale-to-zero saves GPU cost only when nodes terminate; weigh idle-cost savings against cold-start latency, model load time and node-retention.

Read more

Kubernetes LLM Networking: 7 RDMA Deployment Checks

Seven RDMA checks to verify device registration, pod access, GPU–NIC/NUMA locality, runtime access, connectivity and transfer performance.

Read more

How Much GPU Memory Does LLM Fine-Tuning Need?

Plan VRAM for 7B–70B LLM fine-tuning: compare full fine-tuning, LoRA and QLoRA, test peak allocations and budget headroom.

Read more

How Complexity Routing Balances LLM Cost and Quality

Route LLM requests by complexity to cut cost per successful task—benchmark tiers, log full costs and tune thresholds.

Read more

Managed vs. Self-Hosted AI: Break-Even Analysis 2026

Compare managed API and self-hosted AI costs, capacity and compliance; require a 20–30% savings buffer before migrating.

Read more

Building AI Agent Message Flows with Azure Service Bus

Set up queues, topics and versioned message contracts for session-ordered AI agent workflows with retries, security and dead-letter recovery.

Read more

AI Agent Token Usage and Cost Tracking

Track every model call, normalise tokens, convert rates to GBP, attribute costs to tasks and monitor spend.

Read more

How AI Agent Iteration Limits Support Cost Control

Use iteration, token and spend caps plus atomic budget reservation to stop agent loops and control AI costs.

Read more

LLM Spending Limits: Hard Caps vs Soft Alerts

Compare hard caps and soft alerts for LLM budgets, with thresholds, reservations, fallbacks and enforcement guidance.

Read more