# Spotify uses SGLang's Score API to rank podcast candidates in one request

> Original title: 🎧 Scoring many candidates one request at a time gets expensive fast in generative recommendation. @SpotifyEng uses SGLang to solve it.

- Source: SGLang
- Published: 2026-10-23T07:36:48.000Z
- Bad Influence: https://badinfluence.news/items/x73n2q9clf8d3dixuqg2kqhpw
- Original: https://x.com/sgl_project/status/2113535092643823630

## Summary

Spotify uses SGLang's Score API to score many candidates in a single request for LLM-powered podcast recommendations. The multi-item scoring with candidate masking removes per-candidate request fan-out and cuts overhead. The feature was built with contributions from LinkedIn.

## Post

🎧 Scoring many candidates one request at a time gets expensive fast in generative recommendation. @SpotifyEng uses SGLang to solve it.

In their latest blog, @Spotify shares how they serve LLM-powered podcast recommendations. For candidate scoring, they rely on SGLang's Score API. It uses multi-item scoring with candidate masking to score many candidates in a single request. This removes the per-candidate request fan-out and cuts overhead. The feature was built with contributions from @LinkedIn, and Spotify uses it to explore LLM-based candidate ranking.

Great to see SGLang in Spotify's generative recommendation work. 

Read the blog: https://engineering.atspotify.com/2026/10/advancing-generative-recommendation-inference-our-collaboration-with-nvidia-on-tensorrt-llm

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHVTInacaoAA8w-q.png&mode=thumb&exp=1795651200&sig=1a6ad14853087f9a)
