Gemini-3.8-flash-lite-tts stops early on batched text with <long pause> tags while reporting completed / STOP (truncated audio is still billed)

Hi everyone, and thank you for all the work on Gemini TTS. I would like to report an issue we have been seeing, in case it helps the team.

What happens
With gemini-3.8-flash-lite-tts, a single-speaker request containing several <long pause> tags often returns a valid WAV that ends abruptly after 16–20 s, although the text needs ~50–60 s. The response is HTTP 200 with status: "completed" (Interactions) or finishReason: "STOP" (generateContent), so the client cannot tell it was cut. As far as we can tell, the returned audio tokens are billed, so each early stop also adds the cost of a retry. In production, about half of such requests stop early (checked by forced alignment).

Minimal repro (Developer API, standard tier, 2026-10-21 01:32–01:37 UTC)

  • POST /v1beta/interactions, response_format: {type: "audio"}, voice Charon, style annotation “落ち着いた解説のナレーション。” (also tried without)
  • 8 short scenes (285 chars, full text below) joined with \n\n<long pause>\n\n; control = joined with \n\n
model API <long pause> audio length per run (s) status
flash-lite-tts interactions yes (with style) 19.3, 19.4, 20.5, 17.9, 50.4 completed
flash-lite-tts interactions yes (no style) 19.3, 55.5, 16.1 completed
flash-lite-tts interactions no 63.2, 59.1, 61.1, 65.5 completed
flash-lite-tts generateContent yes 62.5, 69.0, 51.5, 59.7 STOP
flash-tts interactions yes 76.7, 79.6 completed

Stopped runs have only ~400–510 output audio tokens (complete runs: 1,250–1,640).

Not specific to Interactions
With real batched input (8–16 scenes per request) on generateContent, early stops happened in 7 of 9 requests, all with finishReason: STOP (e.g. ~47 s of audio for text that needs ~150 s). Retrying the same input stops at about the same length (47.5 s → 42.6 s; 16.9 s → 16.0 s), so the stop seems to depend on the input rather than being random.

Requests

  1. Could the team take a look at the early stop for flash-lite TTS with pause tags?
  2. It would be very helpful if early truncation could be distinguished on both APIs (for example a finish reason other than STOP / completed, or an output-vs-expected length signal).
  3. Could you clarify whether truncated outputs are billed, and if so, whether there is a way to request a credit?

I am happy to provide more data or run additional tests if that would help. Thank you very much!

Test text (8 scenes)

  1. 朝のコーヒーは、豆を挽くところから始まる。ごりごりという音が、台所に広がる。
  2. お湯の温度は、九十度くらい。沸騰したら、少しだけ待つ。
  3. ふんわりと膨らんだら、成功の合図。ゆっくり、円を描くように注ぐ。
  4. ねえ、今日の天気はどうなの? 傘は持っていったほうがいいかな。
  5. 午後から雨になるらしいよ。折りたたみ傘が、かばんに入っているはず。
  6. 駅までは、歩いて十分。信号が多いので、少し早めに家を出る。
  7. 電車の中では、本を読む人、音楽を聞く人、目を閉じている人。みんな、それぞれの朝を過ごしている。
  8. 会社に着いたら、まず机を拭く。それから、今日の予定を確認する。小さな習慣が、一日を整えてくれる。

Similar reports on other TTS models (finishReason OTHER): 169063, 176215; also forum topics 172943 and 132776

Per-request data (CSV, UTC)
startedUtc,id,model,api,long_pause_tags,style,audioSec,status_or_finishReason,output_tokens,elapsedMs
2026-10-21T01:32:37.726Z,lite-int-sep-1,gemini-3.8-flash-lite-tts,interactions,yes,yes,19.25,completed,478,7299
2026-10-21T01:33:31.323Z,lite-gen-sep-1,gemini-3.8-flash-lite-tts,generateContent,yes,yes,62.49,STOP,1559,10162
2026-10-21T01:33:41.486Z,lite-int-nosep-1,gemini-3.8-flash-lite-tts,interactions,no,yes,63.21,completed,1577,12449
2026-10-21T01:33:53.936Z,lite-int-sep-2,gemini-3.8-flash-lite-tts,interactions,yes,yes,19.41,completed,482,6428
2026-10-21T01:34:00.365Z,lite-gen-sep-2,gemini-3.8-flash-lite-tts,generateContent,yes,yes,68.97,STOP,1721,10189
2026-10-21T01:34:10.554Z,lite-int-nosep-2,gemini-3.8-flash-lite-tts,interactions,no,yes,59.09,completed,1474,12410
2026-10-21T01:34:22.964Z,lite-int-sep-3,gemini-3.8-flash-lite-tts,interactions,yes,yes,20.53,completed,510,6291
2026-10-21T01:34:29.256Z,lite-gen-sep-3,gemini-3.8-flash-lite-tts,generateContent,yes,yes,51.53,STOP,1285,9309
2026-10-21T01:34:38.566Z,lite-int-nosep-3,gemini-3.8-flash-lite-tts,interactions,no,yes,61.09,completed,1524,11758
2026-10-21T01:34:50.325Z,lite-int-sep-4,gemini-3.8-flash-lite-tts,interactions,yes,yes,17.85,completed,443,6318
2026-10-21T01:34:56.644Z,lite-gen-sep-4,gemini-3.8-flash-lite-tts,generateContent,yes,yes,59.69,STOP,1489,9281
2026-10-21T01:35:05.925Z,lite-int-nosep-4,gemini-3.8-flash-lite-tts,interactions,no,yes,65.45,completed,1633,12394
2026-10-21T01:35:18.319Z,flash-int-sep-1,gemini-3.8-flash-tts,interactions,yes,yes,76.69,completed,1914,24156
2026-10-21T01:35:42.476Z,flash-int-sep-2,gemini-3.8-flash-tts,interactions,yes,yes,79.57,completed,1986,25711
2026-10-21T01:36:55.863Z,lite-int-sep-nostyle-1,gemini-3.8-flash-lite-tts,interactions,yes,no,19.25,completed,478,7337
2026-10-21T01:37:03.201Z,lite-int-sep-nostyle-2,gemini-3.8-flash-lite-tts,interactions,yes,no,55.53,completed,1385,11602
2026-10-21T01:37:14.804Z,lite-int-sep-nostyle-3,gemini-3.8-flash-lite-tts,interactions,yes,no,16.05,completed,398,6452
2026-10-21T01:37:21.257Z,lite-int-sep-5,gemini-3.8-flash-lite-tts,interactions,yes,yes,50.37,completed,1256,11408

Here are some additional details that may help reproduce the issue. I hope they are useful.

Exact request bodies

The style text was sent differently on the two APIs: as a speech_metadata annotation on Interactions, and as a line placed before the text on generateContent.

Interactions (POST /v1beta/interactions):

{
  "model": "gemini-3.8-flash-lite-tts",
  "input": [{
    "type": "user_input",
    "content": [{
      "type": "text",
      "text": "<8 scenes joined with \"\\n\\n<long pause>\\n\\n\">",
      "annotations": [{ "type": "speech_metadata", "style": "落ち着いた解説のナレーション。" }]
    }]
  }],
  "response_format": { "type": "audio" },
  "generation_config": { "speech_config": [{ "voice": "Charon" }] }
}

In the “no style” runs, annotations was omitted.

generateContent (POST /v1beta/models/gemini-3.8-flash-lite-tts:generateContent):

{
  "contents": [{ "parts": [{ "text": "落ち着いた解説のナレーション。\n\n<8 scenes joined with \"\\n\\n<long pause>\\n\\n\">" }] }],
  "generationConfig": {
    "responseModalities": ["AUDIO"],
    "speechConfig": { "voiceConfig": { "prebuiltVoiceConfig": { "voiceName": "Charon" } } }
  }
}

Repro script (Node 22, no dependencies; reads the key from GEMINI_API_KEY)

repro.mjs
const key = process.env.GEMINI_API_KEY;
const BASE = "https://generativelanguage.googleapis.com/v1beta";
const MODEL = "gemini-3.8-flash-lite-tts";
const scenes = [
  "朝のコーヒーは、豆を挽くところから始まる。ごりごりという音が、台所に広がる。",
  "お湯の温度は、九十度くらい。沸騰したら、少しだけ待つ。",
  "ふんわりと膨らんだら、成功の合図。ゆっくり、円を描くように注ぐ。",
  "ねえ、今日の天気はどうなの? 傘は持っていったほうがいいかな。",
  "午後から雨になるらしいよ。折りたたみ傘が、かばんに入っているはず。",
  "駅までは、歩いて十分。信号が多いので、少し早めに家を出る。",
  "電車の中では、本を読む人、音楽を聞く人、目を閉じている人。みんな、それぞれの朝を過ごしている。",
  "会社に着いたら、まず机を拭く。それから、今日の予定を確認する。小さな習慣が、一日を整えてくれる。",
];
const text = scenes.join("\n\n<long pause>\n\n"); // control: scenes.join("\n\n")
const style = "落ち着いた解説のナレーション。";
const headers = { "content-type": "application/json", "x-goog-api-key": key };

async function viaInteractions() {
  const body = { model: MODEL, input: [{ type: "user_input", content: [{ type: "text", text,
    annotations: [{ type: "speech_metadata", style }] }] }],
    response_format: { type: "audio" }, generation_config: { speech_config: [{ voice: "Charon" }] } };
  const j = await (await fetch(`${BASE}/interactions`, { method: "POST", headers, body: JSON.stringify(body) })).json();
  const audio = (j.steps ?? []).flatMap((s) => (s.type === "model_output" ? s.content ?? [] : []))
    .find((c) => c.type === "audio" && c.data);
  return { status: j.status, outputTokens: j.usage?.total_output_tokens, data: audio?.data };
}

async function viaGenerateContent() {
  const body = { contents: [{ parts: [{ text: `${style}\n\n${text}` }] }],
    generationConfig: { responseModalities: ["AUDIO"],
      speechConfig: { voiceConfig: { prebuiltVoiceConfig: { voiceName: "Charon" } } } } };
  const j = await (await fetch(`${BASE}/models/${MODEL}:generateContent`, { method: "POST", headers, body: JSON.stringify(body) })).json();
  const c = j.candidates?.[0];
  return { status: c?.finishReason, outputTokens: j.usageMetadata?.candidatesTokenCount,
    data: c?.content?.parts?.find((p) => p.inlineData)?.inlineData?.data };
}

for (const run of [viaInteractions, viaGenerateContent]) {
  const r = await run();
  const bytes = r.data ? Buffer.from(r.data, "base64").length : 0;
  // 24 kHz, 16-bit mono = 48,000 bytes per second; the full text needs about 55-65 s
  console.log(run.name, r.status, "outputTokens", r.outputTokens, "audioSec", (bytes / 48000).toFixed(1));
}

Audio samples

I have kept two WAV files from the same request (Interactions, no style annotation, same text, same voice), sent a few seconds apart. One stops partway through (19.1 s), and the other reads all 8 scenes (55.4 s). Both report status completed. The forum only accepts image attachments, so I can share these files another way if that would help.

Unfortunately, I did not save the interaction IDs or response IDs from these runs. If they would help, I can re-run the test and send the IDs.

Thank you for looking into this.

Thanks @takumi_oda for the details, we were able to reproduce this and are looking into it.