cd /news/artificial-intelligence/claude-s-text-watermark-uses-secret-… · home › topics › artificial-intelligence › article
[ARTICLE · art-119491] src=arpitbhayani.me ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Claude's Text Watermark Uses Secret Keys To Derive Randomness

Anthropic has detailed how its Claude AI model embeds a text watermark by deriving randomness from a secret key combined with preceding tokens, enabling detection of AI-generated text. The method exploits near-tied token probabilities, where the choice appears random to users but can be verified by key holders to confirm Claude's authorship.

read1 min views20 publishedAug 15, 2026
Claude's Text Watermark Uses Secret Keys To Derive Randomness
Image: Arpitbhayani (auto-discovered)

Anthropic just explained how Claude’s text watermark works, and the approach is pretty neat. Here is how it works…

When Claude announced this, I was super keen to understand how they would implement this, especially for text. Images are pretty straightforward to watermark, but text was an interesting problem.

Every time an LLM generates a token, it is choosing from a probability distribution. Often, several candidates are nearly tied. For example…

“The weather today was cold and…” could just as easily continue with “overcast” or “grey”. Neither is more correct. Normally, a plain random number generator breaks that tie.

The watermark changes only one thing - where that randomness comes from.

Instead of an arbitrary random number, the model derives its random value from a secret key plus the tokens that came right before. The token picked still looks like an ordinary random choice to us.

But anyone holding the key can replay that same derivation on a piece of text and check whether the sequence of choices matches what the key would produce. The better the match, the higher the probability that Claude wrote it.

Pretty neat.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/claude-s-text-waterm…] indexed:0 read:1min 2026-08-15 · —