Model reference · open weights

magenta-realtime-2

Audio google Music / audio 1 build Open weights 6k dl/mo

magenta-realtime-2 is an open-weight audio or speech model from Google. magenta-realtime-2 (BF16) weighs 11.3 GB; the smallest configuration that runs it is RTX 4060 Ti 16 GB.

  • Magenta RealTime 2 is an open music generation model from Google designed for on-device streaming with low-latency control.
  • It generates continuous musical audio steered by text prompts, audio examples, and MIDI inputs.
  • The model is available in base and small configurations with 2.4B and 230M parameters, respectively, and the model weights are licensed under CC-BY-4.0.

Summary of the google/magenta-realtime-2 model card, 2026-10-01

What it is

Released byGoogle
Released2026-05-28
VRAM11.3 GB for the weights

What it runs on

Memory and cards for magenta-realtime-2 (BF16)

11.3 GBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBdoes not fit11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What Google says about magenta-realtime-2

Read the model card

Authors: Google DeepMind

Resources:

Terms of Use

Magenta RealTime 2 is offered under a combination of licenses: the codebase is licensed under Apache 2.0, and the model weights under Creative Commons Attribution 4.0 International. In addition, we specify the following usage terms:

Copyright 2026 Google LLC

Use these materials responsibly and do not generate content, including outputs, that infringe or violate the rights of others, including rights in copyrighted content.

Google claims no rights in outputs you generate using Magenta RealTime 2. You and your users are solely responsible for outputs and their subsequent uses.

Unless required by applicable law or agreed to in writing, all software and materials distributed here under the Apache 2.0 or CC-BY licenses are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the licenses for the specific language governing permissions and limitations under those licenses. You are solely responsible for determining the appropriateness of using, reproducing, modifying, performing, displaying or distributing the software and materials, and any outputs, and assume any and all risks associated with your use or distribution of any of the software and materials, and any outputs, and your exercise of rights and permissions under the licenses.

Model Details

Magenta RealTime 2 is an open music generation model from Google built for on device streaming generation with low-latency control. It is a live music model and a follow up to the prior Magenta RealTime model and Lyria RealTime API, offering on-device generation with richer control and lower latency. Magenta RealTime 2 enables the continuous generation of musical audio steered by text prompts, audio examples, and MIDI.

System Components

Magenta RealTime 2 is composed of three components: SpectroStream, MusicCoCa, and an LLM. The structure is similar to that of the original Magenta RealTime, detailed here. The primary difference is the LLM, which is now a Decoder-only model supporting frame-wise autoregression (rather than chunk-wise) and tuned for on-device streaming with frame-level control.

  1. SpectroStream (Li+ 25) is a discrete audio codec that converts stereo 48kHz audio into tokens.
  2. MusicCoCa is a contrastive-trained model capable of embedding audio and text into a common embedding space, building on Yu+ 22 and Huang+ 22.
  3. A decoder-only Transformer LLM generates audio tokens given context audio tokens, a tokenized MusicCoCa embedding, and MIDI tokens. There are two configurations:
    1. A base configuration with 2.4B parameters
    2. A small configuration with 230M parameters

Inputs and outputs

  • SpectroStream RVQ codec: Tokenizes high-fidelity music audio
    • Encoder input / Decoder output: Music audio waveforms, 48kHz stereo
    • Encoder output / Decoder input: Discrete audio tokens, 25Hz frame rate, 64 RVQ depth, 10 bit codes, 16kbps
  • MusicCoCa: Joint embeddings of text and music audio
    • Input: Music audio waveforms, 16kHz mono, or text representation of music style e.g. "heavy metal"
    • Output: 768 dimensional embedding, quantized to 12 RVQ depth, 10 bit codes
  • Decoder Transformer LLM: Generates audio tokens given context, MIDI, and style. At each timestep (codec frame), the model receives:
    • Input:
      • (Context) SpectroStream tokens
        • base: 25 frame (1s) windowed attention per layer, 20 layers
        • small: 41 frame (~1.6s) windowed attention per layer, 12 layers
        • Yields 20s effective receiptive field for both models
      • (Style) 12 MusicCoCa tokens
      • (MIDI) 128-dim multihot vector representing the state of each MIDI pitch during this frame (0 = Off, 1 = Sustain, 2 = Onset, 3 = Sustain or onset, model decides)
    • Output: 1 generated frame, 12 RVQ tokens

Uses

Music generation models, in particular ones targeted for continuous real-time generation and control, have a wide range of applications across various industries and domains. The following list of potential uses is not comprehensive. The purpose of this list is to provide contextual information about the possible use-cases that the model creators considered as part of model training and development.

  • Interactive Music Creation
    • Live Performance / Improvisation: These models can be used to generate music in a live performance setting, controlled by performers manipulating style embeddings or the audio context
    • Accessible Music-Making & Music Therapy: People with impediments to using traditional instruments (skill gaps, disabilities, etc.) can participate in communal jam sessions or solo music creation.
    • Video Games: Developers can create a custom soundtrack for users in real-time based on their actions and environment.
  • Research
    • Transfer learning: Researchers can leverage representations from MusicCoCa and Magenta RT 2 to recognize musical information.
  • Personalization
    • Musicians can finetune models with their own catalog to customize the model to their style (fine tuning support co

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms