Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 0 ๐Ÿ“– 4 min read

Your Relay Passed the Short Test. Now Run the 200k-Token One

Your Relay Passed the Short Test. Now Run the 200k-Token One Most relay tests are short. A prompt goes in, a good answer comes out, the price looks right, and everyone declares the relay "full quality." This week a dev

Your Relay Passed the Short Test. Now Run the 200k-Token One

Most relay tests are short. A prompt goes in, a good answer comes out, the price looks right, and everyone declares the relay "full quality." This week a developer forum post showed why that test is not enough โ€” and gave away the method that catches what short tests miss.

The test that broke at 200,000 tokens

On November 24, a user on linux.do posted a long-context test of a Claude Max pool relay he did not name. The method is simple enough to steal: build a long document out of chapters of about 20,000 tokens each, bury a six-digit ID in the middle of every chapter, then ask the model to recall the IDs as the conversation grows.

Below 200,000 tokens, everything was perfect. Ten rounds, 19k to 194k tokens, 10 out of 10 IDs recalled. Tokenizer fingerprints, knowledge questions, reasoning and coding tasks, tool calls, image recognition โ€” all correct, at 80 tokens per second.

Then it broke. Round 11, just past 200,000 tokens, started failing. Rounds 11 to 20 got 8 out of 10 wrong. And the single big request was worse: one message of about 291,000 tokens, and the model could only list 7 of the 15 chapter IDs. Chapters 4 through 11 had vanished entirely. Chapter 3 cut off mid-sentence, and a "[โ€ฆ]" that was never in the original text had been inserted. The billing still charged the full 291,054 tokens โ€” about 166,000 of them, roughly 60% of the fee, paid for content the model never received.

That is the part short tests cannot see. A relay can be flawless at 10,000 tokens and quietly drop the middle of your context at 200,000 โ€” and still bill you for all of it.

The billing numbers did not add up either

The same post found three billing anomalies worth checking on any relay, not just this one:

  • A cache number that cannot be real. At round 10 the context was 194,053 tokens. At round 11 the reported cache_read_input_tokens was 194,049 โ€” almost exactly the previous round's full total. The author's argument: Anthropic's cache is isolated per model and account, and changing anything in the middle of the prefix invalidates it, so that number could not have come from Anthropic. It looks made up by the relay.
  • Cache pricing charged without cache. A request sent with no cache_control was still billed at the cache-write price โ€” 1.25ร— the input price.
  • Input tokens that doubled. A request with a 90-token prompt and about 19,000 output tokens was reported as 25,254 / 25,256 input tokens. Roughly double the real input.

None of these proves intent. The author is careful about that: he says he cannot tell whether the relay or its upstream provider dropped the content. But the pattern โ€” stable billing multipliers, about 1.40ร— official per dollar, across every stage โ€” is what made him call it systematic rather than random.

How to run the same test yourself

You do not need his script. You need the same shape of test:

1. A fixed long document. Take a real long file โ€” a codebase, a book, a set of meeting notes โ€” and split it into chapters of known size. Bury a unique marker in the middle of each chapter: a random ID, a made-up name, a number that appears nowhere else.

2. Grow the context in steps. Feed the chapters in one conversation, and after each step ask for all the markers so far. Record where recall first fails. A relay that is honest at 50k and broken at 200k will show you exactly where the cliff is.

3. Reconcile billed tokens against sent tokens. Save the token counts you actually sent. Then compare them with what the relay's usage page reports: input tokens, cache reads, cache writes. If the billed number is consistently higher than what you sent, or a cache-read number is suspiciously close to the previous round's total, ask for an explanation โ€” in public, where the answer is on the record.

4. Publish the method and the result. The test only becomes trust when someone else can rerun it. Post the document structure, the markers, the recall scores per round, and the billing comparison. The original post also links an open-source single-file script, relay-bench, that automates the same shape of test; the linux.do thread is the place to find it.

One honest caveat

The author of that post runs a relay himself โ€” CoreCode โ€” and his own service's self-test is in the same thread, with his own numbers. Treat the method as the takeaway, not his verdict on any named competitor: nobody has independently replicated his results yet, and he did not name the pool he tested. The reason the post earned 71 likes and comments calling it "professional" is not that his numbers are proven. It is that he published a method anyone can rerun, admitted his own service's weak spots, and let readers check instead of asking them to believe.

That is now the bar. A relay that publishes a long-context recall test and a billed-versus-sent token reconciliation is making a checkable claim. A relay that only repeats "no downgrade" is making a slogan. Run the 200k test before your next top-up โ€” and if a relay cannot tell you how to verify it, that tells you everything too.

The cost check, once quality is settled, is the easy part: Claude Fable 5.2 at $1.99/$9.94 per 1M tokens against the official $8/$40 โ€” about a quarter of the official price, verified on the pricing page today โ€” is arithmetic you can repeat next week to see whether it moved. A price that is published, dated, and stable is worth more than a headline multiple nobody can reproduce.

โ€” Davis George ยท zhuan.xyz

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.