# Gemini 4 Neon

- Model ID for the API: `google/gemini-4-neon`
- Privacy tier: Incognito. NEAR AI's TEE router hides your account, and the model runs at the provider. No hardware privacy guarantee.
- Input price: $3 per 1M tokens
- Output price: $15 per 1M tokens
- Cache read price: $0.15 per 1M tokens
- Context window: 1.05M tokens
- Input modalities: Text, Image
- Output modalities: Text
- API base URL: https://cloud-api.near.ai/v1

Canonical page: https://near.ai/models/google/gemini-4-neon
Generated: 2026-12-05T07:03:29.283Z

## About this model

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.

## Make your first request

Send `POST https://cloud-api.near.ai/v1/chat/completions` over HTTPS. Get an API key at https://cloud.near.ai/signin, then set it as the `NEARAI_API_KEY` environment variable.

```bash
curl --fail-with-body "https://cloud-api.near.ai/v1/chat/completions" \
  -H "Authorization: Bearer $NEARAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "google/gemini-4-neon",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'
```

## Verify

- How verification works: https://docs.near.ai/cloud/verification
- Inference SDK, which verifies Gateway signatures for you: https://docs.near.ai/cloud/inference-sdk

## More

- Try it in the Playground: https://cloud.near.ai/playground?model=google%2Fgemini-4-neon
- All models: https://near.ai/models.md
- Pricing: https://near.ai/pricing.md
- Documentation: https://docs.near.ai/cloud/introduction
