
OpenCode Free Usage Limit Reached: Causes and Fixes
OpenCode free usage limit reached means the free model quota is used up. Here is how to confirm it on v1 and v2, why v1 just hangs, and the fixes that worked.

OpenCode free usage limit reached means the free model quota is used up. Here is how to confirm it on v1 and v2, why v1 just hangs, and the fixes that worked.

D1_ERROR: too many SQL variables means one statement binds over 100 values. See the 100 plus 5 arithmetic, a chunking fix, and a db.batch test I ran locally.

Log to D1 with ctx.waitUntil without slowing responses. Measured 306 ms vs 1.7 ms, plus why logs go missing and the Illegal invocation fix. See the code.

Next.js output: export fails with missing generateStaticParams() on dynamic routes. Fix it with a query-param page, tested on Next.js 16.3.5. See the steps.

Vercel patched two critical unauthenticated RCEs in Next.js on August 25, 2026. Here is how to upgrade safely and finally drop unsafe-inline from your CSP.

Cloudflare acquired Astro in January 2026. Astro 6 is the first release of that edge-first era. Here is what changed when I upgraded my own site from v5.
Cookies & privacy
I use Google Analytics to understand traffic and Google AdSense to show ads. Both only set cookies after you accept. Privacy Policy