SShortSingh.
Back to feed

Price per 1M tokens is meaningless

0
·1 views

Article URL: https://janilowski.pl/en/blog/2026/price-per-m-tokens/ Comments URL: https://news.ycombinator.com/item?id=48809542 Points: 4 # Comments: 0

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer builds Rust crate 'pinray' for cross-platform screen and audio capture

A developer released pinray, an open-source Rust crate designed to provide cross-platform screen and system audio capture without relying on large frameworks like ffmpeg. The project was created after the author found existing options — scap, xcap, and waycap-rs — each had significant drawbacks, including poor frame metadata, lack of maintenance, or limited platform support. Pinray communicates directly with native OS capture APIs on Linux (Wayland and X11), macOS 12.3+, and Windows 10+, delivering raw video and audio frames with metadata such as timestamps, pixel format, stride, and dropped-frame notifications. The crate exposes a single unified API across all supported platforms, while deliberately leaving encoding out of scope so output can be piped to tools like ffmpeg, WebRTC, or wgpu. The project is publicly available on GitHub under the repository Itz-Agasta/pinray.

0
ProgrammingDEV Community ·

VEQRA AI Uses Three Specialized Agents to Resolve Enterprise Incidents in 13 Seconds

A developer has extended VEQRA, an existing Microsoft 365 incident management platform, with an AI layer called VEQRA AI, built during the Qwen Cloud Global AI Hackathon. The system deploys three sequential agents — Memory, BI, and Action — to identify root causes, assess financial impact, and generate a structured response plan without human intervention. All three agents run on Alibaba Cloud's Qwen3-235B model via a DashScope API endpoint compatible with OpenAI's interface. In a demo scenario, a critical overdue leasing contract worth €120,000 was fully resolved within 13 seconds through coordinated JSON-based agent communication. The developer cited consistent structured output generation across agents as the primary engineering challenge, which was addressed through careful prompt design.

0
ProgrammingDEV Community ·

Laravel Soft Deletes: Mark Records as Deleted Without Removing Them

Laravel's Soft Delete feature allows developers to mark database records as deleted without permanently removing them, by populating a deleted_at timestamp column instead of executing a true DELETE query. Adding the softDeletes() column to a migration and applying the SoftDeletes trait to a model is all it takes to enable the feature. Once active, standard queries automatically exclude soft-deleted records, while methods like withTrashed() and onlyTrashed() let developers retrieve them when needed, and restore() brings any record back instantly. The approach is especially useful for audit trails, trash/recovery screens, and compliance requirements in sectors like finance and law. Developers must handle edge cases such as unique index conflicts and relationship queries, both of which require explicit use of whereNull('deleted_at') or withTrashed() to behave correctly.

0
ProgrammingDEV Community ·

Developer shares method to replicate Claude's Fable 5 behavior in Opus and Sonnet

A developer published a guide on DEV Community explaining how to preserve output quality after Claude's Fable 5 model loses subscription access on July 7. The author had been using Fable 5 as an orchestrator to scope, plan, and review tasks, while cheaper models like Opus and Sonnet handled implementation and testing. After observing that most quality gaps between Fable 5 and other models stemmed from missing explicit procedures rather than knowledge deficits, the developer documented Fable 5's implicit working methods as transferable skill files. The approach focuses on concrete, step-by-step instructions rather than vague directives like 'be careful' or 'follow best practices,' which were found to have no measurable effect on model behavior. The goal is to raise Opus and Sonnet's operational discipline so that overall output quality holds even without Fable 5 in the orchestrator role.

Price per 1M tokens is meaningless · ShortSingh