# Lyria 3 API pricing for AI agents

Source: https://corespeed.io/models/lyria-3

Lyria 3 is Google's music model for tracks with vocals and lyrics, or instrumentals, from a text prompt or a photo, with control over style, vocals and tempo. Through CoreSpeed, Claude Code, Codex, Cursor or any MCP agent runs Lyria 3, Lyria 3 Pro and Lyria 3.5 with no Google API key, from one credit balance.

## What it costs, per billed unit

Read from the CoreSpeed catalog for this answer. Rates are in credits, and 1,000 credits are $1.

| Variant | Name in the catalog | Rate | In dollars |
| --- | --- | --- | --- |
| Music, Lyria 3 | Lyria3 | 60 credits per billed clip | $0.06 |
| Music, Lyria 3 Pro | Lyria 3 Pro | 120 credits per billed clip | $0.12 |
| Music, Lyria 3.5 | Lyria 3.5 | 150 credits per billed generation | $0.15 |

A run is billed once, after it succeeds: the rate times the units the model reports for that run. Settings such as resolution, length, count or sound change how many units a run counts. A failed, cancelled or expired run costs nothing.

Every model in Audio generation, with its rate: https://corespeed.io/catalog/audio-generation

## What it does well

- Songs with vocals and lyrics written for you, or instrumentals.
- Control over style, vocals and tempo; on Lyria 3 Pro, intros, verses, choruses and bridges.
- Music that matches the mood of a photo you give it.

## Facts

- Takes: A prompt of up to 5,000 characters: genre, mood, instruments, tempo, vocals. An image is optional.
- Length: Lyria 3, 30-second tracks; Lyria 3 Pro, up to 3 minutes; Lyria 3.5, full songs of a few minutes, set in the prompt.
- Vocals: In English, German, Spanish, French, Hindi, Japanese, Korean or Portuguese.
- Provenance: Every track carries Google's SynthID watermark.

From Google's own page: [Gemini can now create music, with Lyria 3](https://blog.google/innovation-and-ai/products/gemini-app/lyria-3/)

## How your agent runs it

Paste this line into Claude Code, Codex or Cursor:

```text
set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl), then make a 30-second upbeat acoustic jingle for Harbor Coffee with Lyria 3, and tell me the rate before you run it
```

It starts with the setup line, so it works on a machine without CoreSpeed: the agent fetches https://corespeed.io/SKILL.md, adds the MCP server and signs you in. Then it runs Lyria 3 through the media tools:

1. `media__list_models`: search the catalog for Lyria 3 and pick the variant that fits.
2. `media__get_model`: read the rate and the inputs the model takes, before anything runs.
3. `media__generate`: run it. The file comes back as a link and lands in your Drive for 7 days.

## Questions

### Which Lyria variant should I use?

Lyria 3 makes 30-second tracks. Lyria 3 Pro goes up to 3 minutes. Lyria 3.5 is Google's newest music model, with better vocals and lyrics.

### Can Lyria sound like a famous artist?

No. Google designed Lyria 3 for original music, not to mimic existing artists. Describe a genre, a mood and the instruments instead.

### Do I need a Google account or API key to use Lyria 3?

No. CoreSpeed runs Lyria 3 for your agent. You sign in to CoreSpeed once, and each run comes out of your one credit balance.

### Am I charged if a generation fails?

No. A generation is billed once, after it succeeds. Failed, cancelled and expired generations are never charged. How media billing works: https://corespeed.io/docs/media

### Do I have to switch agents?

No. CoreSpeed adds tools to the agent you already use: Claude Code, Codex, Cursor, or another MCP client. Each one signs in once.

All model prices: https://corespeed.io/models (Markdown: https://corespeed.io/models.md)

## Related pages

- [Audio generation for AI agents](https://corespeed.io/integrations/audio-generation): Give your agent music, sound effect and text to speech models with no API keys. It reads each rate first, and a failed generation costs nothing.
- [Gemini 3.8 Flash TTS API pricing for AI agents](https://corespeed.io/models/gemini-3-8-flash-tts): Gemini 3.8 Flash TTS API pricing on CoreSpeed: the rate, read live from the catalog, for Flash and Flash-Lite, with no Google API key.
- [Stable Audio 3.0 API pricing for AI agents](https://corespeed.io/models/stable-audio-3): Stable Audio 3.0 API pricing on CoreSpeed: the rate, read live from the catalog, for Medium, Small and Small SFX, with no Stability AI account.

## Sources

- Gemini can now create music, with Lyria 3: https://blog.google/innovation-and-ai/products/gemini-app/lyria-3/
- Media docs: https://corespeed.io/docs/media
- Lyria 3 Pro, on Google's blog: https://blog.google/innovation-and-ai/technology/ai/lyria-3-pro/
- Lyria 3.5, on Google's blog: https://blog.google/innovation-and-ai/models-and-research/google-labs/lyria-3-5/

Reviewed 2026-11-24.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
