---
title: "Gemini 3.1 Flash Image API price | RelaySwitch"
canonical: https://relayswitch.io/models/gemini-3.1-flash-image
generated: 2026-10-27T11:02:15.742Z
source: https://api.relayswitch.io/v1/catalog
base_url: https://api.relayswitch.io/v1
---

# Gemini 3.1 Flash Image

Gemini 3.1 Flash Image by Google through the RelaySwitch API: $13.192 per million input tokens, $1,583.04 per million output tokens. Pay by card or crypto (Card, Apple Pay, PayPal, USDT, USDC, BTC, ETH, SOL). No KYC.

## Price per million tokens

| Input | Cached input | Output |
| --- | --- | --- |
| $13.192 | $13.192 | $1,583.04 |

## Specs

- Model id: `gemini-3.1-flash-image`
- Developer: Google
- Context window: not published
- Max output: not published
- Input: text

## Call it

```bash
curl https://api.relayswitch.io/v1/chat/completions \
  -H "Authorization: Bearer $RELAYSWITCH_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-3.1-flash-image", "messages": [{"role": "user", "content": "Hello"}]}'
```

Keys and top-ups: https://app.relayswitch.io/console/login
