Urgent.News

What's breaking now, across thousands of outlets.

Tech

Why Pay for the Smartest Model Every Time?

Originally published on wrightfunctions.com , where the demos are live. A restaurant doesn't send every order to the head chef. Toast goes to the line cook. The head chef gets the dish that can go wrong. Plenty of AI apps do the opposite: every request, from "what's your refund policy?" to a thorny legal question, goes to the same big, expensive model. The price gap is large. As of September…

The pricing structure of large language models can be significantly reduced using intelligent routing, cascading, distillation, and caching. Instead of directing every request to the most powerful and expensive model, these strategies route requests based on confidence levels, escalating only the most difficult questions to the priciest model.

For instance, a small, fast model can determine whether a query is suitable for the more affordable Claude Haiku 4.5, or if it needs to be escalated to the pricier Claude Fable 5.1. This approach reduces costs by up to 85% on one benchmark while maintaining 95% of GPT-4's quality. Distillation involves training a smaller model on the outputs of a larger model, making it faster and cheaper to use.

Caching stores previous answers and serves them again when a similar question is asked, saving significant costs on repetitive requests. All these methods require rigorous measurements and testing to ensure quality remains intact. By implementing these strategies, you can avoid overpaying for the smartest model every time.

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

zk-barter: Exploring Zero-Knowledge Proofs for Trustless Digital Barter | Rushidev Ukalkar

How can two people exchange digital assets without either party having to trust the other to go first? That's the problem I'm exploring with zk-barter , a research project involving Solidity smart…

  • zk-barter project aims to enable trustless digital asset exchanges.
  • Utilizes zero-knowledge proofs (Groth16) and cryptographic commitments (libsnark).
  • Project is early-stage, not production-ready or independently audited.

Updating Rustup 1.29.3 while keeping the compiler fixed

The toolchain manager and the compiler have separate version numbers. I updated an isolated Rustup installation from 1.29.2 to 1.29.3 , kept its linked compiler at 1.99.1 , then compiled and ran a…

  • Rustup updated to version 1.29.3
  • Compiler version fixed at 1.99.1
  • Two regression fixes in 1.29.3

Two coroutines, one journal: a Restate restart demo

Both preparation steps had finished when I stopped the Node process. The Restate server stayed running. After I started the service again, the pending invocation returned ["A", "B"] , and the…

  • Two coroutines, prepare-a and prepare-b, each with generator-based steps
  • Interruption occurred mid-process, file verified executed effects
  • Service implemented in service.mjs with dependencies @restatedev/restate-sdk

Introduction to Graph Databases for Knowledge Graphs

Introduction Graph databases are specialized database management systems that store and manage data as interconnected nodes and relationships.

  • Graph databases store data as interconnected nodes and relationships
  • Knowledge graphs represent complex real-world domains
  • Neo4j demonstrates creating a movie recommendation knowledge graph

More from Wednesday 4 November →