# Creating a Puzzle

* A puzzle is created when the puzzle creator suggests it.
* The creator must pay a minimum of 10 Cookies and a maximum of 500 Cookies as a reward for solving the puzzle.
* The difficulty of the puzzle is automatically determined based on the number of Cookies offered as a reward.

#### **Difficulty Levels**

<table data-header-hidden><thead><tr><th width="201">Difficulty Level</th><th>Number of Cookies</th></tr></thead><tbody><tr><td><strong>S-Grade</strong></td><td>1,000+ Cookies</td></tr><tr><td><strong>A-Grade</strong></td><td>500–999 Cookies</td></tr><tr><td><strong>B-Grade</strong></td><td>100–499 Cookies</td></tr><tr><td><strong>C-Grade</strong></td><td>50–99 Cookies</td></tr><tr><td><strong>D-Grade</strong></td><td>10–49 Cookies</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.batching.ai/codecaching/overview/creating-a-puzzle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
