DEV Community

Cover image for Spotify Running Mode: AI‑Driven Playlists for Every Run
LuckyTaorem
LuckyTaorem

Posted on Originally published at ltdeveloperblogs.github.io

Spotify Running Mode: AI‑Driven Playlists for Every Run

What Is Spotify’s Running Mode?

Spotify’s Fitness hub has been expanded with Running Mode, an AI‑powered feature that builds playlists around the beats‑per‑minute (BPM) of a user‑selected workout. Unlike the 2018 “Spotify Running” that relied on real‑time pace detection, the new implementation lets runners choose a preset (Intervals, Pyramids, Easy, Long & Advanced, or Just Run) and then automatically aligns the music tempo to the intensity curve of that session.

Key attributes:

  • AI‑driven curation – The backend language model analyses a user’s listening history, genre preferences, and the chosen intensity curve to generate a fresh list each day.
  • BPM alignment – Playlists are constructed so that each track’s BPM matches the target tempo for the current phase (e.g., 135 BPM for an Easy run, 150 BPM for Long & Advanced).
  • Voice guidance – Optional spoken cues announce phase changes, provide motivational check‑ins, and can be muted if desired.
  • Prompted Playlist – A text‑based AI DJ that accepts free‑form prompts such as “high‑energy songs I haven’t heard since last year” or “hip‑hop tracks from 2013 for a Sunday jog”.

Running Mode is currently available on iOS and Android for Spotify Premium subscribers in select markets, positioning the streaming giant at the intersection of music, AI, and mobile fitness.

Technical Architecture and AI Mechanics

AI Model Selection

Spotify leverages its existing recommendation engine, which already blends collaborative filtering, natural language processing (NLP) of track metadata, and audio feature analysis (tempo, energy, valence). For Running Mode, the system adds a tempo‑matching layer that filters candidate tracks by BPM range before the final ranking step.

Intensity Curve Mapping

Each preset defines a series of BPM targets:

🔹 ----------
• Phase Order: -------------------------------------------
• Target BPM: ------------

🔹 Intervals
• Phase Order: Sprint → Rest → Sprint → Rest …
• Target BPM: 160–180

🔹 Pyramids
• Phase Order: Warm‑up → Build → Peak → Downshift → Cool
• Target BPM: 135 → 150 → 170 → 150 → 135

🔹 Easy
• Phase Order: Steady run (20 min)
• Target BPM: 135

🔹 Long & Advanced
• Phase Order: Continuous run (45 min)
• Target BPM: 150

🔹 Just Run
• Phase Order: Quick start (20 min)
• Target BPM: 160

During playlist generation, the AI selects tracks whose BPM falls within a ±5 BPM window of each phase’s target, then applies a secondary relevance score based on user taste, recency, and “novelty” (tracks the user hasn’t heard recently).

Prompted Playlist Engine

The Prompted Playlist feature invokes a large language model (LLM) hosted on Spotify’s cloud infrastructure. When a user taps “View prompt” and types a request, the LLM parses the intent, extracts constraints (genre, era, energy level), and queries the music catalog with those filters. The result is a curated list that respects both the textual request and the underlying BPM constraints of the active workout.

Mobile Integration

Running Mode runs as a native module inside the Spotify app:

  • iOS: Built with SwiftUI, leveraging Apple’s Core Motion APIs for optional step‑count integration (though the mode itself does not require real‑time pace detection).
  • Android: Implemented in Kotlin, using Jetpack Compose for UI and the Android AudioManager for seamless cross‑fade between tracks.

Both platforms share a common backend API, reducing latency and ensuring that daily playlist updates are delivered within seconds of the user opening the Fitness hub.

Why It Matters for Users and the Fitness Market

Personalized Motivation

Music is a proven performance enhancer. Studies show that aligning tempo with stride frequency can improve running efficiency by up to 5 %. By automatically matching BPM to the workout’s intensity curve, Running Mode removes the manual effort of searching for the “right” songs and lets runners stay in the zone.

Reducing Decision Fatigue

The Prompted Playlist tool addresses a common pain point: “I want something fresh but I don’t have time to browse.” Users can type a natural‑language request and receive a ready‑to‑play list in seconds, cutting down on pre‑workout preparation.

Data‑Driven Health Insights

While Running Mode does not yet collect live pace data, the daily usage logs (playlist length, genre switches, voice cue toggles) provide Spotify with a rich dataset on how music influences workout duration and perceived effort. This could eventually feed into more sophisticated health‑tracking features or partnerships with wearable manufacturers.

Competitive Edge

Competitors such as Apple Music and Amazon Music have introduced “Workout” playlists, but they remain static collections curated by human editors. Spotify’s AI‑first approach offers dynamic, daily‑fresh content that adapts to each user’s evolving taste—a clear differentiator in the crowded streaming‑fitness space.

Industry Impact and Competitive Landscape

Convergence of Streaming and Fitness

The launch of Running Mode signals a broader industry trend where music platforms are becoming fitness‑tech platforms. Companies like Peloton and Apple Fitness+ already embed music into their classes; Spotify is now bringing that integration directly to the user’s own runs, without requiring a separate subscription.

Potential Partnerships

Given the AI‑driven nature of the feature, Spotify could partner with device makers to incorporate real‑time biometric data (heart rate, cadence) in future updates. This would align with the Android Desktop Mode on Pixel 8 article, which discusses how Google is blurring the line between phone and PC experiences, hinting at a future where a phone could serve as a full‑featured fitness console.

Market Reaction

Early user feedback on social platforms praises the “no‑scroll” experience and the ability to “just run” without fiddling with settings. Fitness influencers have begun showcasing the feature in Instagram Stories, further amplifying its reach. The fact that the feature is limited to Premium subscribers may push a segment of free users toward conversion, echoing the conversion tactics seen in other premium‑only services.

Related Content

new opportunities for integrated music and fitness experiences, especially as devices become more capable of handling AI workloads locally.

How to Get Started with Running Mode

  1. Open the Spotify app on your iOS or Android device and navigate to the Fitness hub (the dumbbell icon at the bottom navigation bar).
  2. Tap Running Mode. If you don’t see it, ensure your app is updated to the latest version (iOS ≥ 15.6, Android ≥ 13).
  3. Choose a preset (Intervals, Pyramids, Easy, Long & Advanced, or Just Run).
  4. Adjust the duration slider to set the length of your session (10 – 90 minutes).
  5. (Optional) Toggle Voice Guidance on or off.
  6. Press Start – the AI will generate a fresh playlist and begin playback.

Saving a playlist
During the run, you can tap the heart icon next to any track to add it to your library. After the session ends, a “Save this Run” button appears at the bottom of the screen, allowing you to store the entire generated list for future reuse.

Using Prompted Playlist

  1. While in Running Mode, tap the Prompted Playlist button at the top right.
  2. In the text field that appears, type a natural‑language request (e.g., “upbeat indie tracks from 2018 that I haven’t heard in the last month”).
  3. Hit Generate. The LLM will return a list of tracks that respect both your textual constraints and the BPM curve of the active preset.

User Experience Walkthrough (Screenshots)

🔹 ------
• Screenshot: ------------
• Description: -------------

🔹 1
• Screenshot: !Fitness hub
• Description: Access the Fitness hub from the main navigation.

🔹 2
• Screenshot: !Running Mode selection
• Description: Choose a preset and set duration.

🔹 3
• Screenshot: !Prompted Playlist UI
• Description: Enter a free‑form prompt for custom curation.

🔹 4
• Screenshot: !In‑run UI
• Description: Real‑time view of current phase, BPM target, and voice cue toggle.

🔹 5
• Screenshot: !Save Run
• Description: Save the generated playlist for later use.

(All images are placeholders; replace with actual screenshots before publishing.)

Potential Future Enhancements

🔹 ---------
• Description: -------------
• Likelihood (12 mo): -------------------

🔹 *Real‑time cadence sync*
• Description: Leverage device sensors or wearables to automatically adjust BPM based on actual stride frequency.

Read the full breakdown originally published at https://ltdeveloperblogs.github.io/posts/how-to-use-spotifys-running-mode-on-ios-and-android/

Top comments (0)