Hi Pooja,
Thanks for the quick reply. Here’s the concrete evidence:
1. Billing is now enabled on the project (gen-lang-client-0259188512 /
project number 941541481379).
2. Calling GET https://generativelanguage.googleapis.com/v1beta/models?key=API_KEY
does NOT return gemini-3.1-flash-live-preview in the list of available
models for this key — the only “live” model returned is
gemini-3.5-transcribe-live.
3. When attempting to connect directly via the Live API using the
@google/genai Node SDK, the connection opens but closes immediately
with no useful detail:
const session = await ai.live.connect({
model: "gemini-3.1-flash-live-preview",
config: {
responseModalities: \[Modality.AUDIO\],
speechConfig: {
voiceConfig: { prebuiltVoiceConfig: { voiceName: "Aoede" } }
},
systemInstruction: "...",
},
callbacks: {
onclose: (event) => console.log("closed:", JSON.stringify(event)),
}
});
Result: session closes within ~1 second, onclose event detail is an
empty object ({}), no error code or reason provided.
Could this be related to something other than allowlisting — e.g. API
version, region restriction, or a project-level setting that needs to be
enabled separately from billing? Any pointer on what to check next would
help a lot.
Thanks!