Skip to content
Dashboard

Gemini 3.5 Transcribe Live

Live transcription by Google Your use is subject to Google's Terms & Privacy Policies.

Websockets
import { experimental_streamTranscribe as streamTranscribe } from 'ai';
import { createGateway, gateway } from '@ai-sdk/gateway';
import { readFile } from 'node:fs/promises';
const modelId = 'google/gemini-3.5-transcribe-live';
// Mint this on your server, then send only the short-lived token to the client.
const { token } = await gateway.experimental_transcription.getToken({
model: modelId,
});
const clientGateway = createGateway({ apiKey: token });
// Raw 24 kHz, 16-bit signed little-endian mono PCM audio.
const bytes = await readFile('audio.pcm');
const audio = new ReadableStream<Uint8Array>({
start(controller) {
controller.enqueue(new Uint8Array(bytes));
controller.close();
},
});
const result = streamTranscribe({
model: clientGateway.transcription(modelId),
audio,
inputAudioFormat: { type: 'audio/pcm', rate: 24000 },
});
for await (const part of result.fullStream) {
if (part.type === 'transcript-delta') {
process.stdout.write(part.delta);
}
}
console.log('\nFinal:', await result.text);
Read docs

Copy link to headingMore models by Google

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Free Tier
Release Date
1M
3.4 s
253 tps
$1.50/M$0.75/M
$7.50/M$3.75/M
Read:$0.15/M$0.08/M
Write:
+3
google logo
vertex logo
08/13/2026
1M
0.5 s
440 tps
$0.30/M
$2.50/M
Read:$0.03/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
07/21/2026
1M
1.7 s
195 tps
$1.50/M
$9/M
Read:$0.15/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
05/19/2026
1M
0.8 s
356 tps
$0.25/M
$1.50/M
Read:$0.03/M
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
05/07/2026
1M
0.8 s
169 tps
$0.50/M+1 more
$3/M+1 more
Read:
$0.05/M+1 more
Write:
$14/K+1 more
+ input costs
+3
google logo
vertex logo
12/17/2025
1M
0.3 s
282 tps
$0.10/M
$0.40/M
Read:$0.01/M
Write:
$35/K+1 more
+ input costs
+3
google logo
vertex logo
06/17/2025