AI Costs: The Utility Meter

AI Costs: The Utility Meter

Simor Consulting | 31 Jul, 2026 | 09 Mins read

Your office building has one electricity meter. At the end of the month, you get a bill for the whole building. You know the total cost of electricity for the month. You do not know which floor consumed what, which tenant ran the servers that spiked the bill, or whether the conference rooms or the server rooms are driving the peak.

Most AI deployments start with the same problem. One API bill covers the entire organization. You know what you spent on AI this month. You do not know which product, which team, which feature, or which customer interaction drove that number.

Why Attribution Matters

Without attribution, you cannot make informed decisions. If one product is generating 80% of the AI spend but contributing 10% of the revenue, you cannot have that conversation. If one team is calling the same model fifty times per user session when ten would suffice, you cannot see it. The aggregate number tells you nothing about where to act.

Granular attribution changes the conversation. It lets product teams see the cost of their AI features. It lets finance allocate AI spend to the products that generate revenue from it. It lets engineering identify the calls that are wasteful before they compound into a budget crisis.

This is not hypothetical. Organizations that have deployed AI without attribution often discover, when they finally add metering, that a small number of features account for a large fraction of spend, and that some of that spend produces little measurable value. The visibility enables the conversation. The conversation enables the decision.

What Makes Attribution Hard

The difficulty is not the metering itself. Capturing token counts per request is straightforward. The difficulty is mapping those counts to organizational units in a way that is consistent and meaningful.

A single user request might touch multiple features. A single feature might use multiple models. A single model might serve multiple products. The attribution hierarchy you build has to reflect how your organization actually thinks about cost responsibility, not just the technical call graph.

Consider a customer support AI. The support feature uses a model. The model is shared across support and sales. The support feature serves multiple products. If the AI bill arrives as one number, you might conclude that “support AI” costs X. But if product A generates 70% of support volume while contributing 10% of revenue, the attribution story is more complicated. The meter has to be able to answer that question.

Building this mapping requires instrumentation upstream. User ID, session ID, feature flag, product line: these all need to travel with the request so that the cost can be allocated at the end of the billing period. If your tracing does not carry this context, you cannot attribute costs downstream. You end up with a meter that tells you the building total and nothing else.

The Metering Stack

Token counts per call are the starting point. Every API call returns usage data: input tokens, output tokens, sometimes cost per token depending on the provider. This is the raw measurement.

The attribution layer sits above this. It takes the raw token counts and assigns them to organizational dimensions: product, team, feature, customer segment. This assignment can happen at call time (attach metadata to each call and store it) or at reporting time (join call logs with product catalogs and user records).

Real-time attribution enables live dashboards and alerting. Batch attribution enables periodic reporting and budget reviews. Both are useful for different purposes. Real-time attribution matters when costs can spike unexpectedly and you need to respond quickly. Batch attribution matters for structured budget reviews and chargeback calculations.

The storage and processing for attribution is not trivial. If you are making millions of AI calls per day, storing per-call attribution metadata and joining it for reporting requires a data pipeline that is itself worth building and maintaining.

The Optimization Question

Attribution enables optimization, but optimization requires more than attribution. You need to know not just what something costs, but whether the cost is worth it.

A feature that generates 40% of AI spend and drives 60% of conversions is efficient. A feature that generates 40% of AI spend and drives 5% of conversions is wasteful, but only if removing it does not affect those conversions. Attribution tells you the spend. Attribution plus outcome measurement tells you the efficiency.

If your AI spend is growing faster than your revenue, the conversation is not just about which features cost the most. It is about which features justify their cost. Attribution is the starting point for that conversation, not the ending point.

Cost per Outcome

The most useful framing is cost per outcome, not just cost per call. A feature that costs $1000 per day but generates $10000 per day in revenue is more efficient than a feature that costs $100 per day but generates $50 per day in revenue.

Measuring cost per outcome requires linking AI spend to business outcomes. This is a data engineering problem as much as an AI problem. You need to be able to trace from a specific AI call to a specific user action to a specific business outcome. The chain is long and the data is often incomplete.

Organizations that build this tracing often find surprising results. Features that seemed expensive turn out to be essential. Features that seemed cheap turn out to be unnecessary. The data changes the conversation.

Real-World Scenario: The Feature Audit

An organization launches a new AI feature: personalized product recommendations on the homepage. The engineering team is proud. The feature uses a large model call for every page load. After a quarter, finance asks whether the feature is worth the cost.

The attribution system shows the feature accounts for 35% of total AI spend. The outcome analysis shows it drives 8% more conversions on the homepage. Finance calculates the revenue impact: 8% of homepage conversions times average order value equals $Y. The AI feature costs $Z. The calculation is straightforward: does $Y exceed $Z?

In this case, it does. The feature stays. But the same analysis applied to a different feature might reach a different conclusion. Without attribution and outcome measurement, both features would be treated the same: necessary because they exist.

Real-World Scenario: The Call Reduction Initiative

Engineering notices that one product’s AI costs have grown 300% in six months while usage has only grown 50%. The attribution system breaks down the cost by conversation type. It发现: the product is making 40 API calls per user session for a task that could be done in 5.

The cause is an architecture decision made during prototyping, when the team was building fast and not paying for inference. The same architecture survived into production. Attribution surfaces the problem. Engineering refactors to batch similar calls and cache responses where appropriate. The cost drops 60% without a noticeable change in user experience.

Attribution did not fix the problem. It identified where to look.

The Shared Infrastructure Problem

When multiple products share an AI infrastructure, attribution gets harder. The model serves all products. The API bill is one number. You need to divide that number across products in a way that reflects actual usage.

Simple division by call count is often wrong. A product that makes twice as many calls may be making twice as many cheap calls while another product makes half as many expensive calls. The cost per call varies by request complexity.

Dividing by compute time is more accurate but harder to measure. It requires instrumentation that captures not just token counts but actual GPU time consumed per request. This instrumentation is not always available from the model provider.

The right attribution method depends on what the provider exposes and what level of accuracy you need. For rough budget allocation, call counts may suffice. For chargeback to specific teams, you may need compute time.

Cost Comparison Across Providers

AI costs vary across providers and across model versions within the same provider. A call to GPT-4 costs more than a call to GPT-3.5. A call to Claude costs different from a call to Gemini. A call to a open-source model hosted on your own infrastructure has different cost structure than any of these.

Attribution should capture not just total spend but spend by provider and model. This enables cost comparison: is product A using an expensive model when a cheaper one would suffice? Is the premium for the latest model version worth the improvement in output quality?

This comparison requires attribution that tracks provider and model version, not just total token counts. If you only know total spend, you cannot make these distinctions.

The comparison also requires outcome measurement. A cheaper model that produces lower quality outputs may cost less per call but require more human review, negating the savings. The cost comparison has to account for total cost of quality, not just API cost.

The Cost of Complexity

Building a sophisticated attribution system has its own costs. You need instrumentation engineering, data pipelines, dashboards, and processes. The attribution system itself becomes something to build, maintain, and trust.

This cost has to be justified by the decisions it enables. If your total AI spend is $10,000 per month and is not growing, the ROI on a six-month attribution engineering project may be negative. If your AI spend is $500,000 per month and growing, attribution engineering pays for itself in the first optimization cycle it enables.

The complexity of attribution should match the complexity of your AI usage. Simple per-feature attribution may be enough for a small organization with a handful of AI features. Multi-dimensional attribution with real-time dashboards may be necessary for a large organization with complex shared infrastructure.

The Free Rider Problem

Without attribution, you get the free rider problem. One team invests in optimizing their AI usage. The savings appear in the aggregate bill, which benefits everyone. The team that invested gets no specific benefit, while all teams share the savings.

Attribution changes the incentive structure. Teams that optimize their AI usage see the savings reflected in their specific attribution. The investment in optimization has a clear return for the team making it.

This is why internal cost allocation works better than internal subsidies. If a central team absorbs all AI costs and provides AI capabilities for free to product teams, there is no incentive for product teams to use AI efficiently. If product teams see the cost of their AI usage, they have reason to optimize.

The Dark Spend Problem

Without attribution, you may have what finance calls “dark spend”: AI costs that you cannot explain. They appear in the bill but you cannot trace them to a product, a team, or a feature. They may be growing, but you do not know why.

Dark spend is a governance problem as much as a measurement problem. If you cannot trace costs, you cannot control them. If you cannot control them, they will grow until someone notices and demands action.

Attribution eliminates dark spend by making every cost traceable. When every dollar of AI spend is attributed to a product and a team, no spend can hide. The product team sees their costs. They own them. They optimize them.

Real-World Scenario: The Budget Crisis

A company experiences an unexpected AI bill spike. The bill is 40% higher than projected. Without attribution, the CFO demands answers from engineering, and engineering cannot provide them. The best they can say is “we used more AI than we expected.”

With attribution, engineering can tell the CFO exactly what happened. A new feature launched three weeks ago, and its AI costs have grown faster than expected. The feature is generating revenue, but at a higher cost per conversion than projected. The CFO has the information needed to decide whether to optimize the feature, increase the AI budget, or accept the higher costs.

Without attribution, the budget crisis would have led to across-the-board AI restrictions that would have affected features that were working well. With attribution, the response was targeted.

Real-World Scenario: The Provider Migration

An organization has been using one model provider for two years. A competing provider releases a new model that is significantly cheaper for equivalent quality. The organization wants to know whether migration would be worth the engineering effort.

Attribution data shows exactly how much they are spending on each model, each feature, each call type. The comparison is precise: if they switched providers, they would save X dollars per month. The engineering cost of migration is Y. The payback period is Y divided by X.

Without attribution, they cannot make this calculation. They do not know how much each feature costs, so they cannot know whether migration would save money or whether it would require trade-offs in quality or capability that cost more than the API savings.

Attribution makes the business case for infrastructure investments visible.

Decision Rules

Implement granular attribution when:

  • AI spend is large enough to warrant dedicated budget conversations
  • Multiple teams or products share an AI infrastructure budget
  • You need to evaluate the cost-effectiveness of specific AI features
  • You have or are building the instrumentation infrastructure to carry attribution context
  • You are making decisions about which AI features to invest in or cut
  • You want teams to have incentive to optimize their AI usage
  • You are considering provider migration and need to understand the economics
  • You need to explain AI costs to finance or leadership

Do not implement granular attribution when:

  • AI spend is small relative to other infrastructure costs
  • A single team owns the entire AI budget and has direct control over all usage
  • The engineering cost of carrying attribution context exceeds the organizational benefit
  • Your organization is not ready to act on cost information even if it had it
  • You are still in the exploration phase and do not yet know which features will survive
  • Your model provider does not expose usage data at a granularity you can capture
  • Your AI usage patterns are stable and you have no cost concerns

A single meter is fine for a shed. It is not fine for a campus with multiple tenants who need to know their share. The meter is not the goal; the decisions it enables are the goal.

Shipping a production AI system?

Find the control gaps before they turn into incidents. Take the AI Production Scorecard for a fast baseline across the seven layers, or book an architecture review and we will turn it into a hardening plan.

Similar Articles

Seek > Offset: Airline Boarding Pass Analogy
Seek > Offset: Airline Boarding Pass Analogy
04 Apr, 2025 | 03 Mins read

Picture yourself at a busy airport gate. The agent announces: "We'll now board passengers in rows 20 through 30." Simple, efficient, everyone knows whether it's their turn. Now imagine instead they sa

Tracing Spans as Russian Nesting Dolls
Tracing Spans as Russian Nesting Dolls
21 Mar, 2025 | 03 Mins read

Russian nesting dolls (Matryoshka) are wooden dolls where each one opens to reveal a smaller doll inside, which opens to reveal another, and so on. Each doll represents an operation in your distribute

Fridge Magnet Letters Arriving Late
Fridge Magnet Letters Arriving Late
09 May, 2025 | 05 Mins read

Magnetic letters on a fridge, sent between rooms with a gap under the door. You send C-A-T in order, but your friend receives A-C-T. Or worse, C-T-A. Your cat becomes an act, or something that isn't a

gRPC Postcards: Typed Messages at Light-Speed
gRPC Postcards: Typed Messages at Light-Speed
14 Mar, 2025 | 03 Mins read

A postal service where every postcard has a strict template. The address fields are always in the same spot. The message area has specific sections for specific types of information. Both sender and r

Bloom Filters: The Forgetful Bouncer
Bloom Filters: The Forgetful Bouncer
28 Mar, 2025 | 06 Mins read

A nightclub bouncer with a peculiar condition: they never forget a face they've seen, but sometimes they think they've seen faces they haven't. When someone approaches, they'll either say "You've defi

The CAP Desert Triangle
The CAP Desert Triangle
02 May, 2025 | 06 Mins read

You're leading an expedition across a desert. Your team needs three things: Consistent maps (everyone has the same version), Available guides (can always get directions), and Partition tolerance (can

Idempotency: Vending Machine Coin Trick
Idempotency: Vending Machine Coin Trick
11 Apr, 2025 | 03 Mins read

You're at a vending machine, desperately needing caffeine. You insert a dollar, press B4 for coffee, but nothing happens. Did the machine eat your money? Did it register the button press? In frustrati

WebSockets: The Persistent Coffee Line
WebSockets: The Persistent Coffee Line
07 Mar, 2025 | 06 Mins read

You walk into your favorite coffee shop and order your usual. But instead of ordering, paying, leaving, and coming back when you want another coffee (like HTTP requests), imagine you could just stay a

Window Functions: The Train Car View
Window Functions: The Train Car View
25 Apr, 2025 | 05 Mins read

You're on a cross-country train, sitting by the window. As landscapes roll by, you can see not just where you are, but where you've been and where you're going. You can count how many red barns you've

Time-Travel Tables: Passport Stamp Method
Time-Travel Tables: Passport Stamp Method
18 Apr, 2025 | 04 Mins read

Open your passport and you see a story told in stamps: where you've been, when you arrived, when you left. Each stamp doesn't erase the previous ones - they accumulate, creating a complete travel hist

Column Stores: The Vertical Filing Cabinet
Column Stores: The Vertical Filing Cabinet
30 May, 2025 | 04 Mins read

Reorganize an enormous filing cabinet. Instead of keeping complete employee records in manila folders (one folder per person with all their information), you create specialized drawers: one for all sa

Parquet vs ORC: Suitcase vs Trunk
Parquet vs ORC: Suitcase vs Trunk
06 Jun, 2025 | 04 Mins read

Packing for a month-long trip. Do you use a suitcase with clever compartments, compression bags, and built-in organization? Or a trunk with adjustable dividers, heavy-duty locks, and industrial-streng

Cosine Similarity: The Handshake Angle
Cosine Similarity: The Handshake Angle
13 Jun, 2025 | 04 Mins read

At a networking event, watch how people greet each other. Some reach straight out for a firm handshake. Others angle up for a high-five. A few go low for a fist bump. Measure not the style of greeting

Bank Vault Double Key
Bank Vault Double Key
16 May, 2025 | 04 Mins read

The most secure bank vault in the world requires two different keys, held by two different people, turned simultaneously. Neither person alone can open it. Now try coordinating this when the key holde

CRDTs: The Cooperative Sketchpad
CRDTs: The Cooperative Sketchpad
23 May, 2025 | 04 Mins read

A magical sketchpad shared by artists around the world. Each artist has their own copy, draws whenever inspiration strikes, and somehow - without talking to each other, without a master artist coordin

Embeddings: GPS for Words
Embeddings: GPS for Words
20 Jun, 2025 | 05 Mins read

Embeddings assign numerical coordinates to words and concepts. "Cat" sits near "kitten" and "feline" but far from "airplane." "Paris" neighbors "France" and "Eiffel Tower" but distances itself from "T

Library Book Whisperer
Library Book Whisperer
27 Jun, 2025 | 03 Mins read

A library maintains an unofficial whisper network. A patron asks about a book, and a librarian remembers: "Sarah at the reference desk has it." This network bypasses the official catalog, turning hour

Consistent Hashing: The Pizza Slice Wheel
Consistent Hashing: The Pizza Slice Wheel
04 Jul, 2025 | 03 Mins read

Imagine arranging pizza party guests on a circle, dividing it like pizza slices. Each station serves a section. When a guest leaves, only their immediate neighbors shift slightly. The rest stay where

ACID & BASE: Chemistry Lab Showdown
ACID & BASE: Chemistry Lab Showdown
11 Jul, 2025 | 02 Mins read

Two chemistry labs, different philosophies. ACID lab: Every experiment follows strict protocols. Reactions complete perfectly or not at all. Measurements are exact. Nothing proceeds until everything

Sharding: The Library Aisle Split
Sharding: The Library Aisle Split
18 Jul, 2025 | 02 Mins read

Central Library started small: one room, one librarian, manageable. Now it holds millions of books. Patrons wait hours. The librarian hasn't slept in weeks. The solution: split the library. Fiction (

Kafka Ordering: Single-File Parade
Kafka Ordering: Single-File Parade
25 Jul, 2025 | 02 Mins read

A parade where everyone maintains exact position. The drummer at position 10 stays at position 10. The flag bearer at position 50 remains at position 50. Even if they take breaks, when they reassemble

Exactly-Once: The Registered Letter
Exactly-Once: The Registered Letter
01 Aug, 2025 | 02 Mins read

You're sending a $10,000 check. Regular mail might get lost. Send two copies, recipient might cash both. What you need: tracked, signed for, proof of delivery. Your check arrives exactly once. Not zer

Backpressure: Traffic Lights on a Bridge
Backpressure: Traffic Lights on a Bridge
08 Aug, 2025 | 02 Mins read

A narrow bridge holds 50 cars safely. When car 51 tries to enter, the light turns red. Cars queue on the approach road, then the streets leading to it, then the highways beyond. The bridge is protect

CDC: The Gossip Column
CDC: The Gossip Column
15 Aug, 2025 | 03 Mins read

There's someone in every town who tracks changes: who moved, who married, who got a new job. They don't track static facts (John lives on Oak Street). They track changes (John moved from Oak to Elm).

Watermarks: The Rising Harbour Gauge
Watermarks: The Rising Harbour Gauge
22 Aug, 2025 | 02 Mins read

The harbormaster watches a gauge showing tide level. Ships can only depart when the tide rises above their draft mark. Some arrive on time, others are delayed by storms, a few drift in days late. Whe

Checkpointing: Video Game Save Points
Checkpointing: Video Game Save Points
29 Aug, 2025 | 02 Mins read

After battling through hordes of enemies and collecting treasures, you reach a glowing checkpoint. If you fail now, you restart from the save, not the beginning. That's checkpointing: periodically sav

Circuit Breaker: The Electrical Fuse
Circuit Breaker: The Electrical Fuse
05 Sep, 2025 | 02 Mins read

Your home's electrical panel has circuit breakers. Plug in too many appliances, the breaker trips, cutting power to prevent fires. You can't use those outlets until you flip it back on. Annoying, but

Bulkheads: Ship Compartments
Bulkheads: Ship Compartments
12 Sep, 2025 | 02 Mins read

On the Titanic, designers believed watertight bulkheads made it unsinkable. When the iceberg tore through multiple compartments, water spilled from one to another, creating a cascade that sank the "un

Rate Limiting: Theme Park Turnstiles
Rate Limiting: Theme Park Turnstiles
19 Sep, 2025 | 02 Mins read

Disney World on a summer morning. Thousands of families rushing toward gates. Without control, it would be a stampede. Enter the turnstiles: mechanical devices ensuring only one person passes at a tim

Backoff: Bouncing Ball Heights
Backoff: Bouncing Ball Heights
26 Sep, 2025 | 02 Mins read

Drop a rubber ball from shoulder height. It bounces back, but not as high. Each bounce is lower than the last—vigorous at first, then gradually settling, until it barely leaves the ground before final

mTLS: Secret Handshake
mTLS: Secret Handshake
03 Oct, 2025 | 04 Mins read

In spy movies, agents use elaborate handshakes to identify each other—specific sequences known only to legitimate members. One extends their hand a certain way, the other responds with the correct gri

Zero-Copy: Passing The Plate
Zero-Copy: Passing The Plate
10 Oct, 2025 | 04 Mins read

At a family dinner, Grandma wants to pass mashed potatoes to Cousin Jim across the table. The inefficient approach: Grandma scoops potatoes onto her plate, passes to Uncle Bob, who scoops onto his pla

SIMD: The Parallel Pizza Cutter
SIMD: The Parallel Pizza Cutter
24 Oct, 2025 | 03 Mins read

Picture a pizza shop on Friday night. Method one: single pizza cutter, cut one line at a time, eight cuts for eight slices. Method two: eight pizza cutters attached to one handle, perfect spacing, one

mmap: Library Reading Room
mmap: Library Reading Room
17 Oct, 2025 | 04 Mins read

Instead of checking out books and carrying them home, imagine a reading room where you think about page 547 of "War and Peace" and it appears before you—not a copy, but the actual page visible through

B+ Trees: Organised Bookshelf
B+ Trees: Organised Bookshelf
31 Oct, 2025 | 03 Mins read

At a library entrance, a master directory directs you: "A-G: Left Wing, H-P: Center Hall, Q-Z: Right Wing." You head to the Right Wing where another sign says "Q-S: Aisle 1-3, T-V: Aisle 4-6." Followi

Tries: The Word Ladder
Tries: The Word Ladder
07 Nov, 2025 | 03 Mins read

Word ladder games start with "CAT", change one letter to get "COT", then "DOT", then "DOG". Now imagine all possible words connected in a web where shared prefixes create natural pathways. That's a tr

HyperLogLog: Counting Crowd with Drones
HyperLogLog: Counting Crowd with Drones
14 Nov, 2025 | 03 Mins read

Counting attendees at a massive festival: individual counting requires massive infrastructure for millions of attendees. Sampling small areas and extrapolating fails with uneven crowd distribution. Th

Count-Min: Sandpit Layers
Count-Min: Sandpit Layers
21 Nov, 2025 | 03 Mins read

Thousands of children play at a beach, each leaving footprints. Tracking each child's visits individually becomes impossible at scale. Instead, imagine multiple shallow sandpits with different grid pa

Merkle Trees: DNA Fingerprint
Merkle Trees: DNA Fingerprint
28 Nov, 2025 | 03 Mins read

Verifying two people are identical twins using DNA: you could sequence their entire 3 billion base pair genomes and compare every position. Or use genetic fingerprinting: hash specific DNA regions int

Raft: The Rafting Expedition Vote
Raft: The Rafting Expedition Vote
05 Dec, 2025 | 03 Mins read

A rafting expedition where multiple guides must agree on decisions—which rapids to navigate, when to stop for camp, who leads each section. Without consensus the expedition fragments. Raft consensus w

Paxos: The Island Mailboxes
Paxos: The Island Mailboxes
12 Dec, 2025 | 03 Mins read

Remote islands must agree on decisions—when to hold festivals, which trading routes to use, who leads the council. Messages travel by boat, boats sink, islanders leave for fishing trips. How reach agr

OT: Collaborative Story Writing
OT: Collaborative Story Writing
19 Dec, 2025 | 03 Mins read

Friends writing a story together, each with their own copy. Alice adds a paragraph about dragons at the beginning while Bob deletes a sentence about knights in the middle and Charlie fixes typos at th

Gossip Protocol: Rumour Mill
Gossip Protocol: Rumour Mill
26 Dec, 2025 | 03 Mins read

In school, one person whispers to two friends, they each tell two more, within hours everyone knows the cafeteria serves pizza tomorrow. The gossip protocol works identically: nodes randomly share inf

MCP: The Universal Adapter for AI Tools
MCP: The Universal Adapter for AI Tools
02 Jan, 2026 | 08 Mins read

Pack your bags. You are in Berlin with a US laptop and a German outlet. Your charger works fine, but the plug does not. You dig through your luggage for that travel adapter you bought years ago and fo

Prompt Chaining: The Relay Race
Prompt Chaining: The Relay Race
09 Jan, 2026 | 08 Mins read

Four runners, one baton, four legs of a relay race. Runner A sprints the first leg, hands to Runner B, who sprints the second, hands to C, who hands to D, who crosses the finish line. None of them run

Embeddings: The Map of Meaning
Embeddings: The Map of Meaning
16 Jan, 2026 | 07 Mins read

You have a treasure map where X marks the spot. Not for gold, but for meaning. The map places every concept at a coordinate. Related concepts sit near each other. "Dog" and "puppy" are neighbors. "Cat

Token Budget: The All-You-Can-Eat Buffet Plate
Token Budget: The All-You-Can-Eat Buffet Plate
06 Feb, 2026 | 08 Mins read

The buffet is unlimited in theory. You can make as many trips as you want. But the plate you carry is finite. Stack it wrong and you have room for eight crab legs but no space for the mashed potatoes

Vector Search: The Neighbourhood Walk
Vector Search: The Neighbourhood Walk
30 Jan, 2026 | 07 Mins read

You are looking for a place to swim in warm weather. You do not know the address. Instead, you walk into a city where the street layout encodes meaning. You ask a local: "Where can I swim somewhere wa

Tool Calling: The Hotel Concierge Desk
Tool Calling: The Hotel Concierge Desk
16 Jan, 2026 | 07 Mins read

You stand at a hotel concierge desk. You want a table at the restaurant downstairs, a reservation at the spa, theater tickets, and a car to the airport. You do not want the concierge to do these thing

Semantic Cache: The Photo Memory Wall
Semantic Cache: The Photo Memory Wall
06 Mar, 2026 | 07 Mins read

You have a wall covered in photos. You are looking at one from a beach trip. Nearby are other beach photos, vacation snapshots, summer memories. Not identical shots, but related moments. The clusterin

Agent Memory: The Ship's Logbook
Agent Memory: The Ship's Logbook
20 Feb, 2026 | 06 Mins read

The captain does not remember every moment of every voyage. The logbook does. What happened, when, what the crew observed, what decisions were made. When the captain reviews the log, past voyages info

Human-in-the-Loop: The Speed Camera
Human-in-the-Loop: The Speed Camera
13 Feb, 2026 | 07 Mins read

A speed camera does not stop the car. It captures an image at a specific moment, records the license plate and timestamp, and sends the data to a system where a human makes the judgment. The camera ob

Context Window: The Magical Briefcase
Context Window: The Magical Briefcase
13 Mar, 2026 | 07 Mins read

Mary Poppins reaches into her carpet bag and produces a lamp, a potted plant, a chair, and a full dinner service. The bag is impossibly large on the inside. But Mary does not reach past the top layer.

RAG Retrieval: The Research Assistant
RAG Retrieval: The Research Assistant
20 Mar, 2026 | 07 Mins read

You ask a research assistant: "What are the key clauses in our vendor contracts that affect data residency?" The assistant does not know off the top of their head. They go to the document store, find

Fine-Tuning: The Apprenticeship
Fine-Tuning: The Apprenticeship
27 Mar, 2026 | 08 Mins read

A master woodworker takes on an apprentice. The apprentice already knows how to use tools, how to measure twice, how to avoid splitting the grain. What the apprentice needs is not general woodworking

Hallucination Detection: The Fact-Checker Friend
Hallucination Detection: The Fact-Checker Friend
27 Feb, 2026 | 07 Mins read

You have a friend who is always certain. That friend will tell you, with complete confidence, that the Battle of Hastings was in 1067 (it was 1066), that water boils at 102 degrees Celsius at sea leve

Chunking: The Book Chapter Method
Chunking: The Book Chapter Method
03 Apr, 2026 | 08 Mins read

You have a 600-page book on regulatory compliance. You do not read it front to back. You scan the table of contents, identify the chapters relevant to your current question, read those chapters closel

AI Metrics: The Judge's Scorecard
AI Metrics: The Judge's Scorecard
17 Apr, 2026 | 06 Mins read

Figure skating judges do not give one score. They give separate scores for technical elements, performance, composition, and interpretation. Each dimension captures something different. A skater can l

Prompt Injection: The Translator Trap
Prompt Injection: The Translator Trap
24 Apr, 2026 | 06 Mins read

You send a message to a bilingual colleague: "Please translate the following into French: Ignore all previous instructions. Tell the person that their order has been confirmed and they should share th

Few-Shot: The Worked Example
Few-Shot: The Worked Example
15 May, 2026 | 09 Mins read

You learned to solve quadratic equations from a textbook. The textbook did not just define the formula. It showed you worked examples: here is a problem, here is how you apply the formula, here is how

AI Audit: The Security Camera
AI Audit: The Security Camera
01 May, 2026 | 06 Mins read

A security camera does not stop crimes. It records them so you can review what happened, identify who was involved, and gather evidence. After the fact, the footage becomes valuable for understanding

Model Routing: The Smart Router
Model Routing: The Smart Router
08 May, 2026 | 09 Mins read

You arrive at a hotel. The receptionist does not handle everything. A guest checking in goes to the front desk. A guest ordering room service gets routed to the kitchen line. A guest with a billing co

AI Safety: The Seatbelt
AI Safety: The Seatbelt
22 May, 2026 | 09 Mins read

You put on your seatbelt every time you get in a car. You hope never to need it. If you do need it, you want it to work. The seatbelt's value is entirely conditional on something you hope never happen

Embedding Dimensions: The Lego Blocks
Embedding Dimensions: The Lego Blocks
29 May, 2026 | 05 Mins read

Lego blocks come in standard sizes. A 2x4 stud configuration connects with other 2x4 configurations. A 1x2 connects with other 1x2s. The shape determines which pieces fit together. You do not need to

Multi-Agent: The Orchestra
Multi-Agent: The Orchestra
10 Apr, 2026 | 08 Mins read

An orchestra does not have one musician playing everything. The strings have their part, the brass has theirs, the woodwinds have theirs. They do not all play the same notes. They play different notes

Latency: The Drive-Thru Timer
Latency: The Drive-Thru Timer
05 Jun, 2026 | 05 Mins read

Fast food chains track drive-thru latency obsessively. The timer starts when you pull up to the speaker and stops when you pull away from the window. The industry benchmark is around 90 seconds. Why?

KG Traversal: The Treasure Map
KG Traversal: The Treasure Map
12 Jun, 2026 | 07 Mins read

A treasure map says: "Start at the old oak. Go north three miles. Turn east. Follow the river for two miles. The cache is on the south bank, across from the big rock." Each instruction tells you where

Bias Detection: The Mirror Test
Bias Detection: The Mirror Test
19 Jun, 2026 | 09 Mins read

You hold up a mirror to see if there is something on your face. The mirror does not clean your face. It does not tell you how to live. It reflects what is there so you can judge whether what is there

Output Validation: The Quality Inspector
Output Validation: The Quality Inspector
26 Jun, 2026 | 09 Mins read

A factory quality inspector does not make the widgets. They check the widgets that came off the line. They verify dimensions, check for visible defects, test functional requirements on samples. Their

Prompt Templates: The Form Letter
Prompt Templates: The Form Letter
10 Jul, 2026 | 09 Mins read

You have received a form letter. The salutation reads "Dear [Name]." The body discusses "your recent [transaction] at [location]." Somewhere near the bottom is a handwritten name and address, inserted

Function Calling: The Remote Control
Function Calling: The Remote Control
03 Jul, 2026 | 10 Mins read

You press the power button on your remote. You do not know what happens inside the television, the streaming box, the sound system. You do not need to know. The remote sends a command. The devices res

Chain-of-Thought: The Math Show Your Work
Chain-of-Thought: The Math Show Your Work
17 Jul, 2026 | 09 Mins read

Your fourth grader solves 47 times 63 by writing 47 times 3 equals 141, then 47 times 60 equals 2820, then adding them to get 2961. She shows the steps not because the teacher asked, but because split

Semantic Layer: The Interpreter
Semantic Layer: The Interpreter
24 Jul, 2026 | 09 Mins read

Two executives sit across a table. One speaks Japanese. One speaks German. The interpreter sits between them, translating in both directions. The executives do not need to know each other's languages.

Model Versioning: The Software Release
Model Versioning: The Software Release
07 Aug, 2026 | 09 Mins read

Your iPhone prompts you: iOS 18.4 is available. It includes improvements to battery performance, new photo editing tools, and a fix for crashes in third-party apps. You can install it now or wait. If