Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)API pricing
Nano Banana 2 (Gemini 3.1 Flash Image Preview) is an image model from Google. It makes images from text prompts.
- 每100万枚代币的价格
- $0.53 / $3.15input / output
- 上下文
- 65K tokens58K max output
- 服务提供商
- 1
服务提供商
1 provider ·
65K context · 58K max output
支持的参数7
- 抽样
温度top_p种子- 输出
response_format结构化输出- 推理
推理include_reasoning- 未确认
停止工具
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/gemini-3.1-flash-image-preview", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gemini-3.1-flash-image-preview",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gemini-3.1-flash-image-preview",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Nano Banana 2 (Gemini 3.1 Flash Image Preview) 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gemini-3.1-flash-image-preview;其余代码保持不变。
About Nano Banana 2 (Gemini 3.1 Flash Image Preview)
- 标价
- $0.50 / $3.00in / out per 1M
- 请求示例
- $0.008410,000 in + 1,000 out
- 实验室
- 102 个谷歌模型
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs from $0.53 per 1M input tokens and $3.15 per 1M output tokens on OpenCheap. Its list price is $0.50 per 1M input tokens and $3.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0084, and 1,000 such requests about $8.40.
One provider serves Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenCheap today. Its context window is 65K tokens (65,536), room for roughly 49,000 words of English in one request.
Nano Banana 2 (Gemini 3.1 Flash Image Preview) is one of 102 Google models on OpenCheap.
The public list price is $0.50 per 1M input tokens and $3.00 per 1M output tokens. OpenCheap is from $0.53 and $3.15, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Nano Banana 2 (Gemini 3.1 Flash Image Preview) API cost per 1M tokens?
Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs from $0.53 per 1M input tokens and $3.15 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one Nano Banana 2 (Gemini 3.1 Flash Image Preview) request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0084, and 1,000 such requests about $8.40. Every answer reports its own cost in usage.cost.
Is Nano Banana 2 (Gemini 3.1 Flash Image Preview) cheaper on OpenCheap than its list price?
Its list price is $0.50 per 1M input tokens and $3.00 per 1M output tokens; on a typical 1 : 3 input-to-output mix it costs 5 % more here.
Which providers serve Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
One provider serves Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
Its context window is 65K tokens (65,536), room for roughly 49,000 words of English in one request.
How do I call the Nano Banana 2 (Gemini 3.1 Flash Image Preview) API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gemini-3.1-flash-image-preview. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自 Google 的内容
- 杰玛 4 26B A4B 它gemma-4-26b-a4b每100万·26.2千上下文 $0.01 / $0.03
- 杰玛 4 31B 它gemma-4-31b每100万·26.2万上下文 $0.012 / $0.036
- google/gemma-3-27b-itgemma-3-27b每100万·13.1万上下文 $0.02 / $0.05
- Gemini 3.5 Flashgemini-3.5-flash$1.50 / $9.00 per 1M · 1M context
- DiffusionGemmadiffusiongemma每100万·26.2万上下文 $0.05 / $0.15
- Nano Banana(Gemini 2.5 闪存镜像)gemini-2.5-flash-image每 1M · 32K 上下文 $0.32 / $2.63
- Gemini 2.5 Flash Litegemini-2.5-flash-lite每1M·1M上下文 $0.10 / $0.40
- Gemini 2.5 Flash 预览版 05-20(无需思考)gemini-2.5-flash-preview-05.20:nothink每1M·1M上下文 $0.30 / $2.50
类似型号
- GPT Audio MiniOpenAI · 128K context$0.63 / $2.52 per 1M18 % cheaper
- EVA Llama 3.33 70BEVA-UNIT-01 · 32K context$2.01 / $2.01 per 1M20 % cheaper
- EVA-LLaMA-3.33-70B-v0.1EVA-UNIT-01 · 32K context$2.01 / $2.01 per 1M20 % cheaper
- qwen-sea-lion-v4.5-27bQwen · 131K context$0.63 / $3.78 per 1M
- Moondream 3.1 9B A2BMoondream · 32K context$0.30 / $2.50 per 1M22 % cheaper
- Holo3-35B-A3BH Company · 65K context$0.25 / $1.80 per 1M43 % cheaper
Compare Nano Banana 2 (Gemini 3.1 Flash Image Preview) with any model →Cheapest LLM API