Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your Free Lane Is Cheap Until Rework Tax Beats the Token Bill

Your Free Lane Is Cheap Until Rework Tax Beats the Token Bill A nightly batch finished at 02:40 instead of 23:10. The token invoice still read zero. Nobody shipped anything extra that night. That is the trap in free capacity. Price is a line item. Rework is a schedule item. This post builds a small gate around the second one. You will get a ledger, a formula, thresholds, a failure drill, and a…

Free capacity can seem inexpensive at first, but hidden costs can quickly add up. This article breaks down the four main expenses that appear when a free lane turns into an expensive one.

First, queue wait time from submission to when work actually begins. This is measured as the 95th percentile of time between submitting a job and starting its execution.

Second, retry inflation due to failed attempts. This counts how many times a job is retried before ultimately succeeding. More retries mean more attempts, which increases costs.

Third, repair time for changes that required human intervention or a second pass. This includes the minutes spent merging, editing, or rolling back accepted changes.

Finally, rollback time for batches that failed. This measures the minutes spent reverting failed runs after deployment.

To properly track these costs, the article suggests logging accepted changes instead of just requests. It recommends defining three terminal states for each run: accepted (merged without edits), repaired (merged after edits), and rejected (discarded or rolled back).

An SQLite database is proposed as a simple way to create an append-only ledger tracking run IDs, lane type, submission and completion times, number of attempts, tokens used, and the repair and rollback times. The provided Python script demonstrates how to connect to the database, start runs, record attempts, and close runs with their status and associated time costs.

By focusing on the accepted changes and logging the associated time costs, teams can gain a clearer picture of the true expenses associated with free capacity, rather than just seeing a zero invoice.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Selecting an Open-Source DB for Financial Time Series

Choosing Your Data Engine: More Than Just Code When your algorithms depend on processing high-frequency data streams, or when you're building ML models that need fast access to vast historical…

  • QuestDB excels in raw speed and simplicity for time-series data ingestion and basic SQL queries
  • TimescaleDB offers PostgreSQL ecosystem and pgvector extension for advanced AI capabilities
  • CrateDB provides distributed architecture and native vector search for versatile applications

Six Serving Engines, One 8 GB GPU: Gemma 4 E2B on an RTX 3050

This article provides a step by step comparison of six inference serving engines on one consumer GPU: llama.cpp, vLLM, SGLang, mistral.rs, a plain PyTorch engine and Google's LiteRT-LM, each serving…

  • vLLM leads in throughput with 1,651 tokens per second
  • SGLang follows with 1,711 tokens per second
  • llama.cpp and mistral.rs achieve lower throughput at 633 and 308 tokens per second

More from Sunday 8 November →