
Semantic Caching for LLM Requests: Similarity Thresholds, Measured
Semantic cache thresholds measured on 40 questions with two Gemini embedding models: why 0.92 almost never hits and which near-misses fool a cache.

How to Deploy a Machine Learning Model to Production: A Practical Guide
Train a simple model, package it in Docker and serve predictions from a FastAPI endpoint, step by step with code.

How to Implement Stripe Billing in a Next.js 15 App for SaaS Subscriptions
Add Stripe subscriptions to a Next.js 15 app: Checkout, the customer portal and webhook signature verification with the App Router.

How to Implement Unit Testing for AI Agents Using Python and Pytest
Unit test AI agents in Python with Pytest by mocking the LLM and asserting on agent behavior, and keep LLM-judged tests in a separate suite.

Parse Invoices With Gemini and Pydantic: A Tested Python Script
A Python invoice parser using Gemini structured output and Pydantic, tested on four invoice variants with known values: accuracy, speed, and a fix.

How to Build a Custom MCP Server with Python for Claude Sonnet 5
Build a local MCP server in Python with FastMCP and connect it to Claude Desktop so the model can inspect your system and look up directories.

How to Build a Secure API Gateway for LLM Cost Tracking Using Go and Redis
Build an API gateway in Go and Redis that tracks token usage and cost per client for GPT-5.6 and Gemini requests.