新帳號 免費註冊,送 10 次呼叫,最高 $1,免綁卡。

Gemini 3.1 Flash Image vs Gemini Nano Banana 2.1

vs

什麼情況選哪一個

gemini-nano-banana-2.1 是 Google 為 gemini-3.1-flash-image 推出的更新版,兩項主要費率走向相反:圖片輸出從每百萬 token $60 降到 $30,輸入則從 $0.5 漲到 $1.5。多數圖片工作的帳單以輸出為大宗,所以新模型通常比較便宜;只有請求帶了大量輸入(例如影片)時,較高的輸入費率才有影響。兩者都接受文字、圖片與影片輸入,回傳圖片和文字,最多可附 14 張參考圖片。gemini-nano-banana-2.1 新增了超寬與超長的長寬比(十五種對十種),並提供三段思考層級;gemini-3.1-flash-image 則保有 0.5K 輸出尺寸,新模型並未列出這個選項。

定價

Gemini 3.1 Flash Image Gemini Nano Banana 2.1 Δ
輸入 / 1M tokens $0.5 $1.5 0.33×
輸出 / 1M tokens $60 $30 2×

費率取自網站建置時的即時目錄;各模型頁面都列有最新的價目。

兩者的相對位置:每 1M tokens 的輸出價格,涵蓋同一計費單位下全部 11 個圖像生成模型(對數尺度)

規格

Gemini 3.1 Flash Image Gemini Nano Banana 2.1
輸入模態 文字 圖像 影片 文字 圖像 影片
輸出模態 文字 圖像 文字 圖像
發布日期 2026-05-28 2026-10-06
輸出尺寸
  • 512px (0.5K)
  • 1K (1:1 = 1024x1024)
  • 2K (2048x2048)
  • 4K (4096x4096)
  • 1K (about 1 MP)
  • 2K (about 4 MP)
  • 4K (about 16 MP)
輸入方式 text-to-image, single-turn and multi-turn editing, up to 14 reference images text-to-image, single-turn and multi-turn editing, up to 14 reference images
格式 jpeg, png -
備註

0.5K, 1K, 2K and 4K output at ten aspect ratios (1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9), JPEG or PNG

up to 14 reference images per request, up to ten of them objects rendered with high fidelity plus character and style references

single-turn editing and multi-turn conversational iteration

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.1 Flash Image · Gemini Nano Banana 2.1

同一段提示詞,兩個模型,經閘道實測

提示詞 A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

Gemini 3.1 Flash Image

Gemini 3.1 Flash Image: A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

模型回傳 1408×768 延遲 12 s

Gemini Nano Banana 2.1

Gemini Nano Banana 2.1: A weathered enamel diner mug on a steel counter, the words "OPEN 24H" stencilled on the mug in worn paint, low winter sun raking in from the left, shallow depth of field.

模型回傳 1376×768 延遲 11 s

同一段提示詞,每個模型只送一次請求,不重試,也不挑比較好的結果,看到的就是各模型回傳的第一個結果。尺寸和長度都沒有指定,各模型用的是自己的預設值;如果硬把請求調成每個模型都適用的規格,反而誰的長處都看不出來。這裡的檔案都為了網頁重新編碼過,所以請看構圖和有沒有照提示詞做,不要拿來評斷壓縮品質。

改一行程式碼就能在兩者之間切換

下面每個頁籤都列了這兩個模型 ID,要改的只有醒目標示的那兩行。端點、金鑰和請求格式都不變。

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.images.generate(
    model="gemini-3.1-flash-image",
    # model="gemini-nano-banana-2.1",  # 取消這一行的註解,並把上一行註解掉
    prompt="a watercolor lighthouse at dawn",
    size="1024x1024",
)
print(resp.data[0].b64_json[:80])

取得 API 金鑰 →

常見問題

Gemini 3.1 Flash Image 和 Gemini Nano Banana 2.1 哪個比較便宜?

以「輸入 / 1M tokens」來看,Gemini 3.1 Flash Image 比較便宜($0.5 對 $1.5,相差 3.0×)。其他項目的結果可能相反,完整價目請看上表;實際成本要看你的用量組合。

可以只串接一次,就對 Gemini 3.1 Flash Image 和 Gemini Nano Banana 2.1 做 A/B 測試嗎?

可以。兩個模型都走同一個 OpenAI 相容端點,用的也是同一把 API 金鑰,切換時只要改一行裡的模型名稱字串。你可以把一部分流量分別導到兩邊,再直接比較帳單。

價格會隨圖片大小改變嗎?

要看模型怎麼計費。按張計費的模型,不管提示詞長短或輸出尺寸,每張收費都一樣;按 token 計費的模型,費用會隨生成的解析度增加,所以一張 4K 圖片的成本會是小圖的好幾倍。各模型適用哪一種,上表都有標示。

相關比較