Gemini 4 Neon from Google is now available on AI Gateway.
Gemini 4 Neon is a major upgrade over the earlier, lighter Gemini 4 model, delivering output quality close to Google’s larger Gemini 4 models with faster responses. It’s built for coding, agent workflows, and multi-step tasks.
The model accepts text, images, video, and documents, with a 1M-token context window. It supports tool calling, structured outputs, grounding with Google Search and Google Maps, and four reasoning levels: low, medium, high, and xhigh.
Use google/gemini-4-neon as the model ID:
import { streamText } from 'ai';
const result = streamText({ model: 'google/gemini-4-neon', prompt: 'Write a TypeScript function that debounces async calls.',});
for await (const text of result.textStream) { process.stdout.write(text);}To use Gemini 4 Neon in Codex, Cursor, or another supported agent, see the coding agents guide.
Try Gemini 4 Neon in the model playground, or explore all language models.