GEMINI LABJP
API — The Interactions API is now generally available and is the default for Google AI Studio, the Gemini API, and the docs, with a toggle back to the legacy formatAGENTS — With GA, the Interactions API schema is stable and adds Managed Agents and background execution — a good moment to revisit how you run long batchesTRANSLATE — Near-real-time speech-to-speech translation across 70+ auto-detected languages is rolling out in the Live API, AI Studio, and the Google Translate appNOTEBOOK — NotebookLM has been renamed Gemini Notebook, now used by over 30 million people and 600,000+ organizationsMODEL — Gemini 3.5 Flash is the newest broadly available release. The flagship Gemini 3.5 Pro is running months behind while its coding ability is improvedSIRI — Apple picked a custom 1.2-trillion-parameter Gemini model to power the rebuilt Siri, shipping with iOS 27 later this yearAPI — The Interactions API is now generally available and is the default for Google AI Studio, the Gemini API, and the docs, with a toggle back to the legacy formatAGENTS — With GA, the Interactions API schema is stable and adds Managed Agents and background execution — a good moment to revisit how you run long batchesTRANSLATE — Near-real-time speech-to-speech translation across 70+ auto-detected languages is rolling out in the Live API, AI Studio, and the Google Translate appNOTEBOOK — NotebookLM has been renamed Gemini Notebook, now used by over 30 million people and 600,000+ organizationsMODEL — Gemini 3.5 Flash is the newest broadly available release. The flagship Gemini 3.5 Pro is running months behind while its coding ability is improvedSIRI — Apple picked a custom 1.2-trillion-parameter Gemini model to power the rebuilt Siri, shipping with iOS 27 later this year
ARTICLES

All Articles

All (733) Gemini Basics (57) Dev Tools (106) API & SDK (405) Advanced (110) Workspace (37) Updates (18)
API & SDK/2026-06-12Intermediate

Designing a Nightly Batch That Survives a Gemini API Outage — Three Layers of Defense

This week's widespread Gemini outage cost my nightly batch three hours of work. Here is how I rebuilt it with three layers of defense: classified retries, a model fallback chain, graceful degradation, plus idempotency keys and a catch-up queue.

API & SDK/2026-06-11Intermediate

Gemini 3.2 API Developer Guide — Correct Model IDs, Migration from 3.1, and Production Checklist

A practical guide to calling Gemini 3.2 via the API: correct model IDs, what changed from Gemini 3.1, Python and TypeScript code examples, and a production migration checklist.

API & SDK/2026-06-04Advanced

Don't make Gemini judge your AdMob report — confine structured output to extraction

When deciding AdMob floors (eCPM thresholds), letting Gemini make the decision itself is dangerous. Confine structured output to 'extracting a messy report into typed data,' and keep the threshold judgment in deterministic code — here is the reasoning and implementation, with the actual decision rules from running 42 groups.

API & SDK/2026-06-03Beginner

Gemini Live API Audio Sounds Sped Up — Fixing the Sample Rate Mismatch

When Gemini Live API responses sound high-pitched and sped up, or come back full of noise, the cause is almost always that the 24kHz output is being played at a different sample rate. Here are the concrete fixes for both the browser and iOS.

API & SDK/2026-06-03Advanced

Reconciling Orphaned Gemini Files API Uploads Across a Fleet of Apps

Files API uploads quietly expire after 48 hours. Here's how I keep orphaned files and quota under control across six apps, using reconciliation against my own database and a scheduled cleanup job — written up as production notes from running wallpaper apps.

API & SDK/2026-06-03Advanced

Recording Provenance for Gemini Output — Designing for Reproducibility and Audit

Before you lose track of which model and prompt produced an output months later: how to stamp provenance metadata onto Gemini generations so quality investigations and model migrations stay reproducible.

API & SDK/2026-06-02Intermediate

Why Firebase AI Logic Returns 403 When Calling Gemini from iOS — And How to Fix It

Firebase AI Logic (formerly Vertex AI in Firebase) often returns 403 PERMISSION_DENIED when calling Gemini from an iOS app. Here is how to isolate the three real causes — App Check enforcement, disabled APIs, and missing Blaze billing — based on hands-on device testing.

API & SDK/2026-06-02Intermediate

A Month of Refreshing App Store Promotional Text Weekly with Gemini

Notes from one month of rewriting App Store promotional text (the 170-character line above the description) weekly with the Gemini API. How I reused a slot that ships without review, what I handed to AI, what I always touched by hand, and whether it moved anything.

API & SDK/2026-06-02Advanced

Stopping Gemini API Config Drift — Codifying Model IDs and Safety Settings to Catch Cross-Environment Gaps

Most of those puzzling per-app bugs come from drift in model IDs and safety settings between environments. This guide shows how to codify your Gemini config and snapshot the effective settings to detect cross-environment gaps.

API & SDK/2026-06-01Intermediate

Empty Output but finish_reason Is MAX_TOKENS on Gemini 2.5/3: Cause and Fix

Your prompt is just a few lines, yet a low maxOutputTokens on gemini-2.5-flash returns empty text with finish_reason MAX_TOKENS. The culprit is thinking tokens. Here are three fixes with working code.

API & SDK/2026-06-01Intermediate

Mixing Gemini 2.5 Flash and Flash-Lite for App Store Localization

An operations log from running the same wallpaper-app store copy through both Gemini 2.5 Flash and Flash-Lite. Real cost gaps, where the lighter model breaks down, and how I now route by text type and locale.

API & SDK/2026-06-01Advanced

Measuring the Economics of Each Gemini-Powered Feature — So You Can Keep It, Fix It, or Retire It

Gemini API costs are visible at the account level, but the profitability of an individual feature never shows up on its own. This guide shows how to tag every request, build a per-feature cost ledger, join it with revenue signals from AdMob and in-app purchases to compute contribution margin, and decide whether to keep, fix, or retire each feature — with the code I actually run.