Claude now watermarks text from every current model. Here is what that means for the code your agents write

As of this week, Anthropic lists every current Claude model as watermarking its text, in the API, Claude Code, and on Bedrock, Google Cloud, and Foundry. Code carries less of the mark than prose, and comments carry more. Detection is limited to a private preview. If you need the mark, check your sampling settings.

On this page
  1. What changed
  2. How the watermark works
  3. What gets marked in code
  4. Which models mark, and the sampling catch
  5. Files get C2PA credentials instead
  6. Who can check for it
  7. What to tell clients and your team
  8. Verdict
  9. Sources

This page is built from Anthropic's own documents: the help center article "How Claude marks AI-generated content" (marked "Updated this week" when we read it on November 29, 2026), the API guide "Text watermark", the platform release notes, and Anthropic's August explainer "How Claude's text watermarking works". We have no access to the detector, so nothing here is tested against it.

What changed

Anthropic signed the EU's Code of Practice on Transparency of AI-Generated Content in July 2026, one of about 190 signatories, and the EU AI Act's marking rule for generated content applies from August 2, 2026. Models launched after that date shipped with the watermark. Older models had a transition period, and Anthropic has spent November retrofitting them.

  • November 3: Claude Mythos 5, Opus 4.7, and Sonnet 4.6 started carrying the text watermark, per the release notes.
  • November 16: Opus 4.6, Opus 4.5, Sonnet 4.5, and Haiku 4.5 followed.
  • This week: the help center table lists every model from Haiku 4.5 to Fable 5.2 with a check in every column, plus Opus 3 on first-party surfaces.

Anthropic applies it worldwide, not only in the EU. Its explainer says that's "because we don't yet have a durable way to scope it by region." The help article names the products: the Claude API, the Claude apps, Claude Code, Cowork, and Claude Tag, plus Claude on AWS, Google Cloud, and Microsoft Foundry.

How the watermark works

The method is a version of Google DeepMind's SynthID-Text, published in Nature in 2024. When several next tokens are about equally good, a model normally breaks the tie with a random number. With the watermark, a secret key plus the preceding few tokens supply that randomness instead. Anyone holding the key can check whether a sequence of choices matches it.

Anthropic's explainer lists what that does and doesn't mean for API users:

  • No hidden characters, zero-width spaces, or extra tokens. Price and speed don't change.
  • The mark carries no information about you, your organization, or the conversation.
  • You "don't need to change your requests or response handling," per the API guide.
  • It doesn't change who owns the output or your rights under Anthropic's terms.

That first point matters for anyone who has been grepping output for Unicode tricks. There is nothing to strip, because nothing was added. The signal lives in which words were picked.

What gets marked in code

The watermark only acts where the choice is free. Anthropic's example is "2 + 2 =": there is one right next token, so the watermark doesn't touch it. Code is mostly like that. A method name, a closing brace, or an import path has to be exact or the build breaks, so Anthropic says code "has generally less watermarking than some other forms of text."

The free choices in a codebase are mostly prose. Anthropic names comments explicitly, and the same logic covers everything around the code that Claude writes in its own words:

Output from a coding agentRoom for the watermarkWhy
Identifiers, syntax, API calls, importsLittleExact tokens; a different choice breaks the code
Code comments and docstringsMoreNamed by Anthropic as a place the mark can live
Commit messages, PR descriptions, READMEs, docsMostOrdinary prose, our reading of how the method works
A light edit of your own code or textLittleOnly the words Claude chose can carry it
A translation or full rewrite by ClaudeFullClaude picked every word

Length matters too. Anthropic says detection "doesn't work well on small samples," and that factual passages carry a sparser mark. A one-line fix, or a function that is mostly exact logic, gives a detector very little to go on. A long agent-written design doc gives it a lot.

If you hand-edit Claude's comments and commit messages before they ship, you're also editing the signal. Anthropic says light editing "probably won't remove the watermark completely," and a complete rewrite will.

Which models mark, and the sampling catch

Six older models have a caveat in the help center table: their output "may not reliably carry the text watermark" when a request sets temperature, top_p, or top_k to a non-default value.

Model groupText watermarkSampling caveat
Fable 5, 5.1, 5.2; Mythos 5, 5.1, 5.2Yes, all surfacesNo
Opus 5.5, 5, 4.8, 4.7; Sonnet 5.5, 5; Haiku 5.5Yes, all surfacesNo
Opus 4.6, 4.5; Sonnet 4.6, 4.5; Haiku 4.5Yes, all surfacesYes
Opus 3Yes, first-party surfacesYes

This matters if you are building something that has to mark its output, for example a product with its own Article 50 obligations. The API guide says to omit all three parameters on those models, and warns that "your framework or client library might set these parameters for you."

The quick check is to log one outgoing request body and look for the three keys. With the Anthropic Python SDK, for instance, a request like this leaves sampling at the model's defaults:

import anthropic

client = anthropic.Anthropic()
msg = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=1024,
    # no temperature, top_p, or top_k: keeps the watermark reliable on 4.x models
    messages=[{"role": "user", "content": "Write the changelog entry for this diff."}],
)

If you are on Opus 4.5, the release notes also say it is deprecated, with API retirement scheduled for January 22, 2027. Moving to a 5-series model removes the sampling caveat along with the deprecation.

Files get C2PA credentials instead

Binary files are handled separately. On the Claude API, images, video, and audio that Claude produces in the code execution sandbox carry a signed C2PA manifest when you download them through the Files API. The supported list includes PNG, JPEG, SVG, MP4, and MP3. Text files, PDFs, and office documents aren't signed.

The docs flag one practical side effect: the manifest "adds a few kilobytes, so the downloaded file's size and checksum differ from the file as it exists inside the container." If a pipeline compares a hash computed in the sandbox with the downloaded file, it will now fail. You can inspect a credential with the open-source c2patool or Anthropic's Claude Content Checker.

Our reading, which Anthropic's pages don't spell out: when Claude Code writes an SVG or a config file to your disk, that arrives as generated text through a tool call, so it would carry the text watermark like any other output, not a C2PA manifest.

Who can check for it

The text detector is a private preview API. Anthropic lists regulators, law enforcement, media, fact-checkers, independent researchers, educational organizations, EU civil society groups, and "select enterprises" that have to verify their own output under the Act. Everyone else can register interest on a form. There is no public detector for text today.

Anthropic is also clear about what a positive result means. A detected mark says Claude "may have been" involved at some point. It can't tell "Claude wrote this" from "Claude heavily edited this," and a missing mark proves nothing. The key is Anthropic's, so the detector can't identify another vendor's output either.

What to tell clients and your team

The question we expect from contractors is whether a client can now prove Claude wrote their code. Based on Anthropic's documents, the honest answer has three parts:

  1. Most code carries little signal. Exact tokens dominate source files, and short changes are hard to detect at all.
  2. The prose around it carries more. Comments, docstrings, commit messages, and PR descriptions that Claude wrote are where a detector has the most to work with.
  3. Few people can run the check. Detection is gated, though Anthropic says it plans to expand access.

None of that is a reason to hide AI use. If a contract restricts AI-written deliverables, the watermark just makes the existing obligation easier to check. Disclose by policy, the same way you would document a third-party library. Don't count on the mark being invisible.

For teams on a ZDR or data-residency setup, the watermark doesn't change what leaves your network. It is applied when the model generates text, and Anthropic says it carries no user or organization data. Our look at the OpenRouter prompt leak covers the settings that do control where prompts go.

Verdict

For most developers, nothing breaks. Output costs the same, contains no hidden characters, and needs no handling changes.

The two things worth doing this week are small. Check whether anything you ship needs the mark and runs a 4.x model with custom sampling. Then check whether any pipeline hashes files from the code execution sandbox.

The larger shift is cultural. Text written by Claude, including Claude Code's commit messages and comments, is now checkable by anyone Anthropic gives a key to. Other signatories of the same code are building their own marks. Write your AI-use policy assuming provenance can be checked.

Sources

Researched and drafted by an AI agent from the linked sources. How posts are made.