---
title: "Cost optimization"
description: "Reducing infrastructure or cloud spend"
url: "https://swe.quest/tags/cost-optimization?per=48"
---

# Cost optimization

Topic in Reliability & operations: Reducing infrastructure or cloud spend

By difficulty: [Easy](https://swe.quest/tags/cost-optimization.md?difficulty=easy) · [Medium](https://swe.quest/tags/cost-optimization.md?difficulty=medium) · [Hard](https://swe.quest/tags/cost-optimization.md?difficulty=hard)

Posts 1–48 of 204, page 1 of 5, newest first.

## 2026-11-30

- [Training and Serving Multimodal LLMs in Production](https://swe.quest/articles/training-and-serving-multimodal-llms-in-production-25a82cfa670b2153.md): Canva Engineering · 2026-11-30 · Hard · 21 min read · Inference & serving, Model training, LLMs, Computer vision, Cost optimization
  Canva fine-tuned a 4B Qwen3.5 vision-language model to run 30+ content and quality checks on over 100k images a day, cutting LLM costs by about 85% and halving the false negative rate without raising false positives.

## 2026-11-25

- [Outgrowing Lambda Functions, Not Lambda | Honeycomb](https://swe.quest/articles/outgrowing-lambda-functions-not-lambda-honeycomb-70c5a0734377ce87.md): Honeycomb · 2026-11-25 · Medium · 20 min read · Serverless, Cost optimization, Cloud platforms, Capacity planning, Observability
  Honeycomb moved most of its S3-backed query mapper compute from Lambda Functions to AWS Lambda Managed Instances, eventually cutting query costs 40-56%, though the switchover itself was easy and the savings came from months of tuning.
- [Rethinking read replicas for the lakebase architecture](https://swe.quest/articles/rethinking-read-replicas-for-the-lakebase-architecture-35eaea5162536008.md): Neon · 2026-11-25 · Medium · 15 min read · PostgreSQL, Replication, Storage engines, Cloud platforms, Cost optimization
  Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.

## 2026-11-24

- [Your agents don't care that you're a batch shop](https://swe.quest/articles/your-agents-don-t-care-that-you-re-a-batch-shop-f2ee189b6981b5bb.md): ClickHouse · 2026-11-24 · Easy · 10 min read · Analytics & OLAP, AI agents, Cost optimization, Capacity planning, Performance engineering
  Agent workloads turn one business question into tens of sequential, bursty queries, so even batch-oriented firms querying yesterday's data need engines that minimize compute-seconds per query.
- [Introducing preemptible compute: the same compute, half the price](https://swe.quest/articles/introducing-preemptible-compute-the-same-compute-half-the-price-8c66db34ac82eb9a.md): Together AI · 2026-11-24 · Medium · 4 min read · Cloud platforms, Kubernetes, Cost optimization, Model training, Inference & serving
  Together GPU Clusters now offer preemptible nodes on Kubernetes and Slurm at a flat 50% of on-demand price, billed sub-hourly, drawing from unused capacity and joining existing clusters with a \`together.ai/compute-class=preemptible\` label.

## 2026-11-19

- [How Abundant designed efficient rollout architecture with Modal Sandboxes](https://swe.quest/articles/how-abundant-designed-efficient-rollout-architecture-with-modal-sandboxes-6590e651fd7feefd.md): Modal · 2026-11-19 · Easy · 4 min read · Sandboxing & isolation, Model training, Evaluation, Serverless, Cost optimization
  Abundant runs its reinforcement learning rollout platform on Modal, with each of 75,000+ RL tasks executing in an isolated Modal Sandbox and Modal Functions powering the scheduler API.

## 2026-11-17

- [How Rakbank built centralized observability at scale with Amazon OpenSearch Service](https://swe.quest/articles/how-rakbank-built-centralized-observability-at-scale-with-amazon-opensearch-1bb98e77fef163aa.md): AWS Architecture Blog · 2026-11-17 · Medium · 9 min read · Observability, Cost optimization, Cloud platforms, Search, Kubernetes
  Rakbank's retail digital banking platform ingests about 150 GB/day of logs from EKS microservices via a Fluent Bit DaemonSet into a cross-account, three-AZ Amazon OpenSearch Service domain reached privately over Transit Gateway, while dual-writing raw logs to S3 for 7-year compliance retention queried with Athena.

## 2026-11-13

- [Introducing Spend Management: Spending limits and alerts for Cloudflare](https://swe.quest/articles/introducing-spend-management-spending-limits-and-alerts-for-cloudflare-dcd9025e1197ec48.md): Cloudflare · 2026-11-13 · Medium · 9 min read · Cost optimization, System design, Serverless, Data pipelines
  Cloudflare Spend Management, now in beta for pay-as-you-go customers, lets users set spending limits and alert thresholds on Workers and Durable Objects, automatically pausing billable invocations when a cap is hit.

## 2026-11-12

- [Scale distributed AI workloads with Ray and Anyscale on Amazon EC2](https://swe.quest/articles/scale-distributed-ai-workloads-with-ray-and-anyscale-on-amazon-ec2-0c6441d44d076c17.md): AWS Architecture Blog · 2026-11-12 · Easy · 8 min read · ML platforms, Cloud platforms, Cost optimization, Model training, Inference & serving
  Ray, run as the managed Anyscale service inside your own AWS account, can carry a multimodal AI/ML pipeline from a single instance to multi-node clusters without code changes.
- [Sandbox resourcing: burst, don't reserve](https://swe.quest/articles/sandbox-resourcing-burst-don-t-reserve-6ee1eed03f706498.md): Modal · 2026-11-12 · Medium · 6 min read · Sandboxing & isolation, Cost optimization, Capacity planning, Scheduling, AI agents
  Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation.
- [Mubit + Neon AI Gateway: an agent that cuts its own frontier-model tokens by 73%](https://swe.quest/articles/mubit-neon-ai-gateway-an-agent-that-cuts-its-own-frontier-model-tokens-by-73-358da1147275d399.md): Neon · 2026-11-12 · Medium · 10 min read · AI agents, LLMs, Cost optimization, Inference & serving, PostgreSQL
  Mubit, a proxy placed in front of Neon AI Gateway, records an agent's model calls, groups recurring calls into tasks, and fine-tunes a small open-weight model once a task has at least 25 good replies.

## 2026-11-09

- [Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System](https://swe.quest/articles/fact-checking-at-scale-building-a-more-accurate-and-efficient-synopsis-b4a7ea27d675f2cc.md): Netflix TechBlog · 2026-11-09 · Medium · 11 min read · LLMs, Evaluation, Cost optimization, System design
  Netflix replaced its synopsis fact-checker, which made five long-context (100k+ token) reasoning-model calls per synopsis, with a cascade.
- [Which Claude model should you build with? Fable, Opus, Sonnet, or Haiku](https://swe.quest/articles/which-claude-model-should-you-build-with-fable-opus-sonnet-or-haiku-6c6ec0a3b89623a4.md): claude.dev · 2026-11-09 · Medium · 17 min read · LLMs, AI for coding, AI agents, Cost optimization
  Opus 5.5 at medium effort is the recommended starting point for most coding and knowledge work.

## 2026-11-06

- [How OrderServ achieved up to 64% cost savings with multi-tenant ECS](https://swe.quest/articles/how-orderserv-achieved-up-to-64-cost-savings-with-multi-tenant-ecs-935530e80e7948f4.md): AWS Architecture Blog · 2026-11-06 · Medium · 13 min read · Multi-tenancy, Cloud platforms, Cost optimization, Capacity planning, Observability
  Cognizant's OrderServ food-ordering platform moved from one dedicated ECS Fargate cluster per brand (21 microservices each) to a shared multi-tenant cluster.

## 2026-11-05

- [LLM Cost Optimization: 3 Patterns to Cut LLM Token Spend](https://swe.quest/articles/llm-cost-optimization-3-patterns-to-cut-llm-token-spend-f19f5dd3713227bf.md): Honeycomb · 2026-11-05 · Medium · 9 min read · LLMs, Cost optimization, Observability, AI agents
  LLM token spend is best reduced by using traces to find three waste patterns: repeated input context that doesn't improve results, retry storms and runaway agent loops, and output tokens that don't lift outcomes.

## 2026-11-04

- [Dharma Field Extractor: Any Document In, Structured Fields in JSON Out](https://swe.quest/articles/dharma-field-extractor-any-document-in-structured-fields-in-json-out-ab0fec69412fc965.md): Hugging Face · 2026-11-04 · Easy · 8 min read · Computer vision, Model training, Evaluation, LLMs, Cost optimization
  Dharma-AI's Field Extractor is a 2B-parameter vision-language model, a LoRA adapter on DharmaOCR-LITE v1.1 trained on 43,384 field-annotated examples, that turns document images into typed JSON, either open-ended or filling a caller-supplied schema with nulls for missing fields.

## 2026-10-30

- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs.

## 2026-10-29

- [Speeding up language models for travel applications](https://swe.quest/articles/speeding-up-language-models-for-travel-applications-59383cdd398ccff9.md): Amazon Science · 2026-10-29 · Medium · 4 min read · Inference & serving, Model training, LLMs, Performance engineering, Cost optimization
  Combining knowledge distillation with Medusa multi-token decoding let Booking.com replace large LLMs with a 1.1B-parameter TinyLlama student that matches a Llama-3.1 70B teacher while running 10 to 20 times as fast.

## 2026-10-28

- [Why ClickHouse Cloud wins at real-time analytics](https://swe.quest/articles/why-clickhouse-cloud-wins-at-real-time-analytics-ff3bf2806ccb7be7.md): ClickHouse · 2026-10-28 · Medium · 21 min read · Analytics & OLAP, Storage engines, Query engines, Performance engineering, Cost optimization
  In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.

## 2026-10-22

- [Introducing our Training API](https://swe.quest/articles/introducing-our-training-api-a5babdede3e3cd17.md): Modal · 2026-10-22 · Hard · 7 min read · Model training, ML platforms, Multi-tenancy, Cost optimization, Open source
  Spindle is an open-source, Tinker-compatible post-training server that runs in a user's Modal workspace and bills for GPU time instead of tokens, so teams can customize models and features.

## 2026-10-21

- [How Specializing the Vocabulary of SLMs Can Cut Inference Cost by 77% in Real Applications](https://swe.quest/articles/how-specializing-the-vocabulary-of-slms-can-cut-inference-cost-by-77-in-real-c0f4e920b37cfe6d.md): Hugging Face · 2026-10-21 · Hard · 11 min read · Inference & serving, LLMs, Cost optimization, Model training
  VocabX rebuilds a fine-tuned small model's tokenizer by choosing tokens for the cost they save rather than how often they appear.
- [How Shopify turns open models into task experts](https://swe.quest/articles/how-shopify-turns-open-models-into-task-experts-a2ba67e222beb92b.md): Shopify Engineering · 2026-10-21 · Hard · 5 min read · Model training, Inference & serving, Evaluation, AI agents, Cost optimization
  Shopify's Sidekick keeps a frontier model for merchant conversation and planning but offloads token-heavy subagent work, such as GraphQL query generation, to open models it post-trains and self-hosts.

## 2026-10-20

- [Observability At Scale — Every Byte Counts](https://swe.quest/articles/observability-at-scale-every-byte-counts-3491ffe2c3088798.md): Wise Engineering · 2026-10-20 · Medium · 14 min read · Observability, Cost optimization, Performance engineering, Kubernetes
  Five observability changes at Wise cut monthly spend by 40%.
- [Spin-Up, Test, Tear-Down: How trivago Runs 600+ Preview Environments on Kubernetes](https://swe.quest/articles/spin-up-test-tear-down-how-trivago-runs-600-preview-environments-on-kubernetes-05cd513386944763.md): trivago tech · 2026-10-20 · Medium · 13 min read · Kubernetes, Deployment, Cost optimization, Testing, CI/CD
  trivago runs 600+ per-pull-request preview environments on GKE that sit at zero replicas most of the time, using ArgoCD ApplicationSets with a pull-request generator for lifecycle and the KEDA HTTP add-on's interceptor proxy to hold requests while a deployment scales from zero.

## 2026-10-16

- [Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM](https://swe.quest/articles/advancing-generative-recommendation-inference-our-collaboration-with-nvidia-on-edd2a66abab4a278.md): Spotify Engineering · 2026-10-16 · Hard · 7 min read · Inference & serving, Recommendations & ranking, LLMs, Cost optimization
  Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks.
- [Everything We Talked About at O11yDay London 2026](https://swe.quest/articles/everything-we-talked-about-at-o11yday-london-2026-0f7b0e96a8f38f57.md): Honeycomb · 2026-10-16 · Medium · 11 min read · AI agents, Observability, AI for coding, Code review, Cost optimization
  Across ten sessions at O11yDay London, the recurring bottleneck was not writing code but reviewing it, operating agents in production, and proving the spend is worth it.

## 2026-10-15

- [OLTP is expensive, you can ClickHouse it.](https://swe.quest/articles/oltp-is-expensive-you-can-clickhouse-it-cd5e8f20ed5b5b0f.md): ClickHouse · 2026-10-15 · Easy · 6 min read · PostgreSQL, Analytics & OLAP, Cost optimization, Storage engines, Event-driven architecture
  Data that has stopped changing doesn't need Postgres's ACID machinery, so it can be offloaded to ClickHouse for roughly an order of magnitude better unit economics.

## 2026-10-14

- [Why Redshift Serverless can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-redshift-serverless-can-t-match-clickhouse-cloud-for-real-time-analytics-8ba7c0518a8afd27.md): ClickHouse · 2026-10-14 · Hard · 20 min read · Analytics & OLAP, Stream processing, Cost optimization, Performance engineering, Cloud platforms
  In a CostBench continuous-ingestion test streaming 113.2 billion stock quotes at a target of 1M rows/s, ClickHouse Cloud scored 1,996× better end-to-end performance per dollar than Redshift Serverless.

## 2026-10-13

- [Open Models have crossed a threshold](https://swe.quest/articles/open-models-have-crossed-a-threshold-c54376af892bf600.md): LangChain · 2026-10-13 · Medium · 7 min read · Evaluation, LLMs, AI agents, Cost optimization
  Open-weight models GLM-5 and MiniMax M2.7 now score close to closed frontier models on core agent tasks in LangChain's Deep Agents eval suite.
- [Toward RL on mixed-precision, mixed-accelerator samplers](https://swe.quest/articles/toward-rl-on-mixed-precision-mixed-accelerator-samplers-1c0dc5519077aec1.md): Modal · 2026-10-13 · Hard · 17 min read · Model training, Inference & serving, LLMs, Hardware, Cost optimization
  RL training of Qwen3.6-35B-A3B on agentic coding stays stable when samplers run on six accelerator types (A100 through B300, RTX PRO 6000) in NVFP4, FP8 and BF16 with their own kernels, feeding a BF16 trainer on B200.

## 2026-10-09

- [How to Build a Model Router in the Harness](https://swe.quest/articles/how-to-build-a-model-router-in-the-harness-cfe4402ea89738e9.md): LangChain · 2026-10-09 · Medium · 11 min read · AI agents, LLMs, Cost optimization, Evaluation, AI for coding
  Routing each coding-agent thread to one of three model tiers (fast, balanced, performance) cut median cost per thread by 64% versus always using a top frontier model, with no measurable change in merged-PR rate (29.2% vs 27.3%, p=0.49) across 973 threads in Open SWE.

## 2026-10-08

- [Why BigQuery can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-bigquery-can-t-match-clickhouse-cloud-for-real-time-analytics-fd197ffd824251d5.md): ClickHouse · 2026-10-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Cloud platforms, Data pipelines
  In the CostBench benchmark, ClickHouse Cloud and BigQuery ingest 113.2 billion stock quotes at a target of 1M rows/s while aggregate and drill-down queries run continuously, and ClickHouse Cloud scores 438× better end-to-end performance per dollar under BigQuery Capacity pricing and 512× under On-demand.

## 2026-10-06

- [Why Databricks can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-databricks-can-t-match-clickhouse-cloud-for-real-time-analytics-64110106fa23e085.md): ClickHouse · 2026-10-06 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In a vendor-run CostBench test, ClickHouse Cloud and Databricks each ingested a stream of 113.2 billion stock quotes, targeting 1M rows/s, while aggregate and drill-down queries ran on schedule.

## 2026-10-05

- [Scaling Kubernetes Workloads with Node Swap](https://swe.quest/articles/scaling-kubernetes-workloads-with-node-swap-f795d2bfe3f76482.md): Kubernetes Blog · 2026-10-05 · Medium · 6 min read · Kubernetes, Linux, Sandboxing & isolation, Performance engineering, Cost optimization
  Kubernetes node swap, GA since v1.34 and backed by fast NVMe Local SSDs, lets nodes page out dormant anonymous memory and pack far more pods.
- [Executable UDFs are now generally available on ClickHouse Cloud](https://swe.quest/articles/executable-udfs-are-now-generally-available-on-clickhouse-cloud-afc730ccd3e99d10.md): ClickHouse · 2026-10-05 · Medium · 20 min read · Analytics & OLAP, Rust, LLMs, Cost optimization, Observability
  Executable UDFs are now generally available on ClickHouse Cloud across AWS, GCP and Azure, adding a Native runtime for statically linked Rust/Go/C++/JavaScript binaries, outbound network access, per-process memory limits, a deterministic flag that enables the query cache, Cloud API and Terraform support, and per-query UDF metrics in 26.6+.

## 2026-09-29

- [Node.js at scale, rebalanced: how we cut cost by 38%](https://swe.quest/articles/node-js-at-scale-rebalanced-how-we-cut-cost-by-38-1008b397ea498cc9.md): Booking.com Engineering · 2026-09-29 · Medium · 17 min read · JavaScript, Performance engineering, Cost optimization, Load balancing, Runtimes & VMs
  Booking.com cut compute costs for its largest Node.js React SSR service by 38% (30% fewer pods, 20% less memory per pod, up to 10% lower tail latency) without touching service code, by moving from pm2's cluster-based processes to wattpm worker threads and revisiting long-untouched configuration.

## 2026-09-21

- [Kubernetes v1.37: Tracking When a PersistentVolumeClaim Was Last Used (Beta)](https://swe.quest/articles/kubernetes-v1-37-tracking-when-a-persistentvolumeclaim-was-last-used-beta-f2e1a2088a092b2f.md): Kubernetes Blog · 2026-09-21 · Medium · 5 min read · Kubernetes, Storage systems, Cost optimization
  Kubernetes v1.37 promotes the PersistentVolumeClaimUnusedSinceTime feature gate to Beta and enables it by default.
- [Can Jev Be a Better Agent Evaluator?](https://swe.quest/articles/can-jev-be-a-better-agent-evaluator-99ff69918ef5b7f5.md): LangChain · 2026-09-21 · Medium · 8 min read · Evaluation, AI agents, LLMs, Cost optimization
  Jev, a "System One" model from TypeSafe AI that returns typed answers and probabilities instead of generating text, was tested as an agent evaluator against GPT-5.6 Luna, GPT-5.6 Terra and Claude Sonnet 4.6.
- [AI coding has made CI a bottleneck, so we reworked ours to keep up](https://swe.quest/articles/ai-coding-has-made-ci-a-bottleneck-so-we-reworked-ours-to-keep-up-1594c74d280c863b.md): Linear · 2026-09-21 · Medium · 8 min read · CI/CD, Developer productivity, Cost optimization, TypeScript, Performance engineering
  Linear cut pull request CI wait time from over 6 minutes to about 5 and halved runner time per test, even as its test suites nearly quadrupled.

## 2026-09-16

- [Migrating from closed to open source models, Together](https://swe.quest/articles/migrating-from-closed-to-open-source-models-together-1266d38cb0fbfc09.md): Together AI · 2026-09-16 · Easy · 8 min read · LLMs, Evaluation, Inference & serving, Cost optimization, Deployment
  Moving from closed to open source LLMs can take weeks rather than years when it follows a five-stage process: discover, evaluate, adapt, decide, production.

## 2026-09-11

- [Evolving Pinterest’s Embedding Retrieval Platform](https://swe.quest/articles/evolving-pinterest-s-embedding-retrieval-platform-c93c0b5fa7cc0d54.md): Pinterest Engineering · 2026-09-11 · Hard · 7 min read · Vector search, Search, Cost optimization, Recommendations & ranking, Performance engineering
  Pinterest is evolving Manas, its in-house distributed search platform serving billions of embeddings across 80+ clusters, along three fronts: quantization, SSD-based ANN serving, and multi-embedding retrieval.
- [AI Functions in ClickHouse: Upgrade your SQL to the AI age](https://swe.quest/articles/ai-functions-in-clickhouse-upgrade-your-sql-to-the-ai-age-11cec6552950f306.md): ClickHouse · 2026-09-11 · Medium · 12 min read · LLMs, SQL, RAG & retrieval, Analytics & OLAP, Cost optimization
  ClickHouse's beta AI Functions call LLM and embedding providers directly from SQL.

## 2026-09-10

- [Why Snowflake can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-snowflake-can-t-match-clickhouse-cloud-for-real-time-analytics-a0d24a843f0ecba4.md): ClickHouse · 2026-09-10 · Medium · 18 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In the CostBench continuous-ingestion benchmark (113.2 billion stock quotes streamed toward 1M rows/s while aggregate and drill-down queries ran on the freshest data), ClickHouse Cloud scored 412× better end-to-end performance per dollar than Snowflake.

## 2026-09-08

- [CostBench: Putting real-time analytics to the test](https://swe.quest/articles/costbench-putting-real-time-analytics-to-the-test-d29d773d94c62f6a.md): ClickHouse · 2026-09-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  CostBench measures real-time analytics performance per dollar as one continuous workload: more than 100 billion NBBO stock quotes are streamed at a target of 1 million rows/sec while aggregate and drill-down queries run on a fixed schedule.

## 2026-09-04

- [Comparing token economics across 42 AI models](https://swe.quest/articles/comparing-token-economics-across-42-ai-models-653e0d85d2add5a0.md): Neon · 2026-09-04 · Medium · 10 min read · Evaluation, LLMs, Cost optimization, Inference & serving
  A synthetic workload of 100 support tickets (20 scenarios × 5 tone variants) was run through 42 models via Neon AI Gateway, with responses graded on seven checks including JSON validity, correct classification and escalation, and policy compliance.

## 2026-09-02

- [Kubernetes v1.37: Scale Workloads to Zero with HorizontalPodAutoscaler](https://swe.quest/articles/kubernetes-v1-37-scale-workloads-to-zero-with-horizontalpodautoscaler-d8e25c817e5e1444.md): Kubernetes Blog · 2026-09-02 · Medium · 5 min read · Kubernetes, Capacity planning, Cost optimization
  Kubernetes v1.37 promotes HPA scale-to-zero to Beta and enables it by default, so a HorizontalPodAutoscaler with minReplicas: 0 can scale workloads to zero and back based on object or external metrics such as queue length.
- [How we make AI coding more cost efficient without sacrificing task quality](https://swe.quest/articles/how-we-make-ai-coding-more-cost-efficient-without-sacrificing-task-quality-07be31d835dcfb01.md): GitHub Engineering · 2026-09-02 · Medium · 10 min read · AI agents, AI for coding, LLMs, Evaluation, Cost optimization
  GitHub Copilot cut agent costs by optimizing for whole-task outcomes rather than per-tool-call token counts, after finding that aggressive shell-output compression (RTK) made agents reread or rerun commands and raised end-to-end cost.

## 2026-09-01

- [How Uken Games reduces observability costs by 87% with ClickHouse](https://swe.quest/articles/how-uken-games-reduces-observability-costs-by-87-with-clickhouse-b3d46180eaebbbed.md): ClickHouse · 2026-09-01 · Medium · 7 min read · Observability, Cost optimization, Analytics & OLAP, Games
  Uken Games replaced Datadog with an open-source observability stack: OpenTelemetry collectors in an agent-plus-gateway layout, SigNoz on a single ClickHouse node for traces, AWS-managed Prometheus for metrics, CloudWatch for logs, and Grafana alerts defined as code via a custom CloudFormation resource.

[Next page](https://swe.quest/tags/cost-optimization.md?per=48&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=cost-optimization](https://swe.quest/feed.xml?tag=cost-optimization). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
