Getting started
How AI actually writes your puzzle, step by step
"AI generates it" is doing a lot of work in that sentence. Here's the actual pipeline, including the parts that stop it producing nonsense.
6 min read
When you type a topic and tap generate, roughly six seconds pass before you're solving. Here's what happens in them.
1. Your topic goes to our server, not the model
The app never talks to an AI provider directly. It sends your topic to our own server, which holds the API key. That matters for security — a key shipped inside an app is a key that gets extracted — and it means we can validate and cache before anything reaches you.
2. A mode-specific brief is assembled
Each mode has its own set of construction rules, written the way a puzzle editor would brief a constructor: what makes a fair clue, what to avoid, how long answers should be, how difficulty should express itself. Your topic is inserted into that brief. A crossword request and a quiz request are genuinely different jobs, not the same prompt with a label changed.
3. Recent topics get checked against live sources
This is the anti-hallucination step. If your topic looks time-sensitive — a film from last month, a recent tournament — the model searches live sources before writing. Without that, you'd get confidently wrong answers, because a model's knowledge has a cutoff date and it doesn't always know what it doesn't know.
Evergreen topics skip this. A crossword about Ancient Egypt doesn't need the news, and skipping the search makes it faster and cheaper.
4. The output is validated, not trusted
The model returns structured data, which is then checked against a strict schema. Wrong shape, missing clue, malformed answer — rejected, and it tries again. This is the most important part of the whole pipeline: the system assumes the model will occasionally get it wrong and is built to catch that.
5. A solver builds the actual grid
For crosswords, word searches and codewords, the AI supplies words and clues but does not lay out the grid. That's done by ordinary deterministic code — a real constructor algorithm that interlocks answers and verifies every crossing. If a valid grid can't be built, the words are regenerated.
The upshot: you can't receive an unsolvable board. The grid is proved correct by code, not by a model's assurance.
6. Popular topics get cached
If someone has already generated a puzzle for the same topic, difficulty and mode, the result is reused rather than regenerated. That's why common topics come back almost instantly. It's also a big part of what makes a generous free tier affordable.
Common questions
- How does Lexora stop AI from making up wrong answers?
- Three ways: recent-topic quizzes are checked against live web sources before questions are written; all output is validated against a strict schema and regenerated if it fails; and grids are built and verified by deterministic code rather than by the model, so an unsolvable board can't reach you.
- How long does it take to generate a puzzle?
- Usually around six seconds. Popular topics can be near-instant, because previously generated puzzles for the same topic, mode and difficulty are cached and reused.
Keep reading
Game modes
All 8 Lexora game modes, explained
Crossword, Word Connect, Word Search, Quiz, Codeword, Rebus, Language Match and Jumble — what each mode is, who it suits, and which to try first.
8 min read
Coins & rewards
How coins work in Lexora, explained honestly
What coins are for, how many you need, how to earn them free, and why a quiz costs more than a crossword. The whole economy, no fine print.
6 min read
