# AI features

1. Go to your [Account Settings](https://www.overleaf.com/user/settings) page and scroll to the **AI features** section.
2. Select **Enable AI features**.

{% hint style="warning" %}
If your Overleaf account is participating in a group subscription, the administrator can set AI features as unavailable for members of the subscription. If you do not see options for enabling AI features, please get in touch with your subscription administrator.
{% endhint %}

## What's included

<table><thead><tr><th width="236.28515625">Feature</th><th>What it does</th></tr></thead><tbody><tr><td>AI assistant</td><td>Chat with your document, ask questions, get help with LaTeX, and run tools from a side panel in the editor</td></tr><tr><td>Error Assist</td><td>Explains LaTeX errors and suggests fixes directly in the editor</td></tr><tr><td>Language suggestions</td><td>Grammar and fluency edits tailored to academic writing</td></tr><tr><td>Rewrite tools</td><td>Paraphrase; Make concise; Make scientific; Split long sentences; Join short sentences</td></tr><tr><td>Equation generator</td><td>Converts an image or natural language into LaTeX math</td></tr><tr><td>Table generator</td><td>Builds LaTeX tables from an image or natural language</td></tr><tr><td>Title and abstract generator</td><td>Drafts titles and abstracts based on your document</td></tr><tr><td>TeXGPT</td><td>Generates LaTeX code from natural language inside the editor</td></tr><tr><td>Synonyms</td><td>Suggests alternative words or phrases that fit your sentence</td></tr></tbody></table>

## AI allowance by plan

Each time you use an AI feature, it counts as one use from your daily allowance. The allowance resets every 24 hours.

| Plan     | Daily AI allowance     | AI assistant |
| -------- | ---------------------- | ------------ |
| Free     | Basic                  | Not included |
| Student  | Basic                  | Included     |
| Standard | Standard               | Included     |
| Pro      | Max (fair use applies) | Included     |
| Commons  | Basic (same as Free)   | Not included |

**What counts toward your AI use:** Error Assist suggestions, AI assistant message exchanges, or an invocation of any language or generator tool (including accepting a suggestion).

If you reach your daily limit, a notification appears in the AI features. You'll see when your allowance resets and the option to upgrade your plan. AI access resumes automatically when the allowance resets—no action needed.

If you upgrade your plan, your allowance resets immediately to the new tier.

## Where to find AI tools

AI tools appear in several places in the editor:

* **AI assistant:** open from the left bar
* **Error Assist:** appears in the error logs when a compile error is detected
* **Language suggestions:** shown inline as you write; navigate with the toolbar controls when suggestions are active
* **Generators** (equation, table, title, abstract, keywords): available in the **Insert** menu or via toolbar icons
* **Synonyms:** available in the floating menu when you select text
* **TeXGPT:** available from the toolbar

## AI settings

You can manage AI preferences in the **Settings** modal under **AI assistance**:

* Toggle AI shortcuts on text selection
* Toggle AI shortcuts on empty lines
* Toggle sentence completion (requires accepting AI terms of service)

Spellcheck and language settings, including AI language suggestions, are under the **Spelling and language** tab in Settings.

## Enabling and disabling AI features

To turn off all AI features:

1. Go to **Account settings** and scroll to the **Integrations** section.
2. Select **Disable AI features**.

This turns off all AI tools in the editor, including Error Assist and language suggestions.

### Who can use Overleaf AI

Overleaf AI features are available to all users. However, users whose accounts are managed by an organization, or whose institution has opted out of AI features, can't access the features. You will need to contact your local admin for more details.

## Data and privacy

Some AI features send content to third-party services, including OpenAI. You'll be asked to accept the AI terms of service the first time you use a feature that involves external processing. Accepting once covers all AI features — you won't be prompted again.

Your data is never used to train AI models.

**What gets sent for each feature:**

* *Error Assist:* the error message, relevant lines of code, and file names in your project
* *AI assistant:* content from your project needed to answer your question; the assistant may also query third-party search engines
* *Language suggestions and rewrite tools:* the selected text or surrounding context
* *Citation suggestions:* citation data via [Dimensions](https://www.dimensions.ai/)

For full details, see [Overleaf's privacy notice](https://www.overleaf.com/legal#Privacy) and the [list of third-party processors](/accounts-and-security/overleaf-data-processors.md).

### Troubleshooting

**Can I undo an AI suggestion once applied?** Yes — use **Undo** in the toolbar or **Ctrl/Cmd+Z**.

**Why are suggestions sometimes incorrect?** AI can misinterpret complex or custom LaTeX commands. Always review suggestions before applying them. The more specialised your LaTeX, the more likely you'll need to adjust a suggestion.

**Why hasn't an AI fix worked for my error?** Error Assist works best with errors that include a full error message in the logs. It won't show for code-check errors that appear as you type. See [fixing LaTeX errors](/troubleshooting-and-support/fixing-latex-errors.md) for more help.


---

# 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.overleaf.com/integrations-and-add-ons/ai-features.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.
