News4 min read

xAI Turns On Invisible Watermarks for Grok API Text by Default, Citing the EU AI Act

From 7 November 2026, text from seven Grok models on xAI's API carries an invisible statistical watermark by default, with an x-watermark header to confirm it and a team-level opt-out that requires confirming a legal exception.

Text generated through xAI's Grok API now carries an invisible watermark by default. The change took effect on 7 November 2026 and covers seven current Grok models, according to a new Output Watermarking page in xAI's developer documentation, which now uses the SpaceXSI name. The company gives one reason for the move: complying with the EU AI Act.

For most developers nothing visible changes. There is no new request setting, the response looks the same, and the documentation says quality and speed are unaffected. What does change is that the text those apps produce can later be checked and recognised as machine-written, which matters for anyone who publishes Grok output, sends it to customers or feeds it into other systems.

Which models and outputs are covered

The documentation lists the models that watermark their responses from 7 November:

  • grok-4.7
  • grok-4.6
  • grok-4.5
  • grok-4.3
  • grok-4.20-reasoning, grok-4.20-non-reasoning and grok-4.20-multi-agent

The mark applies on every API endpoint, including the global address at api.x.ai and any regional endpoint, and to both the Responses API and the Chat Completions API. It covers ordinary text replies, structured outputs and tool call arguments. That last part is easy to miss. When an AI agent built on Grok fills in the arguments for a tool, such as the body of an email it is about to send, those strings are watermarked too.

How the watermark works

xAI says the watermark is not something added on top of the text. It is applied during generation by slightly shaping which tokens the model chooses, so it adds no extra characters, markup or hidden text. Copying the output into a document will not reveal anything unusual.

Detection is statistical. According to the documentation, xAI scores a passage against the watermark and returns one of three answers: watermarked, not watermarked or uncertain. Longer passages give a stronger signal, so a short reply is harder to classify than a full article. Access to the detection service is not open to everyone. Developers have to apply for it through a request form.

Developers can see whether a given response was marked by reading a new response header called x-watermark. A value of true means that request's output was generated with the watermark. Any other value, or no header at all, means it was not. The documentation includes short examples showing how to read the header with the Vercel AI SDK, the OpenAI Python and JavaScript libraries pointed at xAI's API, and a plain curl request.

Opting out is possible, with conditions

Watermarking is set per model for a whole team rather than per API key or per request. Team admins can switch it off for some or all models in the console, and the change reaches new requests within about five minutes.

The opt-out is not a simple toggle, though. The documentation says turning it off asks the admin to confirm that an exception under applicable law covers their use, and that they are solely responsible for any marking or disclosure the law requires. Some models may be locked on for a team and cannot be switched off from the console at all. Every opt-in and opt-out is recorded in the team's audit log.

Why now

The timing lines up with the EU's rules on AI-generated content. Under Article 50(2) of the AI Act, providers of AI systems that generate synthetic audio, images, video or text must make sure the output is marked in a machine-readable format and can be detected as artificially generated. The European Commission's guidance says Article 50 has applied since 2 August 2026, with a grace period on the marking and detection duty only for systems that were already on the market before that date. Those providers have until 2 December 2026 to comply.

The rules also apply to providers outside the EU when their system's output is used inside it, so a US company selling API access to European customers is in scope. The Commission's guidance notes that some outputs fall outside the marking duty, including short strings of numbers or letters, source code, and output that only passes between machines without ever being shown to a person. xAI has chosen to mark output across all its API endpoints rather than only for European users, and its documentation does not say how it treats those exempt categories beyond the opt-out process.

What it means for people building with Grok

For businesses that use Grok to draft marketing copy, support replies or reports, the practical takeaway is that the text is now traceable by default. That does not stop anyone using it, but it does mean "nobody can tell this was AI" is no longer a safe assumption for Grok output on the API.

Teams that need a record of what was marked can log the x-watermark header alongside each request. Teams thinking about opting out should read the conditions first, since the documentation places the legal responsibility for any required marking squarely on them. Separately, under Article 50(4), businesses that publish AI-generated text to inform the public on matters of public interest have their own labelling duty unless the text has gone through genuine human review or editorial control, and that duty sits with the publisher, not with xAI's watermark.

As more providers work towards the December date, watermarking by default may become a standard feature of AI text APIs rather than an exception. For now, xAI's documentation is one of the clearest public descriptions of how a provider plans to meet the rule.

Sources

  1. SpaceXSI (xAI) Docs: Output Watermarkingdocs.x.ai
  2. European Commission: Transparency obligations under Article 50 of the AI Actdigital-strategy.ec.europa.eu