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.
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.
Play chess against AI Analyse with Stockfish
The kinds of chess AI
| Kind | Examples | How it chooses a move | Strength |
|---|---|---|---|
| Classic engine | Deep Blue (1997), early Fritz, Rybka | Searches ahead; scores positions with hand-written rules | Beat the world champion in 1997 |
| NNUE engine | Stockfish (since 2020), most top engines | Deep alpha-beta search + a small, fast neural network | The strongest today |
| "Zero" neural network engine | AlphaZero, Leela Chess Zero | Big neural network + Monte Carlo tree search, self-taught | World class |
| Human-like AI | Maia | Trained to predict the move a human of a certain rating would play | Set to human levels on purpose |
| General chatbot (LLM) | ChatGPT, Gemini, Grok and others | Predicts text; it was not built to play chess | Weak and unreliable at chess |
How a chess engine chooses a move
An engine does two things, millions of times per second:
- Search: it builds a tree of "if I play this, the opponent plays that", many moves deep, and skips lines that cannot be best.
- 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:
Stockfish 19commentaryHow 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.
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:
- June-July 2025: an engineer, Robert Caruso, reported that the 1979 Atari 2600 game Video Chess beat ChatGPT, and then Microsoft Copilot. Both chatbots kept losing track of the board.
- August 2025: Kaggle and Google DeepMind held a chess exhibition for chatbots (Kaggle Game Arena), with commentary by Magnus Carlsen. OpenAI's o3 won, beating Grok 4 4-0 in the final. These models are far below a real engine.
- February 2024: a DeepMind study trained a network of the same type as chatbots (a transformer) only on chess positions scored by Stockfish. With no search at all it reached a Lichess blitz rating of 2895 against humans: proof that the problem is not the network type but the training.
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.
Where to play chess against AI for free
| Where | What 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 |
| Lichess | Free, open source, no ads: "Play with the computer" at 8 levels |
| Chess.com | Many bot personalities; some are free, more with a paid membership |
| Lichess Maia bots | Human-like bots (Maia 1100, 1500, 1900) that make "human" mistakes |
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
- CCRL 40/15 list (computed 7 November 2026); FIDE rating list November 2026 (Magnus Carlsen 2823). Both checked 12 November 2026.
- DeepMind: arXiv 1712.01815 (2017); arXiv 2402.04494 "Grandmaster-Level Chess Without Search" (February 2024). maiachess.com.
- The Register (1 July 2025) and TechRadar on Atari 2600 Video Chess vs ChatGPT and Copilot; Chess.com news on the Kaggle Game Arena chess exhibition (August 2025).
- lichess.org/about; Wikipedia: Human-computer chess matches. All checked 16 October 2026.
Keep learning on Rama Chess
Watch on YouTube
Prefer video? Our channels show real games move by move, with clear explanations.
Play the chess bots from this article on Rama Chess: Leela Chess Zero.
