the diff / Gemini API

Gemini API changes

Every Diff about Gemini API: the model, pricing, limit and feature changes that alter how you ship with an agent, newest first, each with its official source. 5 notes so far; the newest is from October 30, 2026. Written by MK.

Also: the AI coding tool pricing tracker · RSS for every Diff

Google's Gemini API Computer Use tool is generally available on the Interactions and GenerateContent APIs. Paid tier only, billed as regular tokens.

score days until the recommended model doubles in price: 63

  • Google's Gemini API changelog for October 30: the Computer Use tool is now generally available across the Interactions and GenerateContent APIs.
  • The docs recommend gemini-3.8-flash for it, with gemini-4-argon and gemini-3.5-flash-lite also supported.
  • If a preview label was what kept your clicking agent off production, that reason is gone.

open the article →

What changed

Google's Gemini API changelog for October 30: the Computer Use tool is now generally available across the Interactions and GenerateContent APIs. The docs recommend gemini-3.8-flash for it, with gemini-4-argon and gemini-3.5-flash-lite also supported. It is paid tier only, billed as regular tokens at the model's rate. Gemini 3.8 Flash is $0.75 per million input tokens and $3.75 output through December 31, 2026, then $1.50 and $7.50 from January 1, 2027.

Why it matters if you ship with an agent

If a preview label was what kept your clicking agent off production, that reason is gone. Keep handling safety_decision: the model marks an action allowed, blocked, or needing confirmation, and for the last one you prompt the human and send safety_acknowledgement back. Prompt injection detection is opt-in and off by default, so switch it on before the agent reads a web page you did not write.

sources: ai.google.dev

open the article →

Google made gemini-4-argon generally available on October 13 at $2 in and $10 out per million tokens through November 30, then $4 and $20. Sampling params are ignored.

score price on December 1: 2x

  • On October 13 Google made Gemini 4 Argon, model id gemini-4-argon, generally available in the Gemini API and AI Studio.
  • Input, thinking and output share one window of 1,048,576 tokens.
  • Seven weeks at half price, then the meter doubles.

open the article →

What changed

On October 13 Google made Gemini 4 Argon, model id gemini-4-argon, generally available in the Gemini API and AI Studio. Input, thinking and output share one window of 1,048,576 tokens. Pricing is $2 per million input tokens and $10 output through November 30, then $4 and $20 from December 1. Cached input goes from $0.10 to $0.20. It is not on the Free tier or the Google AI Pro plan. The model ignores temperature, top_p and top_k, and explicit caching is not supported. GitHub Copilot added it the same day for Pro+, Max, Business and Enterprise.

Why it matters if you ship with an agent

Seven weeks at half price, then the meter doubles. Run your evals at low, medium and high thinking and keep the lowest that passes. Set max_output_tokens to at least 32,768, since thinking spends the same budget, and client timeouts to 15 minutes. Delete any caches.create code: only implicit caching works, from 4,096 tokens up.

sources: ai.google.dev

open the article →

Google deprecated gemini-3.7-flash and gemini-3.5-flash on October 8. Every request to them now runs on gemini-3.8-flash or gemini-3.6-flash.

score days of notice: 0

  • On October 8 Google deprecated two Gemini API models. gemini-3.7-flash is replaced by gemini-3.8-flash, and gemini-3.5-flash by gemini-3.6-flash.
  • All requests to the old ids are automatically routed to the replacements, so anything still naming them already runs on a different model.
  • Grep for gemini-3.7-flash and gemini-3.5-flash in configs, env files and whatever model picker your agent calls.

open the article →

What changed

On October 8 Google deprecated two Gemini API models. gemini-3.7-flash is replaced by gemini-3.8-flash, and gemini-3.5-flash by gemini-3.6-flash. All requests to the old ids are automatically routed to the replacements, so anything still naming them already runs on a different model. Neither entry gives a shutdown date, and the deprecations page says none is announced. The pricing page now lists only the replacements: $0.75 per million input tokens and $3.75 output on both, through December 31, 2026, then $1.50 and $7.50 from January 1, 2027.

Why it matters if you ship with an agent

Zero days of notice. Grep for gemini-3.7-flash and gemini-3.5-flash in configs, env files and whatever model picker your agent calls. Change the strings to what you are actually getting, then rerun your evals, because the model under them changed yesterday without a commit. Lovable and Copilot are already retiring 3.6 Flash, so 3.8 is the longer road. Check the 2027 price before you settle in.

sources: ai.google.dev

open the article →

Google deprecated the deep-research-pro-preview-12-2025 agent on October 8 and shuts it down on October 23, 2026. Two April 2026 previews replace it.

score days of notice: 15

  • On October 8 Google deprecated the Deep Research Agent deep-research-pro-preview-12-2025 in the Gemini API and set its shutdown for October 23, 2026.
  • Two newer agents replace it: deep-research-preview-04-2026, which Google positions for speed and streaming results back to a client UI, and deep-research-max-preview-04-2026, for maximum comprehensiveness in automated…
  • Grep for the old agent id in anything that calls the Interactions API, including the research step an agent wired up in January.

open the article →

What changed

On October 8 Google deprecated the Deep Research Agent deep-research-pro-preview-12-2025 in the Gemini API and set its shutdown for October 23, 2026. Two newer agents replace it: deep-research-preview-04-2026, which Google positions for speed and streaming results back to a client UI, and deep-research-max-preview-04-2026, for maximum comprehensiveness in automated context gathering and synthesis. Migration is a one-field change: the agent parameter in interactions.create requests.

Why it matters if you ship with an agent

Fifteen days. Grep for the old agent id in anything that calls the Interactions API, including the research step an agent wired up in January. Pick the April preview that matches the job: the plain one when a person is waiting on the stream, max when a pipeline consumes the output. Then rerun whatever consumes the report, since the two replacements are tuned differently.

sources: ai.google.dev

open the article →

Google deprecated gemini-3.1-flash-image on October 6 and shuts it down on October 29, 2026. Nano Banana 2.1 is the replacement and is GA now.

score days of notice: 23

  • On October 6 Google made gemini-nano-banana-2.1, an update to Nano Banana 2, generally available.
  • Google says it keeps Flash-level speed and cost and improves visual quality, prompt adherence, multi-turn character consistency, text rendering and wide and panoramic ratios (1:4, 4:1, 1:8, 8:1) at 1K, 2K and 4K.
  • Grep your repo for the old model id.

open the article →

What changed

On October 6 Google made gemini-nano-banana-2.1, an update to Nano Banana 2, generally available. Google says it keeps Flash-level speed and cost and improves visual quality, prompt adherence, multi-turn character consistency, text rendering and wide and panoramic ratios (1:4, 4:1, 1:8, 8:1) at 1K, 2K and 4K. The same entry deprecates gemini-3.1-flash-image and sets its shutdown for October 29, 2026.

Why it matters if you ship with an agent

Grep your repo for the old model id. Anything still calling gemini-3.1-flash-image stops working on October 29, and the agent that picked that id in July will not warn you. Swap it to gemini-nano-banana-2.1, rerun whatever tests cover image output, and check sizes and ratios in the results, since the wide ones are new.

sources: ai.google.dev

open the article →

other tools: Kiro · v0 · Claude · Claude Code · OpenAI Agents API · OpenAI API · Claude API · Jules · GitHub Copilot · DeepSeek API · Codex · Anthropic · opencode · Lovable