Gemini 3 Pro Image vs Gemini Nano Banana 2.1
什么时候选哪个
这是 Google 图像产品线里的两个档位。gemini-nano-banana-2.1 每百万输入 token $1.5、每百万图像输出 token $30,gemini-3-pro-image 则是 $2 和 $120,输出便宜 4x。gemini-3-pro-image 是专业档:能借助 Google Search 做事实依据,没有思考级别可调,而 gemini-nano-banana-2.1 提供三档;一张 4K 图像它只用 2000 个输出 token,gemini-nano-banana-2.1 要用 3780 个。gemini-nano-banana-2.1 除文本和图像外还接受视频输入,上下文为 131072 token,对方是 65536。大批量生成和反复迭代选 gemini-nano-banana-2.1,想用 Google 最高档的图像模型选 gemini-3-pro-image。
价格
| Gemini 3 Pro Image | Gemini Nano Banana 2.1 | Δ | |
|---|---|---|---|
| 输入 / 1M token | $2 | $1.5 | 1.3× |
| 输出 / 1M token | $120 | $30 | 4× |
价格取自构建时的实时目录,最新价格见各模型页面。
两个模型所处的位置:全部 11 个按同一单位计费的图像生成模型的每 1M token 输出价分布(对数刻度)
规格
| Gemini 3 Pro Image | Gemini Nano Banana 2.1 | |
|---|---|---|
| 输入模态 | 文本 图像 | 文本 图像 视频 |
| 输出模态 | 文本 图像 | 文本 图像 |
| 发布日期 | 2025-11 | 2026-10-06 |
| 输出尺寸 |
|
|
| 输入方式 | text-to-image, image editing, up to 14 reference images | text-to-image, single-turn and multi-turn editing, up to 14 reference images |
| 备注 | Professional-grade, reasoning-driven image generation and editing (Nano Banana Pro) accurate text rendering real-world grounding via Google Search image+text in, image+text out | 1K, 2K and 4K output at fifteen aspect ratios (1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 9:21, 1:4, 4:1, 1:8, 8:1) up to 14 reference images per request single-turn editing and multi-turn conversational iteration |
规格照录自各供应商的文档;供应商没有公布的项目,对应的行直接省略,不做推断。 完整来源: Gemini 3 Pro Image · Gemini Nano Banana 2.1
同一条提示词,两个模型,经网关实测
同一条提示词,每个模型只请求一次,不重试,也不挑结果,展示的都是各模型返回的第一个结果。尺寸和时长都没有指定,各模型用的是自己的默认值,因为硬凑一组所有模型都接受的参数,哪个模型都发挥不好。这里的文件为了网页展示重新编码过,所以请看构图和对提示词的还原程度,不要看压缩画质。
改一行代码就能在两个模型之间切换
下方每个标签页里都有两个模型 ID,高亮的那两行是唯一要改的地方。端点不变,API key 不变,请求结构也不变。
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.images.generate(
model="gemini-3-pro-image",
# model="gemini-nano-banana-2.1", # 取消注释此行,注释上一行
prompt="a watercolor lighthouse at dawn",
size="1024x1024",
)
print(resp.data[0].b64_json[:80])import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.images.generate({
model: "gemini-3-pro-image",
// model: "gemini-nano-banana-2.1", // 取消注释此行,注释上一行
prompt: "a watercolor lighthouse at dawn",
size: "1024x1024",
});
console.log(resp.data?.[0]?.b64_json?.slice(0, 80));curl https://synthorai.io/v1/images/generations \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-pro-image",
# "model": "gemini-nano-banana-2.1", # 取消注释此行,注释上一行
"prompt": "a watercolor lighthouse at dawn",
"size": "1024x1024"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Images.Generate(context.TODO(), openai.ImageGenerateParams{
Model: "gemini-3-pro-image",
// Model: "gemini-nano-banana-2.1", // 取消注释此行,注释上一行
Prompt: "a watercolor lighthouse at dawn",
Size: "1024x1024",
})
fmt.Println(resp.Data[0].B64JSON[:80])
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.images.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ImagesResponse resp = client.images().generate(
ImageGenerateParams.builder()
.model("gemini-3-pro-image")
// .model("gemini-nano-banana-2.1") // 取消注释此行,注释上一行
.prompt("a watercolor lighthouse at dawn")
.size("1024x1024")
.build());
System.out.println(resp.data().orElseThrow().get(0).b64Json().orElseThrow().substring(0, 80));常见问题
Gemini 3 Pro Image 和 Gemini Nano Banana 2.1 哪个更便宜?
按「输入 / 1M token」算,Gemini Nano Banana 2.1 更便宜($1.5 对 $2,相差 1.3×)。其他计费项的结论可能相反,完整价格见上方表格,实际成本取决于你的用量构成。
不用分别集成两次,就能对 Gemini 3 Pro Image 和 Gemini Nano Banana 2.1 做 A/B 测试吗?
可以。两个模型走同一个 OpenAI 兼容端点,用同一个 API key,切换时只要改一行里的模型名,所以可以给两个模型各分一部分流量,直接对比账单。
价格会随图像尺寸变化吗?
要看模型怎么计费。按张计费的模型,不管提示词多长、输出尺寸多大,每张价格都一样;按 token 计费的模型,分辨率越高费用越高,一张 4K 图的成本是小图的好几倍。两个模型各属哪一种,上方表格里有标明。