by GoogleReleased Feb 26, 2026
google/gemini-3.1-flash-image-previewGemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines...
| Billed for | You pay |
|---|---|
| Input tokens | $0.60 / 1M |
| Output tokens | $3.60 / 1M |
| Each web search | $0.02 |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "google/gemini-3.1-flash-image-preview", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.60 per million input tokens and $3.60 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.003.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id google/gemini-3.1-flash-image-preview. The token's AI credit pays for each call.
Up to 65,536 tokens of context, and up to 58,982 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| Google AI Studio | 99.9% |