Gemini 4 Carbon lands on Vercel's AI Gateway at half price
Google's engineering-and-security-focused model gets a 1M-token context window through AI Gateway, with a 50% discount running until the end of November.
Vercel added Google’s Gemini 4 Carbon to AI Gateway on 10 November. Google built the model for complex software engineering, sustained agentic work and cybersecurity defence, pairing a 1 million token context window with what Google describes as more reliable execution of multi-step plans and fewer unsupported claims, alongside gains in full-stack coding and vulnerability detection.
It’s callable as google/gemini-4-carbon through the AI SDK or an OpenAI-compatible Chat Completions endpoint:
import { streamText } from 'ai';
const result = streamText({
model: 'google/gemini-4-carbon',
prompt: 'Write a TypeScript helper that safely parses JSON and returns a fallback.',
});
Vercel is passing on a 50% discount on Google’s own pricing through 30 November, and says AI Gateway adds no platform fee on top.
Why it matters: a model pitched at security work and long agentic runs, at half price with a 1M-token window, is worth testing against a real codebase or a patch-development task before the discount ends. If you already route models through AI Gateway, swapping the model string costs nothing to try.
The caveat: the discount is Vercel’s, not Google’s, and it expires in under three weeks, so anything you build against this price needs rechecking after 30 November.