# Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite)

> Google's fastest and most cost-efficient image generation and editing model, built for ultra-low latency.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `google/gemini-3.1-flash-lite-image`
- Status: available
- Released: 2026-06-23
- Context: 66K tokens
- Max output: 4K tokens
- Input: text, image, video, pdf; output: text, image

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $0.225 | per 1M tokens |
| Output | $1.35 | per 1M tokens |
| Cache read | $0.0225–$0.225 | per 1M tokens |
| Reasoning output | $1.35 | per 1M tokens |
| Image input | $0.225 | per 1M tokens |
| Image output | $27.00 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:google/gemini-3.1-flash-lite-image`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Google (Gemini) | `google:google/gemini-3.1-flash-lite-image` | United States | $0.225 | $1.35 | no |
| Google Vertex AI | `vertex:google/gemini-3.1-flash-lite-image` | Global | $0.225 | $1.35 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `google/gemini-3.1-flash-lite-image` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `google/gemini-3.1-flash-lite-image` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `google/gemini-3.1-flash-lite-image` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/google/gemini-3.1-flash-lite-image:generateContent | `google/gemini-3.1-flash-lite-image` |

## Example

```bash
curl https://api.ohmygpt.com/v1/models/google/gemini-3.1-flash-lite-image:generateContent \
  -H "x-goog-api-key: $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "parts": [
          {
            "text": "Hello"
          }
        ]
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/google/gemini-3.1-flash-lite-image
