From a senior to future senior Hackers

Cheap Open-Weight Models Don't Cut Agent Costs Without Unit-Economics Routing
Featured

Cheap Open-Weight Models Don't Cut Agent Costs Without Unit-Economics Routing

Cheap open-weight releases like DeepSeek V4.1 Flash only lower agent costs when you route requests by true unit economics—cost per token, GPU utilization, and power—rather than by headline price per million tokens alone.

pr0h0•
inference-economicsllm-routingopen-weight-modelstoken-budgetsai-infrastructure

Latest Posts

View all posts →

Latest Videos

View all videos →
TypeScript 7.1 Beta Restores the Compiler API: What Transformer and Lint-Rule Authors Get Back

TypeScript 7.1 Beta Restores the Compiler API: What Transformer and Lint-Rule Authors Get Back

TypeScript 7.1 Beta is reported to restore the Compiler API and to make Vue and Svelte first-class. Those are two very different claims, and they need different evidence. The compiler API is really four layers: the type checker, the transform pipeline, the emitter, and the language service host. A restored API could mean any subset of those, and the report doesn't say which. That's why this short focuses on how you find out for yourself. Regressions in that surface fail quietly. A transformer that gets a factory call wrong doesn't throw, it emits the wrong argument in the wrong slot and the build stays green. A typed lint rule that loses its program takes an early return and reports zero violations, which looks exactly like a clean codebase. You'll see the canary transformer built against the beta that strips console calls, why you use context.factory rather than the module-level ts.factory inside a transform, and why ts.visitNode can return undefined and needs a fallback. Then the two contracts worth testing separately: a surface test that fails at startup when a symbol moves, and a behavioural test that fails at the assertion when a transform was silently ignored. Full write-up: https://hackyjs.com/posts/typescript-71-beta-restores-the-compiler-api-what-transformer-and-lint-rule-authors-get-back The source material is a single report with a headline and a summary, so treat the exact version string, the deprecations, and what first-class means for .vue and .svelte files as things to reproduce in your own repo. Peer ranges and overrides are the first place a mismatch hides.

typescriptcompiler-apivue
ERNIE 5.5 Flash Base at 1M tokens: separating FLOPs from KV-cache bandwidth

ERNIE 5.5 Flash Base at 1M tokens: separating FLOPs from KV-cache bandwidth

ERNIE 5.5 Flash Base is a 280B-parameter mixture of experts with 14B active parameters per token and a stated 1M-token context window. This walkthrough separates two costs that get conflated: the FLOPs per token that sparse activation reduces, and the KV-cache traffic it doesn't. Running the arithmetic, attention work overtakes the linear 2 x active x tokens term at roughly 10,700 prompt tokens and reaches about 93x it at 1M, or roughly 14 minutes of one 8xH100 node at 40% MFU under full quadratic attention. Cache bytes per token depend on layer count, KV heads, head dim and dtype, none of which are published, so the planning range spans 16x: from 305 GiB down to 19 GiB of working set at 1M tokens. Every number in the post is computed from stated parameters plus flagged assumptions. There is no measured benchmark yet, and the post says so. Full write-up: https://hackyjs.com/posts/benchmarking-ernie-55-flash-base-separating-per-token-flops-from-kv-cache-bandwidth-at-1m-context

ernie-5-5moe-inferencekv-cache
Tested Failover for JavaScript Deploys When Vercel Goes Down

Tested Failover for JavaScript Deploys When Vercel Goes Down

A user-report aggregation on 5 November 2026 described Vercel disruptions across the dashboard, login, deploy pipeline, hosting and API. Whatever the root cause turns out to be, the part you control is whether your build can ship somewhere else. This short walks through the position the post takes: the second deployment target isn't the deliverable, the portable build artifact is. One artifact pushed to a bucket neither platform owns, both targets pulling the same bytes, and a switch you rehearse on a schedule instead of during an incident. Full write-up, including the dependency map, the failover contract and the rehearsal checklist: https://hackyjs.com/posts/designing-a-tested-failover-path-for-javascript-deploys-when-vercel-goes-down

verceldeploymentfailover