# Gemini 3.5 Flash

- Model ID for the API: `google/gemini-3.5-flash`
- Privacy tier: Incognito. NEAR AI's TEE router hides your account, and the model runs at the provider. No hardware privacy guarantee.
- Input price: $1.5 per 1M tokens
- Output price: $9 per 1M tokens
- Cache read price: $0.15 per 1M tokens
- Context window: 1M 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-3.5-flash
Generated: 2026-11-18T10:03:06.765Z

## About this model

Google's high-efficiency multimodal model with 1M token context. Strong agentic and coding performance, rivaling larger flagship models on many tasks.

## 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-3.5-flash",
  "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-3.5-flash
- All models: https://near.ai/models.md
- Pricing: https://near.ai/pricing.md
- Documentation: https://docs.near.ai/cloud/introduction
