All Articles
Gemini 2.5 Pro × FastAPI: Building a Production-Ready AI Backend
Learn how to build a production-ready AI backend by combining Gemini 2.5 Pro with FastAPI, covering streaming, rate limiting, Function Calling, cost optimization, and Docker deployment.
Google Personal Intelligence × Gemini API — Build Personalized AI Experiences
Personal Intelligence enables Gemini to access Gmail, Google Photos, Calendar data for personalized responses. Implement Grounding with Google Services for custom apps.
Estimating Gemini API Costs Before You Send — count_tokens in Practice
Use Gemini's free count_tokens call to measure input tokens and costs before each request, then cut spend with caching and model selection.
Gemini Advanced Document Processing — PDF Analysis, Table Extraction & Automated Review
Advanced document processing with Gemini's multimodal capabilities. Covers full PDF analysis, table and chart extraction, multi-document comparison, automated contract and invoice review. Includes File API integration and context caching patterns.
Gemini Code Execution API: to AI-Generated Code Execution
Master the Gemini Code Execution API. Execute Python code generated by AI in a secure sandbox, perform complex calculations, and automate data analysis tasks.
Gemini 1M Token Long Context Strategies — Production Patterns for Large Document Processing
Master Gemini 2.5 Pro's 1M token context window for production workloads. Covers context caching, chunking strategies, RAG comparison, cost optimization, and real-world codebase + PDF corpus analysis.
Fine-Tuning Gemini: Building Specialized Models for Domain-Specific Applications
Complete guide to fine-tuning Gemini models. Learn dataset preparation, training strategies, evaluation metrics, and production deployment for custom AI.
Reading Gemini API Logs by What Survived — Field Notes on Logging & Datasets
Use the Gemini API logging and datasets tool from a results-first angle — not token counts or latency, but whether each output actually survived to publication. Includes tying log review to spend caps and API key hygiene.
Gemini API Quickstart — Getting Started with Python and TypeScript
Step-by-step guide to set up and use Gemini API with Python and TypeScript SDKs