I’m seeing a reproducible billing/metering problem with gemini-3.1-flash-tts-preview while rendering a long-form audiobook.
The API is returning successful audio responses containing extremely long periods of silence, while usageMetadata counts the entire generated duration as AUDIO output tokens.
This is not a subjective audio-quality complaint. The defective output can be measured directly from the PCM samples.
Example failure
One request contained 2,989 characters of narration. A normal successful rendering of this passage is approximately 273 seconds.
The API returned HTTP 200 with a well-formed audio payload approximately 30 MB in size and 643 seconds long.
Analysis of the returned PCM:
- 0–15s: speech
- 15–75s: near-silence
- 75–465s: every PCM sample is exactly zero
- 465–495s: speech resumes
- 495–643s: near-silence
Therefore, the response contained 390 consecutive seconds (6.5 minutes) of literal digital silence in the middle of the generated audio.
Measured speech ratio for the entire 643-second response was only 0.037.
The request nevertheless consumed AUDIO output tokens.
Billing impact
Across this audiobook render, approximately 2,000,000 AUDIO output tokens were recorded.
At the documented rate of 25 audio tokens per second, that represents approximately:
80,000 seconds / 22.2 hours of generated audio.
Only approximately:
7,753 seconds / 2.15 hours
of usable audio was ultimately retained.
In other words, approximately 90% of the metered output did not become usable narration, largely because defective generations had to be rejected and regenerated.
This appears consistent with other reports
I’ve found several reports involving the same model where:
- audio is generated briefly and then becomes silent until the output limit while the silence continues consuming tokens;
- near-silent audio is returned with
finishReason: STOP; - HTTP 200 responses contain empty
contentwhileusageMetadatastill reports AUDIO output tokens; - identical requests intermittently return empty/defective responses and then succeed when retried.
Question for the Gemini team
Is AUDIO token metering for extended digital silence an intended behavior of gemini-3.1-flash-tts-preview, or is this considered a model/metering defect?
Specifically, should a response containing hundreds of seconds in which every PCM sample is exactly zero continue accumulating billable AUDIO output tokens?
If this is a known issue, is there a recommended way for clients to identify the failure server-side before the silent output has already been generated and metered?
I can provide request metadata, additional measurements, and defective audio samples from future occurrences if useful for reproduction.