◉GEMINI LABJP
●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 5 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 5 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…
ARTICLES

All Articles

All (841)◉ Gemini Basics (67)⟐ Dev Tools (129)◈ API & SDK (444)⬡ Advanced (126)◧ Workspace (48)◎ Updates (27)
◈ API & SDK/2026-09-02Intermediate

Taking stock of Gemini standard API keys before September, across CI, servers, and my own machine

Standard API keys, including restricted ones, stop being accepted during September. Because this changes where keys come from rather than what they say, here is the three-layer inventory I ran across code, deploy settings, and my local machine, plus a dual-path client to switch behind.

◈ API & SDK/2026-09-01Advanced

Your New Gemini API Key Never Took Effect, and Load Order Wasn't the Reason

When several sources supply the same environment variable, swapping your key can leave the old value in place. Here is what four load orders actually produced, and a ledger that records which source won.

◈ API & SDK/2026-08-29Intermediate

Smart mode in gemini-3.5-transcribe returns no speaker labels and no word timestamps

Smart mode in gemini-3.5-transcribe cannot be combined with diarization_mode or timestamp_granularities. Here is why the mode field accepts two types, and why enabling features halves your audio limit.

◈ API & SDK/2026-08-29Intermediate

Should Omni Flash Hand You the 4K, or Should You Upscale at the Last Step?

In Gemini Omni Flash, 1080p and 4K are upscaled outputs. Here is how to pick the upscale point by working backwards from your delivery target, plus a script that checks whether the detail matches the nominal resolution.

◈ API & SDK/2026-08-27Intermediate

Your Spreadsheet Breaks Before Gemini Ever Sees It

Merged cells and two-row headers quietly strip rows of their keys during extraction, long before the model reads anything. Here is what gets lost, measured, plus the Python that flattens the table and catches the total row.

◈ API & SDK/2026-08-27Intermediate

Record what you send before you try to measure whether temperature still works

Deprecated sampling parameters still return 200 and are silently ignored. Here is how a runtime recorder caught the call sites grep and AST both missed, kept the construction site attached to each config, and turned the ledger into a CI gate.

◈ API & SDK/2026-08-23Intermediate

Streaming Gemini TTS: concatenate the PCM, write the WAV header once

Streamed Gemini TTS does not arrive as an audio file. It arrives as raw PCM fragments. Here is what happens when you wrap each fragment in its own WAV header, measured on my machine, plus the receiving code that avoids it.

◈ API & SDK/2026-08-23Intermediate

Moving app AI work from runtime calls to a pre-ship batch pass

Where you put a Gemini call decides whether your request count scales with users or with assets. Here is the decision rule I used to move classification into a pre-ship batch pass, plus a resumable implementation.

◈ API & SDK/2026-08-22Intermediate

Once You Pass Twenty Mediation Groups, How Do You Find the Setting That Went Missing?

As ad mediation groups multiply, missing sources and type drift accumulate quietly. Here is the split I settled on: normalize the settings into one matrix, let code confirm the gaps, and send Gemini only the cells that need judgment.

◈ API & SDK/2026-08-20Advanced

Never hand Gemini a raw ANR thread dump

An ANR dump came in at 96 threads and 33,616 characters. Keeping only main cuts 98 percent, but it also deletes the thread that caused the block. Here is a lock-chain preprocessor, measured three ways.

◈ API & SDK/2026-08-19Intermediate

gemini-2.5-flash Can Return a 404 'no longer available' While the Docs Still List No Shutdown Date

The shutdown date for gemini-2.5-flash is blank in the official deprecation table, yet 404 reports have been circulating since July. Here is why reading that column as a safety margin misleads you, and how to check your own keys.

◈ API & SDK/2026-08-18Intermediate

Routing Between Gemini 3.7 Flash and 3.1 Pro by Rework Cost, Not Speed

A single question replaced my model-selection ritual: can a machine catch this output when it is wrong? Here is how that splits work between 3.7 Flash and 3.1 Pro, plus the pricing math across the December 31 cutover.