Set up AI: the local model or your own key
Choose what AI assist, Evaluate and Chat use, add an API key or your own server, and pick the default.
Want a hand?
Copy this prompt into Claude, ChatGPT or another AI assistant, and it walks you through it step by step.
I want to use the AI features in PromptMason. Help me decide between the local model and my own API key, then walk me through setting up the one I choose and testing it.
Copy adds a short note about PromptMason and this guide's steps, so the assistant has what it needs.
I want to use the AI features in PromptMason. Help me decide between the local model and my own API key, then walk me through setting up the one I choose and testing it. About PromptMason: a desktop app for Windows and Mac for building AI prompts from reusable blocks. A person writes blocks (reusable pieces of prompt text), builds prompts from them on the Build screen (or writes a Skill for an AI app, or keeps a Markdown document), and copies a prompt into an AI tool, runs it in PromptMason’s own Chat, or lets a connected AI agent use it through PromptMason’s built-in MCP server (the Chrome extension copies prompts on any website). AI assist, Evaluate and Chat use a local model that runs on the person’s computer, or their own AI provider. The guides are also on PromptMason’s Help screen, and Chat can answer “how do I” questions from them. Libraries hold the blocks and prompts; a person can sync their personal library to their other computers and share team libraries, both through a folder in cloud storage they already have (OneDrive, Google Drive or Dropbox). Everything synced is encrypted and every edit is signed and checked. A recovery kit (a file plus a code) is the spare copy of the person’s keys, for when every computer is lost. The official guide for this is "Set up AI: the local model or your own key": https://promptmason.ai/docs/ai-setup Its full text follows, between the lines. Use it as the source of truth, and if anything I see differs from it, tell me rather than guessing. --- AI assist, Evaluate and Chat need an AI model to work with. You can use the local model, PromptMason's own AI model that runs on your computer and is free on every plan, or connect an AI provider with your own API key. You can set up more than one and choose between them each time. PromptMason works without any of this; set it up only if you want the AI features. ## Choose an option | Option | What you need | Where your text goes | Cost | |---|---|---|---| | **Local model** | A one-time download, from about 1.3 GB, and a computer with at least 4 processor cores and 8 GB of memory. The two larger models need more. | Nowhere. Your text stays on this computer. | Free on every plan | | **OpenAI**, **Anthropic**, **Google Gemini** or **xAI (Grok)** | An API key from that provider | To that provider, each time you run an AI feature | The provider bills you for what you use | | **Your own AI server** | The address of a server that accepts the same kind of requests as OpenAI's (an "OpenAI-compatible server"), such as one running on this computer | To that server | Set by whoever runs the server | An API key is a code that lets an app such as PromptMason use your account with an AI provider. - Choose the **local model** to start with no account, no API key and no cost, or whenever you want your text to stay on your computer. It starts with a small model, and you can choose a larger one. See [Choose a model](https://promptmason.ai/docs/local-model#choose-a-model). - Choose a **provider** if you already have an account with one, or your computer is below the local model's minimum. For help deciding which to use with private text, see [Choosing what to share with AI](https://promptmason.ai/docs/privacy-overview#choosing-what-to-share-with-ai). ## Set up the local model 1. Click **Settings** in the sidebar, then **AI & connected apps**, then the **AI providers** tab. 2. The first card is **Local model (private)**. Click **Download** on the model you want. Qwen3.5 2B is the default. 3. Read the license note and click **Accept and download**. A larger model asks you to confirm first. 4. When the card shows **Ready**, the model is downloaded. Downloading it doesn't change your **Default AI provider**. If that choice can't be used on this computer, for example because you have no other provider set up, AI assist uses the local model. If another provider is your default and is set up, the card says so, for example **AI assist uses Anthropic.**, and shows **Use the local model**. Click it to switch. If the card says **AI assist is turned off.**, click **Turn on AI assist**. Once a model is downloaded, a row under the card, **Free the model's memory after**, sets how long the model stays loaded when you aren't using it. [Free, private AI on your computer](https://promptmason.ai/docs/local-model) covers the download, what the card shows, that setting, and what to do about each message. ## Get an API key You create an API key in your account on the provider's website. Sign in there, find the page for API keys, create a key and copy it. Many providers show the whole key only once, so paste it into PromptMason (see the next section) before you close the page. The provider bills you for what you use, separately from PromptMason. ## Add an API key 1. Click **Settings** in the sidebar, then **AI & connected apps**, then the **AI providers** tab. 2. In the **AI assist** card, find **AI providers**. Each provider has its own row: **OpenAI**, **Anthropic**, **Google Gemini** and **xAI (Grok)**. Each row says **Set up** or **Not set up**. 3. Click **Set up** next to your provider. Its box opens. For a provider that's already set up, the button says **Edit**. 4. Click in **API key** and paste your key. 5. Under **Models**, check the model name. The first row already has a model filled in. To use a different model your provider offers, type its name exactly as the provider writes it. 6. Click **Save**. You see **Saved.** and the row changes to **Set up**. The line under the key box then reads **Saved key ending in** followed by the key's last four characters. PromptMason never shows the whole key again. Click **Close** to fold the box away. Adding a key doesn't change your **Default AI provider**. If the default can't be used on this computer, AI assist uses the local model when it's downloaded, and otherwise the first provider you have set up, so your first key works straight away. To make this provider the default, choose it under **Default AI provider** (see [Choose the default AI provider](#choose-the-default-ai-provider)). ## Add more models Each provider can have several models, for example a fast one for short rewrites and a stronger one for chat. 1. Click **Edit** next to the provider, then **Add model** in its box. 2. Type the model's name in the new row. 3. Click **Save**. The first model is used unless you choose another. The **Model** list in AI assist, Evaluate and Chat shows each provider with its models. To remove a model, click the X beside its row (**Remove this model**), then **Save**. ## Test the connection 1. Click **Edit** next to the provider, then **Test connection** in its box. It's available once the row says **Set up**. If you have several models, first click in the row of the one you want to test. That row is highlighted, and the test uses its model. 2. The button reads **Testing…** while it runs. When it works, you see **Connected.** followed by the model's name and its short reply. The test sends one short request with none of your text. If it fails, you see "Testing [model] failed." followed by the provider's own message. That message usually says what's wrong. Check that you pasted the whole key, that the model name is spelled the way the provider writes it, and that your account with the provider can use that model. Then save and test again. ## Choose the default AI provider The default is the provider and model AI assist, Evaluate and new chats start with. You can choose another each time you run one. 1. Click **Settings** in the sidebar, then **AI & connected apps**, then the **AI providers** tab. 2. In the **AI assist** card, click the picker beside **Default AI provider**. It shows the current provider and model. 3. Point to a provider and click one of its models. A provider without a key is marked **(not set up)**. The local model is listed once it's downloaded, with the model you downloaded by name, for example **Qwen3.5 9B**. If it's your default but not downloaded (for example, after you remove it), it shows **(not downloaded)**. Choosing a model here also makes it that provider's first model. The picker always shows the choice you saved. When that choice can't be used on this computer, a line under it says so and says what AI assist uses instead, for example **Local model isn't downloaded on this computer, so AI assist uses OpenAI.** or **OpenAI isn't set up on this computer, so AI assist uses the local model.** It's only a note. You don't have to do anything: download the model, or add the key, when you want to use your choice on this computer, or choose another provider. Each computer works out what AI assist uses: your saved default if it can be used on this computer, otherwise the local model if it's downloaded, otherwise the first provider you have set up. Your saved default is part of your settings, so it follows you to your other computers when your personal library syncs. Keys and the local model don't, so a computer can use something different from your other computers until you set it up the same way. Adding or removing a key, and downloading or removing the model, never change your saved default. ## Use your own AI server If you run an AI model on a server that accepts the same requests as OpenAI's, you can use it the same way as a provider. 1. Click **Settings** in the sidebar, then **AI & connected apps**, then the **AI providers** tab. 2. In the **AI assist** card, find **Your own AI server**, just below the other providers. 3. Click **Set up** next to **OpenAI-compatible server**. In **Server address**, type the server's full address, starting with http:// or https://, for example http://localhost:11434/v1. 4. If your server needs a key, paste it in **API key**. If not, leave it blank. 5. Under **Models**, type the name of a model on your server. There's no model filled in here. 6. Click **Save**, then **Test connection**. In model lists it's called **OpenAI-compatible server**. If the address box is empty, you see **Enter the server address, for example http://localhost:11434/v1.** If the address isn't accepted, you see **The server address must be a full web address starting with http:// or https://.** Correct it and click **Save** again. ### If replies from your server are slow Many models can think before they answer, writing out reasoning you don't see before the reply starts. Some servers, such as LM Studio, turn this on by default for models that support it. For the short jobs AI assist and Evaluate do, the thinking can take several times longer than the reply itself, so a model that writes quickly can still feel slow. PromptMason's local model runs with thinking turned off. To check, run AI assist once, then look at the [AI assist activity](https://promptmason.ai/docs/home#ai-assist-activity) widget on Home. If **Reasoning** is most of what was **Received**, the model spent most of its time thinking. Thinking is a setting on your server, not in PromptMason, so turn it off there: - **LM Studio:** open the model's settings and turn off **Enable Thinking**, then load the model again. - **Other servers:** look in the server's documentation for its thinking or reasoning setting. Some models always think and can't turn it off. For those, choose a model that doesn't. The change affects every app that uses the server, not only PromptMason. ## Change or remove a key - **Replace a key:** click **Edit** next to the provider, paste the new key in **API key** and click **Save**. Leaving the field empty keeps the saved key. - **Remove a key:** click **Edit** next to the provider, then **Remove** in its box. The key is deleted from this computer straight away, without asking first, and you see **Removed.** Your **Default AI provider** doesn't change. If the provider you removed is the default, it stays the default, marked **(not set up)**, and a line under **Default AI provider** says what AI assist uses on this computer instead: the local model if it's downloaded, otherwise the first provider you have set up. Choose another default if you want one. Removing a key from PromptMason doesn't cancel it with the provider. To stop the key working anywhere, delete it in your account on the provider's website. ## Where your keys are kept - Keys are stored encrypted on this computer, for your account on it only. - They're never shown again after you save them, and never included when you export your library. Replacing your library from a file doesn't touch them. - On another computer, add your key in that computer's Settings. Your **Default AI provider** follows you to your other computers, but keys don't. A computer without the key uses the local model or another provider it has until you add the key. ## Turn the AI features on The **AI assist** and **Evaluate** buttons appear only when both of these are true: - The **AI assist** switch is on in **Settings → Features**. - At least one provider is set up, or the local model is downloaded. If the switch is on but nothing is set up yet, **Settings → Features** shows a **Set up AI assist** link that opens this pane. **Turn on AI assist** and **Use the local model**, on the local model's card, each turn the switch on for you. Chat has its own switch, **Chat**, in **Settings → Features**. It adds **Chat & Browse** to the sidebar. With no provider set up, the Chat screen shows **Set up AI to start chatting** and a **Download the free local model** button, which opens this pane at the local model. See [Show or hide features](https://promptmason.ai/docs/features). ## Next steps - [Improve text with AI assist](https://promptmason.ai/docs/ai-assist) - [Evaluate a block, prompt or document](https://promptmason.ai/docs/evaluate) - [Run prompts in Chat](https://promptmason.ai/docs/chat-basics) - [What AI features send, and where](https://promptmason.ai/docs/ai-privacy) --- How to help me: - Go one step at a time. After each step, ask what I see on screen before giving the next one. - Use the exact words on PromptMason’s buttons and screens, as the guide does. - Never ask me for my recovery code, my recovery kit file, a password or my invite line, and never ask me to paste them here. - Start by asking which step I’m on, or what I see now.AI assist, Evaluate and Chat need an AI model to work with. You can use the local model, PromptMason’s own AI model that runs on your computer and is free on every plan, or connect an AI provider with your own API key. You can set up more than one and choose between them each time. PromptMason works without any of this; set it up only if you want the AI features.
Choose an option
| Option | What you need | Where your text goes | Cost |
|---|---|---|---|
| Local model | A one-time download, from about 1.3 GB, and a computer with at least 4 processor cores and 8 GB of memory. The two larger models need more. | Nowhere. Your text stays on this computer. | Free on every plan |
| OpenAI, Anthropic, Google Gemini or xAI (Grok) | An API key from that provider | To that provider, each time you run an AI feature | The provider bills you for what you use |
| Your own AI server | The address of a server that accepts the same kind of requests as OpenAI’s (an “OpenAI-compatible server”), such as one running on this computer | To that server | Set by whoever runs the server |
An API key is a code that lets an app such as PromptMason use your account with an AI provider.
- Choose the local model to start with no account, no API key and no cost, or whenever you want your text to stay on your computer. It starts with a small model, and you can choose a larger one. See Choose a model.
- Choose a provider if you already have an account with one, or your computer is below the local model’s minimum.
For help deciding which to use with private text, see Choosing what to share with AI.
Set up the local model
- Click Settings in the sidebar, then AI & connected apps, then the AI providers tab.
- The first card is Local model (private). Click Download on the model you want. Qwen3.5 2B is the default.
- Read the license note and click Accept and download. A larger model asks you to confirm first.
- When the card shows Ready, the model is downloaded. Downloading it doesn’t change your Default AI provider. If that choice can’t be used on this computer, for example because you have no other provider set up, AI assist uses the local model. If another provider is your default and is set up, the card says so, for example AI assist uses Anthropic., and shows Use the local model. Click it to switch. If the card says AI assist is turned off., click Turn on AI assist.
Once a model is downloaded, a row under the card, Free the model’s memory after, sets how long the model stays loaded when you aren’t using it. Free, private AI on your computer covers the download, what the card shows, that setting, and what to do about each message.
Get an API key
You create an API key in your account on the provider’s website. Sign in there, find the page for API keys, create a key and copy it. Many providers show the whole key only once, so paste it into PromptMason (see the next section) before you close the page. The provider bills you for what you use, separately from PromptMason.
Add an API key
-
Click Settings in the sidebar, then AI & connected apps, then the AI providers tab.
-
In the AI assist card, find AI providers. Each provider has its own row: OpenAI, Anthropic, Google Gemini and xAI (Grok). Each row says Set up or Not set up.
-
Click Set up next to your provider. Its box opens. For a provider that’s already set up, the button says Edit.


-
Click in API key and paste your key.
-
Under Models, check the model name. The first row already has a model filled in. To use a different model your provider offers, type its name exactly as the provider writes it.
-
Click Save.
You see Saved. and the row changes to Set up. The line under the key box then reads Saved key ending in followed by the key’s last four characters. PromptMason never shows the whole key again. Click Close to fold the box away.
Adding a key doesn’t change your Default AI provider. If the default can’t be used on this computer, AI assist uses the local model when it’s downloaded, and otherwise the first provider you have set up, so your first key works straight away. To make this provider the default, choose it under Default AI provider (see Choose the default AI provider).
Add more models
Each provider can have several models, for example a fast one for short rewrites and a stronger one for chat.
- Click Edit next to the provider, then Add model in its box.
- Type the model’s name in the new row.
- Click Save.
The first model is used unless you choose another. The Model list in AI assist, Evaluate and Chat shows each provider with its models. To remove a model, click the X beside its row (Remove this model), then Save.
Test the connection
- Click Edit next to the provider, then Test connection in its box. It’s available once the row says Set up. If you have several models, first click in the row of the one you want to test. That row is highlighted, and the test uses its model.
- The button reads Testing… while it runs.
When it works, you see Connected. followed by the model’s name and its short reply. The test sends one short request with none of your text.


If it fails, you see “Testing [model] failed.” followed by the provider’s own message. That message usually says what’s wrong. Check that you pasted the whole key, that the model name is spelled the way the provider writes it, and that your account with the provider can use that model. Then save and test again.
Choose the default AI provider
The default is the provider and model AI assist, Evaluate and new chats start with. You can choose another each time you run one.
-
Click Settings in the sidebar, then AI & connected apps, then the AI providers tab.
-
In the AI assist card, click the picker beside Default AI provider. It shows the current provider and model.
-
Point to a provider and click one of its models.


A provider without a key is marked (not set up). The local model is listed once it’s downloaded, with the model you downloaded by name, for example Qwen3.5 9B. If it’s your default but not downloaded (for example, after you remove it), it shows (not downloaded). Choosing a model here also makes it that provider’s first model.
The picker always shows the choice you saved. When that choice can’t be used on this computer, a line under it says so and says what AI assist uses instead, for example Local model isn’t downloaded on this computer, so AI assist uses OpenAI. or OpenAI isn’t set up on this computer, so AI assist uses the local model. It’s only a note. You don’t have to do anything: download the model, or add the key, when you want to use your choice on this computer, or choose another provider.
Each computer works out what AI assist uses: your saved default if it can be used on this computer, otherwise the local model if it’s downloaded, otherwise the first provider you have set up. Your saved default is part of your settings, so it follows you to your other computers when your personal library syncs. Keys and the local model don’t, so a computer can use something different from your other computers until you set it up the same way. Adding or removing a key, and downloading or removing the model, never change your saved default.
Use your own AI server
If you run an AI model on a server that accepts the same requests as OpenAI’s, you can use it the same way as a provider.
- Click Settings in the sidebar, then AI & connected apps, then the AI providers tab.
- In the AI assist card, find Your own AI server, just below the other providers.
- Click Set up next to OpenAI-compatible server. In Server address, type the server’s full address, starting with http:// or https://, for example http://localhost:11434/v1.
- If your server needs a key, paste it in API key. If not, leave it blank.
- Under Models, type the name of a model on your server. There’s no model filled in here.
- Click Save, then Test connection.
In model lists it’s called OpenAI-compatible server. If the address box is empty, you see Enter the server address, for example http://localhost:11434/v1. If the address isn’t accepted, you see The server address must be a full web address starting with http:// or https://. Correct it and click Save again.
If replies from your server are slow
Many models can think before they answer, writing out reasoning you don’t see before the reply starts. Some servers, such as LM Studio, turn this on by default for models that support it. For the short jobs AI assist and Evaluate do, the thinking can take several times longer than the reply itself, so a model that writes quickly can still feel slow. PromptMason’s local model runs with thinking turned off.
To check, run AI assist once, then look at the AI assist activity widget on Home. If Reasoning is most of what was Received, the model spent most of its time thinking.
Thinking is a setting on your server, not in PromptMason, so turn it off there:
- LM Studio: open the model’s settings and turn off Enable Thinking, then load the model again.
- Other servers: look in the server’s documentation for its thinking or reasoning setting. Some models always think and can’t turn it off. For those, choose a model that doesn’t.
The change affects every app that uses the server, not only PromptMason.
Change or remove a key
- Replace a key: click Edit next to the provider, paste the new key in API key and click Save. Leaving the field empty keeps the saved key.
- Remove a key: click Edit next to the provider, then Remove in its box. The key is deleted from this computer straight away, without asking first, and you see Removed. Your Default AI provider doesn’t change. If the provider you removed is the default, it stays the default, marked (not set up), and a line under Default AI provider says what AI assist uses on this computer instead: the local model if it’s downloaded, otherwise the first provider you have set up. Choose another default if you want one.
Removing a key from PromptMason doesn’t cancel it with the provider. To stop the key working anywhere, delete it in your account on the provider’s website.
Where your keys are kept
- Keys are stored encrypted on this computer, for your account on it only.
- They’re never shown again after you save them, and never included when you export your library. Replacing your library from a file doesn’t touch them.
- On another computer, add your key in that computer’s Settings. Your Default AI provider follows you to your other computers, but keys don’t. A computer without the key uses the local model or another provider it has until you add the key.
Turn the AI features on
The AI assist and Evaluate buttons appear only when both of these are true:
- The AI assist switch is on in Settings → Features.
- At least one provider is set up, or the local model is downloaded.
If the switch is on but nothing is set up yet, Settings → Features shows a Set up AI assist link that opens this pane. Turn on AI assist and Use the local model, on the local model’s card, each turn the switch on for you.


Chat has its own switch, Chat, in Settings → Features. It adds Chat & Browse to the sidebar. With no provider set up, the Chat screen shows Set up AI to start chatting and a Download the free local model button, which opens this pane at the local model. See Show or hide features.