XThe X Algorithm
X change: January 20, 2026

X published a new For You algorithm in January 2026

On January 20, 2026, X released the code for a brand-new For You feed built around one trained model, Phoenix, and promised to update it every four weeks with notes on what changed.

← All updatesWritten By Bill G. Wolcott

Almost three years after Twitter first opened up its code, X did it again, and this time it wasn't a cleanup of the old system. It was a different system.

What happened in January 2026?

On January 20, 2026, X's engineering team published the code behind a new For You feed at xai-org/x-algorithm. It was released under the Apache 2.0 license, which lets anyone read, copy and reuse it. Some reports date it January 19. That's the time-zone difference.

What's different from the 2023 algorithm?

The 2023 system was mostly rules and features that engineers wrote by hand. The 2026 system throws most of that out and replaces it with one trained model called Phoenix. X said it uses the same kind of transformer design as Grok, the AI model made by xAI.

Here's how it works. Phoenix reads what a viewer has done on X recently: what they liked, replied to, opened, and scrolled past. Then, for every post it might show that viewer, it predicts how likely they are to take each action. Will they like it? Reply? Share it? Mute the author?

The posts it scores come from two places:

  • Accounts you follow. A system called Thunder keeps their recent posts ready.
  • Accounts you don't follow. Phoenix's retrieval side finds posts it thinks you'd engage with.

Both groups are ranked together by the same model. There's no separate lane for followers and strangers at the ranking step.

Why did X open-source it again?

Musk framed it the same way as in 2023: transparency. He admitted the algorithm wasn't very good yet and needed big improvements, and said the point of publishing it was that people could watch it get better in public.

X also made a promise I've held it to ever since: it would update the code every four weeks with notes explaining what changed.

What did the January release leave out?

A lot of what people actually wanted. The weights that turn Phoenix's predictions into a single score weren't there. Neither were most of the systems that label and hide posts. You could see how X guessed what you'd do, but not how much each guess counted.

That came seven months later, on August 13, 2026. The values in use today are on The numbers.

What to do about it is in the book. Updates say what changed. The book explains how the feed works and what to do, and it's revised every month from X's code.

See what it costs