Watercolor: a scale balancing a price tag on one side and a cache symbol on the other, representing the trade-off between cost and efficiency

Day 9: API Caching Basics and Why Unit Price Isn't the Whole Story

This is Day 9 of Week 2 in the “AI Path L1→L2 Upgrade Guide.” You should have completed Day 7 Exercise: Add Error Handling to Your Script first. Day 7 added error handling to your script, so it’s resilient now. But there’s a bigger cost factor you might have missed: the API provider you picked could cost a lot more than you think. DeepSeek V4-Pro charges $0.435 per million input tokens. OpenAI GPT-5.5 charges $5.00. That’s roughly an 11.5x difference. Factor in caching and the gap widens further. ...

2026-06-30 · 7 min · Alex Wang
Watercolor: chat bubbles dissolving into a token stream flowing into a notebook and brass key on a desk

AI Path L1→L2 Upgrade Guide (1): Your First API Call

TL;DR: This is Part 1 of the “AI Path L1→L2 Upgrade Guide” series. Four parts total, one per week of practice. This article takes you from chat windows to APIs, automating your AI interactions through code, laying the foundation for batch processing and autonomous task-execution AI. Introduction: From “I Ask AI” to “Programs Ask AI” If you finished the L0→L1 graduation checklist, you might remember one line from the graduation post: “Register for an API account and use Python to print your first AI reply.” Today is that day. ...

2026-06-01 · 12 min · Alex Wang