Gemini 4 Neon on Vercel AI Gateway

Gemini 4 · Google DeepMind

Serverless

Last refreshed 2026-11-18. Next refresh: weekly.

Why use Gemini 4 Neon on Vercel AI Gateway?

Vercel AI Gateway offers Gemini 4 Neon with pay-as-you-go pricing at $3.00/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Gemini 4 Neon across 4 providers to find the best fit for your use case
Input / 1M
$3.00
Output / 1M
$15.00
Cache
read $0.15
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
google/gemini-4-neon

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="google/gemini-4-neon",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "google/gemini-4-neon", not the LLMReference slug "gemini-4-neon".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Gemini 4 Neon Across Providers

ProviderInput (per 1M)Output (per 1M)
Google AI Studio$3.00$15.00
GCP Vertex AI$3.00$15.00
OpenRouter$3.00$15.00
Vercel AI Gateway$3.00$15.00

Pricing

TypePrice (per 1M)
Input tokens$3.00
Output tokens$15.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch APIAudioVideo

About Gemini 4 Neon

Gemini 4 Neon is Google DeepMind's Gemini 4 model, released generally available on November 18, 2026 in the Gemini API, Google AI Studio, and Vertex AI (Gemini Enterprise Agent Platform). Google positions it for complex software engineering, knowledge work, and science workflows. The model card says it is adapted from Gemini 4 Carbon. It takes text, image, video, audio and PDF input and returns text, with a unified 1,048,576-token context window and long decode up to 1,048,576 output tokens (65,536 by default).

Get Started

Model Specs

Released2026-11-18
Context1M
Knowledge cutoff2026-03

Related Models on Vercel AI Gateway