◉GEMINI LABJP
●2.5 ROUTE — Since 12/1, gemini-2.5-pro routes to 3.8 Flash and gemini-2.5-flash to 3.5 Flash-Lite, billed at the new model's rates●CARBON — Intro pricing for Gemini 4 Carbon and Argon has ended. Standard rates: $4.00 input, $20.00 output per 1M tokens●OMNI 1.1 — gemini-omni-1.1-flash starts routing to 1.2 Flash on 12/3, one day from now●COMPRESS — Some Gemini CLI users report auto-compression that barely shrinks the context, round after round●FALLBACK — Planning for model changes or traffic spikes? Decide your retry count and fallback model up front●LONG DOC — Feeding Gemini a long document? State your goal and the part to read first, and fewer details get dropped●2.5 ROUTE — Since 12/1, gemini-2.5-pro routes to 3.8 Flash and gemini-2.5-flash to 3.5 Flash-Lite, billed at the new model's rates●CARBON — Intro pricing for Gemini 4 Carbon and Argon has ended. Standard rates: $4.00 input, $20.00 output per 1M tokens●OMNI 1.1 — gemini-omni-1.1-flash starts routing to 1.2 Flash on 12/3, one day from now●COMPRESS — Some Gemini CLI users report auto-compression that barely shrinks the context, round after round●FALLBACK — Planning for model changes or traffic spikes? Decide your retry count and fallback model up front●LONG DOC — Feeding Gemini a long document? State your goal and the part to read first, and fewer details get dropped
ARTICLES

All Articles

All (868)◉ Gemini Basics (71)⟐ Dev Tools (135)◈ API & SDK (450)⬡ Advanced (129)◧ Workspace (52)◎ Updates (31)
◈ API & SDK/2026-04-13Intermediate

Wallpaper Classification on the Gemini API — Migrating Off the Legacy SDK, and Tuning Resolution, Confidence, and Cost

Implementation notes from automating wallpaper classification with the Gemini API: migrating to @google/genai, resizing to a 1024px long edge, receiving results via responseSchema, confidence thresholds, retrying only on 429/5xx, and tracking real cost with usageMetadata.

◈ API & SDK/2026-04-13Advanced

Gemini API Multimodal Input Optimization — Production Techniques to Cut Token Costs for Images, PDFs, Video, and Audio

Cut your Gemini API multimodal token costs by up to 70% in production. Practical optimization techniques for images, PDFs, video, and audio with working Python code examples.

◈ API & SDK/2026-04-12Intermediate

Building Voice Apps with Gemini 2.5 Flash TTS: From Low-Latency Synthesis to Production Optimization

How to build voice apps with Gemini 2.5 Flash TTS. Covers low-latency speech synthesis, expressiveness control, streaming playback, and cost optimization with implementation code.

◈ API & SDK/2026-04-12Advanced

Mastering Gemini API Streaming Responses — Chunk Processing, Error Recovery, and UX Optimization

A production-grade guide to implementing Gemini API streaming responses. Covers chunk parsing internals, automatic recovery from disconnections, and rendering strategies that create a polished user experience.

◈ API & SDK/2026-04-12Advanced

Gemini API Production Performance Tuning — Removing Latency, Throughput, and Cost Bottlenecks One at a Time

A rewritten guide to lowering Gemini API latency, throughput limits, and cost together, updated for the December 1 automatic reroute of the 2.5 models (3.5 Flash-Lite, 3.8 Flash, 4 Argon). Covers streaming retries that never duplicate output, choosing Standard, Flex, Priority, or Batch, break-even-based Context Caching, three-lane model routing, 429-aware flow control, and thinking_level, with runnable code and a symptom triage table.

◈ API & SDK/2026-04-12Beginner

Fixing Gemini API 'Model Not Found' Errors: A Complete 2026 Guide

Getting a 'model not found' or INVALID_ARGUMENT error in the Gemini API? This guide explains every cause and fix, including correct model names for 2026 and how to use generativelanguage.googleapis.com properly.

◈ API & SDK/2026-04-11Advanced

Gemini API Rate Limits and 429 Handling: Operational Notes from an Indie Mobile App

Operational notes on handling Gemini API rate limits and 429 errors in a production indie mobile app: exponential backoff, adaptive control, multi-key pooling, and Cloud Monitoring integration, all rebuilt after a real incident.

◈ API & SDK/2026-04-11Intermediate

Gemini 3.1 Pro REST API Getting Started Guide — generativelanguage.googleapis.com in Practice

A complete guide to calling the Gemini 3.1 Pro generativelanguage.googleapis.com REST API using curl, Python, and JavaScript — covering authentication, streaming, multi-turn chat, and common errors.

◈ API & SDK/2026-04-11Advanced

Building a Production Content Moderation System with Gemini API: A

A complete guide to building a production-grade content moderation system with the Gemini API. Covers custom safety criteria, multimodal inspection of text and images, async batch processing, Human-in-the-Loop workflows, and cost optimization.

◈ API & SDK/2026-04-10Intermediate

How to Fix Gemini API JSON and Structured Output Errors

Troubleshoot Gemini API JSON Mode and Structured Output errors including malformed JSON, schema violations, and truncated responses with step-by-step solutions and code examples.

◈ API & SDK/2026-04-10Advanced

Gemini API Practical Troubleshooting Guide — Master 2.5 Pro Rate Limits, Timeouts & Errors

Systematically troubleshoot Gemini 2.5 Pro API errors: 429 rate limits, 504 timeouts, 400 validation errors, and Safety Filter blocks. Learn production-ready solutions with retry strategies, streaming optimization, and cost-saving techniques.

◈ API & SDK/2026-04-10Advanced

Google AI Studio × Gemini API Production Guide — Reduce Input Costs by 90%

Master Gemini API and Google AI Studio. Complete production guide: Gemini 3/3.1 Pro, Context Caching, Batch Mode, MCP, Vertex AI integration, and cost optimization.