---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=shopify&tag=cost-optimization"
---

# Posts

Filtered by topics: Cost optimization, source: Shopify Engineering.

Posts 1–6 of 6, page 1 of 1, newest first.

## 2026-10-21

- [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-08-19

- [Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost](https://swe.quest/articles/gisting-compressing-llm-agent-context-to-throughput-and-cost-77b1a192c9e3be28.md): Shopify Engineering · 2026-08-19 · Hard · 5 min read · Inference & serving, LLMs, Model training, Cost optimization, Performance engineering
  Shopify compressed the ~6,000-token system prompt of its Sidekick GraphQL agent into ~1,500 learned gist tokens (4:1) without losing prediction quality.

## 2026-08-05

- [Sidekick's continual learning loop](https://swe.quest/articles/sidekick-s-continual-learning-loop-f72e46000910fa09.md): Shopify Engineering · 2026-08-05 · Hard · 9 min read · Model training, Evaluation, Inference & serving, LLMs, Cost optimization
  Shopify's Sidekick GraphQL agent improves daily through a continual learning loop that turns production failures into model weight updates, beating frontier-model quality while cutting estimated serving costs from about $27M to $1M per year (96%).

## 2026-01-26

- [SkyPilot at Shopify: Multi-cloud GPUs without the pain](https://swe.quest/articles/skypilot-at-shopify-multi-cloud-gpus-without-the-pain-4e974636618c8521.md): Shopify Engineering · 2026-01-26 · Medium · 6 min read · ML platforms, Kubernetes, Scheduling, Cloud platforms, Cost optimization
  Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration.

## 2024-10-18

- [How Shopify improved consumer search intent with real-time ML](https://swe.quest/articles/how-shopify-improved-consumer-search-intent-with-real-time-ml-15d46e89bc4248e9.md): Shopify Engineering · 2024-10-18 · Medium · 8 min read · Inference & serving, Stream processing, ML platforms, Search, Cost optimization
  Shopify generates about 2,500 text and image embeddings per second (216M/day) in near real time with Google Cloud Dataflow and Apache Beam's RunInference on T4 GPUs, feeding Storefront Semantic Search and a BigQuery warehouse.

## 2022-11-03

- [Reducing BigQuery Costs: How We Fixed A $1 Million Query](https://swe.quest/articles/reducing-bigquery-costs-how-we-fixed-a-1-million-query-623d7a6f57bc4fa3.md): Shopify Engineering · 2022-11-03 · Medium · 5 min read · Analytics & OLAP, Cost optimization, Cloud platforms, Stream processing
  Clustering a BigQuery table on two columns used in a query's WHERE clause cut the data scanned per query from about 75 GB to roughly 100–500 MB, turning a projected ~$949K/month bill into about $1,370/month.

Same list as RSS: [https://swe.quest/feed.xml?source=shopify&tag=cost-optimization](https://swe.quest/feed.xml?source=shopify&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)
