Gemini-3-pro-image (Batch API) returns up to 35 billed images for single-image requests since 8 Oct 2026

Since 8 October 2026, gemini-3-pro-image in the Batch API frequently returns multiple full images for a single request key, between 2 and 35 images, each billed at 1,120 image-output tokens. Our requests ask for one image each.

Setup

  • Model: gemini-3-pro-image (modelVersion: gemini-3-pro-image), Batch API, 2K output
  • responseModalities: [“TEXT”,“IMAGE”], candidateCount not set, single-image prompts
  • Same code, prompts and SDK (@google/genai 1.52.0) since August

What we see

  • September 2026: 644 requests, zero multi-image responses.
  • 8–29 October 2026: more than 2,800 extra images billed that we never requested. Still ongoing: on 28 Oct, 24 of 102 requests returned 2–12 images.
  • Several requests returned 35 images (39,200 image tokens, 43,000+ output tokens), above the model’s documented 32,768 output-token limit.
  • Affected responses almost always have thoughtsTokenCount: 0 and finishReason: STOP. Normal responses think first (~150–250 thought tokens) and return one image.
  • Affects both generations and image edits.

Example affected requests (from the batch result files)

Batch job Date Type Images returned Image tokens thoughtsTokenCount
batches/fwxh1ws66uqxkbq9t5gktbylhatav4usk3pw 2026-10-08 edit 3 3,360 0
batches/q4womf02oae0i6mejuwiydyick1jahemfzpy 2026-10-09 generation 35 39,200 0
batches/moshc58zuuoi3qc3a13rh0dcw3i8hgp4jhjy 2026-10-12 generation 35 39,200 0
batches/0g4a7e5ydeljgvxpdqgavgqvibeotbx4oosk 2026-10-24 generation 35 39,200 0
batches/h39k5nxiwfxtvljjop8qtvhafnepybp5f91p 2026-10-26 edit 35 39,200 0

Extra images per day (2026, Pacific dates)

Date Affected requests Extra images
Oct 9 18 126
Oct 12 38 301
Oct 14 67 671
Oct 19 46 329
Oct 21 17 206
Oct 28 24 103

We have the full list of affected batch job IDs and request keys and can share it privately with the Gemini team.

Billing support (case 76839399) declined an adjustment as “usage billed correctly”, but this is an output defect, not a metering issue: the model returns images that were never requested.

Questions

  1. Is this a known server-side regression for gemini-3-pro-image, and is a fix planned?
  2. Is there a supported setting that guarantees exactly one image per request?
  3. Can the Gemini API team review the charges for the affected requests?

Thanks.

Send code and input here

Thanks for looking at this. Below is the exact request structure we send (sanitised: prompt shortened, image data removed) and what comes back.

How we submit

  • SDK: @google/genai 1.52.0 (Node), apiVersion v1alpha
  • JSONL file uploaded with files.upload, then batches.create with model models/gemini-3-pro-image
  • One JSONL line per image we want (one request = one image)

One JSONL request line

{
  "custom_id": "img_<id>_var_Product Shot_<n>",
  "request": {
    "contents": [{
      "parts": [
        { "text": "<single-image product photography prompt, ~1,500 characters: generate ONE catalogue product image of the jewellery in the attached photo, specific background, lighting and composition>" },
        { "inlineData": { "mimeType": "image/jpeg", "data": "<product photo>" }, "mediaResolution": { "level": "MEDIA_RESOLUTION_HIGH" } },
        { "inlineData": { "mimeType": "image/jpeg", "data": "<background reference image>" } }
      ]
    }],
    "safetySettings": [
      { "category": "HARM_CATEGORY_HARASSMENT", "threshold": "BLOCK_NONE" },
      { "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "BLOCK_NONE" },
      { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "BLOCK_NONE" },
      { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "BLOCK_NONE" }
    ],
    "generationConfig": {
      "responseModalities": ["TEXT", "IMAGE"],
      "imageConfig": { "aspectRatio": "1:1", "imageSize": "2K" }
    }
  }
}

Hello @Bafar_Labs ,

Thanks for the detailed report.

  • Could you please try the newer gemini-nano-banana-2.1 model (see the image generation documentation) on these requests and let us know if the issue still occurs?
  • Billing refunds/adjustments cannot be handled on this forum.