◉GEMINI LABJP
●HYDROGEN — Nothing new over the weekend; the latest changelog entry is Gemini 4 Hydrogen GA on 11/12●DECISIONS — The Decisions API (11/11) is built just for binary, categorical and rubric judgments●GEMINI 2.5 — gemini-2.5-pro and 2.5-flash shut down on the API on 12/1, 15 days left●MAX TURNS — Users report subagents stopped by MAX_TURNS still being reported as a success●CLI 0.68 — Gemini CLI stable is v0.68.0, with v0.69.0-preview.0 on the preview channel●NEW — Getting Consistent JSON Through the OpenAI-Compatible Layer, in Three Steps●HYDROGEN — Nothing new over the weekend; the latest changelog entry is Gemini 4 Hydrogen GA on 11/12●DECISIONS — The Decisions API (11/11) is built just for binary, categorical and rubric judgments●GEMINI 2.5 — gemini-2.5-pro and 2.5-flash shut down on the API on 12/1, 15 days left●MAX TURNS — Users report subagents stopped by MAX_TURNS still being reported as a success●CLI 0.68 — Gemini CLI stable is v0.68.0, with v0.69.0-preview.0 on the preview channel●NEW — Getting Consistent JSON Through the OpenAI-Compatible Layer, in Three Steps
TAG

Gemini API

256 articles
← Back to all tags
Related:
Python40Production30indie development23troubleshooting19Structured Output12operations12production12RAG11Automation11Architecture10multimodal10structured output9
◈ Gemini API/2026-11-14Intermediate

When JSON Shapes Drift Through Gemini's OpenAI Compatibility Layer: Three Steps to response_json_schema Without Rewriting Callers

If your OpenAI SDK code points at Gemini and structured output seems ignored, here is how to check whether a schema is actually sent, and how to move to the Gemini SDK's response_json_schema while keeping the same function boundary.

⬡ Gemini Advanced/2026-10-31Intermediate

When Computer Use Ends After a Few Steps — Finding the Reason Among Four Exits

When Gemini API Computer Use stops after a few steps with no error, sort the cause into four exits that follow the official loop: no function_call, turn_limit, safety_decision, or a bad function_result. Includes a short script that logs the exit reason in one line.

◈ Gemini API/2026-10-30Beginner

An 'API key expired' Error Doesn't Always Mean Expired. Check Which Key Is Actually Sent Before You Renew It

A 400 with API_KEY_INVALID from the Gemini API cannot tell you whether the key expired or something else is wrong. A small diagnostic script checks env-var precedence and stray quotes first, run here against dummy keys.

◈ Gemini API/2026-10-30Intermediate

My ADK Agent Never Ran and Said 'API key expired' — Reading the Reason Code Gave Me a Triage Order

When ADK returns 400 INVALID_ARGUMENT 'API key expired. Please renew the API key.' on every run, check this order before assuming the key expired: read the reason code, compare shell and .env keys by their last four characters, then test the key alone over REST.

◈ Gemini API/2026-10-27Beginner

New paid projects now start with request storage switched on. Three places to check the day you notice

Gemini API paid projects created on or after October 26, 2026 store generateContent requests by default. How to tell whether your project is affected, how to turn storage off in Logs Settings, how to set store=False per request, and how to shorten retention, following the official wording.

◉ Gemini Basics/2026-10-24Beginner

When Model Names Stop Making Sense: Reading Them in Four Parts

How to read a long Gemini model name like gemini-3.8-flash-lite-tts as generation, line, variant and release stage, plus a short script and where to check words you can't read.

◉ Gemini Basics/2026-10-18Beginner

Bought Credits but the Balance Still Says 0 — Which Page to Check First for the Gemini API

You bought Gemini API prepaid credits, yet the balance shows 0 and requests still fail with 402. Here is the order I use to tell a short delay from a real billing problem.

◈ Gemini API/2026-10-14Intermediate

When Your config Raises "Extra inputs are not permitted", Check the Spelling of Every Key

If a google-genai call fails with a pydantic ValidationError (extra_forbidden) the moment you pass a config, it is almost always a one-letter typo. Here is the output I reproduced, a small function that checks keys before the call, and how to tell why response.text came back as None.

◎ Updates/2026-10-13Intermediate

Deep Research's Old Agent Stops on October 23: Finding and Swapping the Name Across Code and Config

deep-research-pro-preview-12-2025 shuts down on October 23, 2026. A small script to find every use of the old agent name, how to choose between the standard and Max agents, and what to check after the swap.

◉ Gemini Basics/2026-10-08Beginner

Free Tier Shows Up, but You Get a 429 With `limit: 0` — What to Check in the First Hour of a New Gemini API Project

A new Gemini API project says Free tier, yet the very first call returns 429 with limit: 0. Here is the order I check things in, how to read the error body, and a 40-line script that tests models one by one.

◈ Gemini API/2026-10-08Intermediate

When a Deprecation Has No Shutdown Date: Re-Picking an Image Model on Three Conditions

gemini-nano-banana-2.1 went GA on October 6, and gemini-3.1-flash-image was deprecated with no shutdown date. Here is a table and a short script for choosing a replacement by resolution, reference images, and search grounding.

◧ Workspace/2026-10-03Intermediate

Estimating a Sheets-Driven Gemini Bill Across the Year-End Price Switch with Apps Script

If you call the Gemini API from a spreadsheet, log the token counts per call and estimate the month in two columns: the intro price that ends on December 31, 2026 and the standard price from January 1, 2027. Apps Script, with real output.