Skip to content
Dashboard

Gemini 3.5 Flash on AI Gateway

import { streamText } from 'ai';
const result = streamText({
model: 'google/gemini-3.5-flash',
prompt: 'Refactor this service to run API calls in parallel.',
providerOptions: {
google: { // use vertex or google
thinkingConfig: {
thinkingLevel: 'high',
includeThoughts: true,
},
},
});

Ready to deploy?