---
title: "Building Etsy Buyer Profiles with LLMs"
description: "Etsy is experimenting with LLM-generated buyer profiles that infer each shopper's style, category interests and current shopping missions from recent searches, views, purchases and favorites, emitting structured output with confidence scores and an explanation."
url: "https://swe.quest/articles/building-etsy-buyer-profiles-with-llms-e896fd97e009f13b"
canonical: "https://www.etsy.com/codeascraft/building-etsy-buyer-profiles-with-llms"
source: "Etsy Code as Craft"
published: "2025-09-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["recommendation-systems","llms","search","data-pipelines","cost-optimization"]
---

# Building Etsy Buyer Profiles with LLMs

A post on [Etsy Code as Craft](https://swe.quest/sources/etsy.md), published 2025-09-03, 6 min read, Case study. Original: [https://www.etsy.com/codeascraft/building-etsy-buyer-profiles-with-llms](https://www.etsy.com/codeascraft/building-etsy-buyer-profiles-with-llms)

## Summary

Etsy is experimenting with LLM-generated buyer profiles that infer each shopper's style, category interests and current shopping missions from recent searches, views, purchases and favorites, emitting structured output with confidence scores and an explanation. Scaling to roughly 90M buyers meant moving listing data from APIs to clustered and partitioned BigQuery tables, cutting input history from 2 years to 9 months, batching and parallelizing with managed concurrency, switching to a smaller model, and staggering Airflow batches by user\_id. Together these cut generation time from 21 to 3 days per 10M users and estimated cost by 94% per million users. The profiles feed personalized query rewriting and search refinement pills, with CTR, conversion and pill engagement as success metrics, and collaborative-filtering "inheritance profiles" are being explored for cold-start users.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- search query rewriting ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- batch data pipelines ([easy posts on Data pipelines](https://swe.quest/tags/data-pipelines.md?difficulty=easy))

## Keywords

Etsy, BigQuery, Airflow, OpenAI, collaborative filtering

## Related posts

- [Understanding Etsy’s Vast Inventory with LLMs](https://swe.quest/articles/understanding-etsy-s-vast-inventory-with-llms-1fa28367e98029f1.md): Etsy Code as Craft · 2025-10-13 · Medium · 7 min read · LLMs, Evaluation, E-commerce, Search, Data pipelines
  Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs.
- [How Etsy Uses LLMs to Improve Search Relevance](https://swe.quest/articles/how-etsy-uses-llms-to-improve-search-relevance-3911d99788b5bd04.md): Etsy Code as Craft · 2026-01-16 · Medium · 10 min read · Search, LLMs, Evaluation, Model training, E-commerce
  Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant.
- [Shaping Product Understanding with Contrastive Reinforcement Learning](https://swe.quest/articles/shaping-product-understanding-with-contrastive-reinforcement-learning-dd8440354bbdc8d2.md): Etsy Code as Craft · 2026-05-26 · Hard · 9 min read · Model training, LLMs, Search, Recommendations & ranking, E-commerce
  Etsy fine-tunes Qwen3-VL-8B with GRPO to generate natural-language listing summaries that capture distinguishing product details buried in long descriptions, attributes and images.
- [Context engineering case studies: Etsy-specific question answering](https://swe.quest/articles/context-engineering-case-studies-etsy-specific-question-answering-ff89774f7981cc63.md): Etsy Code as Craft · 2025-08-19 · Medium · 11 min read · RAG & retrieval, LLMs, Evaluation
  Etsy tested whether prompt engineering over embedding-based retrieval, without fine-tuning, could reliably answer Etsy-specific questions.
- [Shopify’s generative discovery model](https://swe.quest/articles/shopify-s-generative-discovery-model-99e5ac502d9a8c68.md): Shopify Engineering · 2026-11-11 · Hard · 12 min read · Recommendations & ranking, Search, LLMs, Inference & serving, Model training
  Shopify trained a single generative model, adapted from an open-weight LLM, that emits semantic-ID tokens to generate product candidates for both personalized search and recommendation across a catalog of billions.

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)
