Skip to main content
Post

Gemini 4 Carbon now available on AI Gateway

Vercel made Gemini 4 Carbon from Google available on AI Gateway, at 50% off through November 30, 2026.

Google built Carbon for complex software engineering, long-running agentic work, and cybersecurity defense. It has a 1M-token context window for large codebases and long inputs. Google says it's better at carrying multi-step plans through, makes fewer unsupported claims, and handles ambiguous requirements more cooperatively. On the security side, it covers finding vulnerabilities, validating their risk, and developing patches.

Call it with the model name google/gemini-4-carbon, for example in the AI SDK's streamText. To use it in Claude Code, Codex, Cursor, and other coding agents, install the latest Vercel CLI and run npx vercel ai-gateway setup. The command detects the agents on your machine, shows a diff of its planned changes before writing anything, and sets up the gateway connection. Then pick google/gemini-4-carbon in the agent's model list. You can also try it in the model playground.

AI Gateway says it passes through provider pricing with no markup and charges no platform fee on inference, including bring-your-own-key requests.

Loading replies…