♔
Chess AI Explained
Engines, neural networks and chatbots
← Articles
Engines · AI

Chess AI Explained: How Computers Play Chess, and Can ChatGPT Play?

"Chess AI" can mean three very different things: a chess engine like Stockfish that no human can beat, a self-taught neural network like AlphaZero, or a general chatbot like ChatGPT that is surprisingly weak at chess. Here is how each one works, how strong it is, and where you can play against chess AI for free.

6 min read Published October 2026 By
In this guide
Quick answer

A chess AI is a computer program that plays chess. The strongest ones are chess engines such as Stockfish: they search millions of possible moves per second and judge positions with a small neural network, and no human can beat them in a normal game. AlphaZero (DeepMind, 2017) and Leela Chess Zero taught themselves by playing against themselves. Chatbots like ChatGPT are not chess engines: they often lose track of the board and make illegal moves. To play chess AI for free, use a site with built-in bots, like the Rama Chess bots (our own site) or Lichess.

Strongest chess AIStockfish 19 (free)
Rating3650 on CCRL 40/15
Best human (FIDE)Carlsen 2823, Nov 2026
Chatbots at chessWeak, often illegal moves

Play chess against AI Analyse with Stockfish

The kinds of chess AI

KindExamplesHow it chooses a moveStrength
Classic engineDeep Blue (1997), early Fritz, RybkaSearches ahead; scores positions with hand-written rulesBeat the world champion in 1997
NNUE engineStockfish (since 2020), most top enginesDeep alpha-beta search + a small, fast neural networkThe strongest today
"Zero" neural network engineAlphaZero, Leela Chess ZeroBig neural network + Monte Carlo tree search, self-taughtWorld class
Human-like AIMaiaTrained to predict the move a human of a certain rating would playSet to human levels on purpose
General chatbot (LLM)ChatGPT, Gemini, Grok and othersPredicts text; it was not built to play chessWeak and unreliable at chess
Diagram of three kinds of chess AI: chess engines like Stockfish that search and evaluate, self-taught neural networks like AlphaZero and Leela, and general chatbots like ChatGPT that predict text and are weak at chess
Three very different things are all called chess AI.

How a chess engine chooses a move

An engine does two things, millions of times per second:

  1. Search: it builds a tree of "if I play this, the opponent plays that", many moves deep, and skips lines that cannot be best.
  2. Evaluate: at the end of each line it gives the position a score, like +0.30 (White slightly better) or -3.00 (Black clearly winning).

The move that leads to the best score after the deepest search is played. Simple tactics, like a mate in one, are found instantly:

Scholar's Mate position after 1.e4 e5 2.Bc4 Nc6 3.Qh5 Nf6, White to move: the queen on h5 takes on f7 with checkmate, supported by the bishop on c4
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
After 3...Nf6?? White mates with 4.Qxf7#: the queen is protected by the bishop on c4. An engine sees this in a fraction of a millisecond.
How a chess engine chooses a move: moves and commentary as text

1.e4 White puts a pawn on e4 and claims space in the centre.

1...e5 Black puts a pawn on e5 and claims space in the centre.

2.Bc4 This is the Bishop's Opening. White develops the bishop to c4.

2...Nc6 Black develops the knight to c6.

3.Qh5 The queen comes out to h5. The pawn on f7 is now pinned to its king.

3...Nf6 After 3...Nf6?? White mates with 4.Qxf7#: the queen is protected by the bishop on c4. An engine sees this in a fraction of a millisecond.

4.Qxf7# The queen takes the pawn on f7. That is checkmate.

The details of the search and the neural network inside Stockfish are in how Stockfish works and what is NNUE.

Advertisement

Self-taught chess AI: AlphaZero and Leela

In December 2017 Google's DeepMind showed AlphaZero, which was given only the rules and learned chess by playing 44 million games against itself in 9 hours. In a 100-game match it beat Stockfish 8 with 28 wins, 72 draws and no losses. AlphaZero was never released, but the open-source Leela Chess Zero copied its method and won the top engine championship (TCEC) in 2019 and 2020. Today Stockfish combines both worlds: a classic search with a neural network trained partly on Leela's data. Compare them in neural network chess engines.

How strong is chess AI?

Much stronger than any human. On the CCRL 40/15 engine rating list (7 November 2026) Stockfish 19 is rated 3650, while the best human, Magnus Carlsen, is 2823 on the November 2026 FIDE list. These numbers are on different scales (engines are rated only against engines), so the exact gap cannot be measured; see chess engine ratings explained. But the last known human win against a top engine in normal tournament conditions was back in 2005, and since IBM's Deep Blue beat Garry Kasparov in 1997 (the full story) the gap has only grown. Try it yourself with can you beat Stockfish 18, or see how an old champion compares in Paul Morphy's Elo.

Can ChatGPT play chess?

It can talk about chess very well, but it plays badly, because a chatbot predicts words, not moves. It has no board inside and often forgets where the pieces are. Some real examples:

So for chess questions a chatbot is fine, but always check its moves on a board. Our own Rama Chess AI chatbot turns move lines into a board and checks positions with Stockfish, though like any AI it can still make mistakes.

Advertisement

Where to play chess against AI for free

WhereWhat you get
Rama Chess bots (our own site)Free bots from beginner to full-strength Stockfish, in the browser; also in our Android app
Play Stockfish (our own site)The strongest engine, with levels you can choose
LichessFree, open source, no ads: "Play with the computer" at 8 levels
Chess.comMany bot personalities; some are free, more with a paid membership
Lichess Maia botsHuman-like bots (Maia 1100, 1500, 1900) that make "human" mistakes
Tip
Do not play full-strength Stockfish to learn: you will lose every game and learn little. Pick a bot you beat about half the time, then review the game with the engine. How: how to use a chess engine.

Chess AI and cheating

Because engines are so strong, using one during a game is cheating, and every chess site and tournament bans it. Sites use fair-play checks and close accounts that are caught. Using AI after a game, to review it or to prepare openings, is normal and is what every strong player does.

Play these engines yourself. Stockfish 19, Obsidian and Stormphrax are free to play; Reckless, PlentyChess, Viridithas, Berserk, Caissa, Koivisto and Ethereal are Premium bots. They run right in your browser. All engine bots · licences and source code.

Frequently asked questions

What is the best chess AI?

Stockfish is the strongest chess AI on the main engine rating lists in November 2026 (3650 on CCRL 40/15 for Stockfish 19, first place shared with Triumviratus), and it is free and open source.

How does chess AI work?

A chess engine searches ahead through millions of possible moves and judges the positions it reaches with an evaluation, today usually a neural network. It plays the move that leads to the best score.

Can a human beat chess AI?

Not the strongest engines in a normal game. The last known human win against a top engine under normal tournament conditions was in 2005. You can beat engines set to a lower level, which is how the bots on chess sites work.

Can ChatGPT play chess?

Only weakly. ChatGPT predicts text and has no real board inside, so it often loses track of the position and makes illegal moves. In 2025 an old Atari 2600 chess game was reported to beat it.

Where can I play chess against AI for free?

On Rama Chess (our own site) with free bots and Stockfish, on Lichess, which is free with no ads, and with the free bots on Chess.com.

Is AlphaZero the best chess AI?

AlphaZero beat Stockfish 8 in 2017 and 2018, but it was never released and has not played since. Today's Stockfish is far stronger than Stockfish 8.

Sources and checks

Keep learning on Rama Chess

Watch on YouTube

Prefer video? Our channels show real games move by move, with clear explanations.

▶
Stockfish 100 — engine games explained
youtube.com/@stockfish100
›
▶
Best Chess Channel — tactics, traps and training
youtube.com/@bestchesschannel
›

Play the chess bots from this article on Rama Chess: Leela Chess Zero.