Gemini 4 Neon
Google's Gemini 4 Neon brings frontier-level intelligence with fast end-to-end task completion across complex software engineering, knowledge work, and science workflows, featuring a unified 1M-token context window and long-decode generation up to 1M tokens.
- Input / 1M tokens
- $3
- Output / 1M tokens
- $15
- Cache read / 1M tokens
- $0.15
- Context window
- 1.05M tokens
Privacy & execution
This Incognito model runs on a partner provider’s infrastructure. NEAR AI routes requests using shared provider credentials, so your NEAR AI account credentials are not forwarded.
Your prompts are processed by the provider under its terms and privacy policy. HTTPS protects data in transit. Model TEE attestation and client-to-model end-to-end encryption are not provided for this model. Where available, Gateway signatures verify the request and response handled by the Gateway.
Verification documentationMake your first request
Call /v1/chat/completions over HTTPS.
Get an API key and set the NEARAI_API_KEY environment variable.
This HTTP example uses HTTPS. Use the SDK below to verify Gateway attestation and response signatures.
Build and Verify with the SDK
Let the inference client verify the Gateway and its response signatures.
Verification guideSet NEARAI_API_KEY before running an example.
Gemini 4 Neon API FAQ
- How much does the Gemini 4 Neon API cost?
- $3.00 per 1M input tokens and $15.00 per 1M output tokens on NEAR AI Cloud, and $0.15 per 1M cached input tokens.
- What is the context window of Gemini 4 Neon?
- 1.05M tokens.
- How do I call the Gemini 4 Neon API?
- Create an API key on NEAR AI Cloud, then send requests to https://cloud-api.near.ai/v1/chat/completions with the model ID google/gemini-4-neon. The endpoint is OpenAI-compatible, so OpenAI SDKs work by setting the base URL to https://cloud-api.near.ai/v1.
- Where does Gemini 4 Neon run?
- On the model provider's infrastructure, under its terms. NEAR AI routes requests with shared provider credentials, so your NEAR AI account credentials are not forwarded. TEE attestation is not provided for this model.