<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: xactum</title>
    <description>The latest articles on DEV Community by xactum (@xactumoracle).</description>
    <link>https://dev.to/xactumoracle</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241585%2F47f378d3-ed8e-4007-8217-e866ddddf752.png</url>
      <title>DEV Community: xactum</title>
      <link>https://dev.to/xactumoracle</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xactumoracle"/>
    <language>en</language>
    <item>
      <title>In Router we trust??</title>
      <dc:creator>xactum</dc:creator>
      <pubDate>Thu, 12 Nov 2026 18:01:28 +0000</pubDate>
      <link>https://dev.to/xactumoracle/in-router-we-trust-1cdb</link>
      <guid>https://dev.to/xactumoracle/in-router-we-trust-1cdb</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnay43yzcadgzvjc3wc27.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnay43yzcadgzvjc3wc27.png" alt=" " width="277" height="147"&gt;&lt;/a&gt;## Catching a silent price inflation in LiteLLM, before it hits your bill&lt;/p&gt;

&lt;p&gt;Most LLM gateways and routers report a price and a model name, and callers trust both. We wanted a cheap, independent tripwire for when either one drifts from what you actually agreed to pay for — without adding a dependency your calls rely on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A LiteLLM &lt;code&gt;CustomLogger&lt;/code&gt; callback with two hooks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pre-call&lt;/strong&gt;: reads the price your proxy is configured to charge for a model, and checks it against an independent reference via XACTUM (api.xactum.com).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post-call&lt;/strong&gt;: checks that the model that actually answered matches the one you were billed for.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;A real run against our production endpoint&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We quoted $3 input / $15 output per million tokens for &lt;code&gt;anthropic/claude-sonnet-5.5&lt;/code&gt;. XACTUM's reference (drawn from 3 independent sources: a facilitator, Anthropic's own list price, and OpenRouter) put it at $2/$10 — a 1.5x gap on every dimension, flagged &lt;code&gt;FLAG_HIGH&lt;/code&gt; with medium confidence. That's exactly the kind of drift that's easy to miss in a config file and expensive to miss in production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Design choices that matter&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Never a proxy.&lt;/strong&gt; XACTUM doesn't see your prompts or route your call. It answers a structured yes/no question about price or model identity — nothing else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fails open.&lt;/strong&gt; If XACTUM is slow or down, the callback logs a warning and your LLM call proceeds untouched. It's a monitor, not a gate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pay-per-check, not a subscription.&lt;/strong&gt; Each paid answer is 0.03 USDC via x402 on Base, paid from your own wallet. Inconclusive answers (not enough reference data yet) are free — and right now, during XACTUM's launch period, every answer is free.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Try it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The callback, plus quickstarts for LangChain, Vercel AI SDK and the OpenAI Agents SDK, are open source (MIT) at github.com/xactum/xactum-client.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>agentaichallenge</category>
      <category>llm</category>
      <category>mcp</category>
    </item>
  </channel>
</rss>
