◉CLAUDE LABJP
●CC 2.1.332 — No new Claude Code release over the weekend. 2.1.332 (11/25) is still current●ANALYTICS — A fix to search counts in the Enterprise Analytics API may raise numbers from 11/17 onward●SONNET 4.5 — Today, 11/30, is Sonnet 4.5's last day on the Claude API. Move to claude-sonnet-5-5●USAGE — Some users report weekly usage jumping right after upgrading to a higher plan●NEW — New: Does what a Project remembers carry over into your everyday chats?●BILLING — More readers are looking for what to check when a payment won't go through●CC 2.1.332 — No new Claude Code release over the weekend. 2.1.332 (11/25) is still current●ANALYTICS — A fix to search counts in the Enterprise Analytics API may raise numbers from 11/17 onward●SONNET 4.5 — Today, 11/30, is Sonnet 4.5's last day on the Claude API. Move to claude-sonnet-5-5●USAGE — Some users report weekly usage jumping right after upgrading to a higher plan●NEW — New: Does what a Project remembers carry over into your everyday chats?●BILLING — More readers are looking for what to check when a payment won't go through
TAG

Cloudflare Workers

17 articles
← Back to all tags
Related:
Claude Code7Next.js6Stripe5Claude API5SaaS4production3troubleshooting2Webhook2MDX1Operations1SSE1streaming1
⟐ Claude Code/2026-10-22Advanced

I Recounted the Bytes: Why Keeping Article Bodies Out of My Worker Bundle Still Holds Up at About 900 Articles

On my own Next.js site running on Cloudflare Workers, I recounted the bytes of a bundle that carries article bodies versus one with metadata only. Here are the headroom, a breakdown I had not expected, and a script that keeps counting.

⟐ Claude Code/2026-08-19Intermediate

Fixing the Code Doesn't Evict a Broken Page From the Edge Cache

I shipped a fix and the broken page kept serving. The problem was not the code but the edge cache, which had stored a broken HTML response because the store decision looked only at the status code. Here is the integrity guard I now run before every cache write, and the thresholds I had to tune in production.

⬡ API & SDK/2026-08-15Intermediate

The Connection That Dies Mid-Thought Is Being Killed by Your Relay, Not the Upstream

Put a proxy or Worker in front of Claude Code and long thinking pauses start dying. The cause is neither the model nor the upstream — it is your relay holding the byte stream. Six relay behaviors compared side by side, plus how to verify yours before it ships.

⟐ Claude Code/2026-05-03Advanced

Claude × Stripe Meter Events — Building a Usage-Based SaaS

Billing Claude API tokens through Stripe Meter Events: counting cache tokens correctly, the 24-hour identifier dedup window, why caps belong in a Durable Object rather than KV, cancellations, and daily reconciliation — checked against official docs as of November 2026.

⬡ API & SDK/2026-07-04Advanced

Reading the Claude apps gateway Announcement, I Rebuilt My Indie-Scale Control Plane

The self-hosted Claude apps gateway is a control-plane/data-plane separation you can scale down. Per-app cost attribution, model allowlists, and fail-closed spend caps, implemented as a small Cloudflare Workers proxy.

⬡ API & SDK/2026-06-20Advanced

Putting Cloudflare AI Gateway in Front of Claude Made the Numbers I Needed Disappear — Field Notes on Instrumentation

After putting Cloudflare AI Gateway in front of Claude API, here is where I actually got stung — cost attribution, semantic-cache false hits, fallback quietly lowering quality, and budgets that don't really stop anything — with the code I used to fix each.

⟐ Claude Code/2026-06-17Intermediate

It Says '500' in the Browser but curl Returns 200 — When a Next.js Error Boundary Misreads a ChunkLoadError

A production Next.js article page shows '500 Internal Server Error' in the browser, yet curl returns 200. The culprit was not the server but a ChunkLoadError surfacing through error.tsx. Here is the diagnosis and a fix with built-in auto-reload.

⟐ Claude Code/2026-05-28Advanced

The Morning I Hit Cloudflare Workers' 62 MiB Limit, and the Content Split Architecture I Rebuilt for 5,000 Articles

One morning, an indie developer running 4 AI tech blogs on Cloudflare Workers + Next.js woke up to a deployment that had stopped because articles.json grew large enough to push the Worker bundle past the 62 MiB limit. This is the concrete implementation walkthrough of splitting metadata from HTML, with the build-time and bundle-size numbers observed across the first month.

⬡ API & SDK/2026-05-04Advanced

Building Stateful AI Agents with Cloudflare Durable Objects and Claude API — Session Management, Context Persistence, and Scale-Out Design

A complete production guide for building stateful AI agents using Cloudflare Durable Objects and Claude API. Covers session management, context persistence, compaction strategies, and scale-out design with fully working code examples.

⬡ API & SDK/2026-05-03Advanced

Building a Subscription SaaS with Claude API and Stripe — A Complete 2026 Implementation Guide

An end-to-end implementation guide for shipping a subscription SaaS built on Claude API, Stripe, and Cloudflare Workers — covering checkout, webhooks, KV-backed access control, usage limits, and the production edge cases that always bite.

⟐ Claude Code/2026-04-21Advanced

Running Next.js on Cloudflare Workers in Production with Claude Code — Every Build Crisis, Cache Bug, and Automation Pattern We Solved

Running Next.js on Cloudflare Workers is not the same as Vercel. The 62 MiB bundle limit, ASSETS binding quirks, and edge cache personalization conflicts are real production hazards. Here's how Claude Code helped us solve each one.

⟐ Claude Code/2026-04-20Advanced

Building a Stripe Subscription SaaS with Claude Code: Webhooks, Auth, and Production Pitfalls

Shipping a Stripe subscription SaaS with Claude Code on Cloudflare Workers: Webhook verification, KV + Cookie auth, and a cookie regex that failed silently.