# AI providers

Before we get started you will need to prepare which AI provider you intend to use. You can choose a single one, or mix them up. These are the options:

{% hint style="info" %}
Most online AI models require some sort of pay-as-you go credits. Ensure your account is active and has budget.
{% endhint %}

* **OpenAI**\
  Online. Requires API key, create a key [here](https://platform.openai.com/api-keys).\
  A *Tier 2+ API account is recommended, else you will run into rate limits. Upgrade to Tier 2 by adding at least $10 to your account.*
* **Groq**\
  Online. Requires API key, create a key [here](https://console.groq.com/keys).
* **Anthropic**\
  Online. Requires API key, create a key [here](https://console.anthropic.com/settings/keys).
* **OpenRouter**\
  Online. OpenRouter support is basic. Use the OpenAI provider,  and change the base url to "<https://openrouter.ai/api>". Requires API key, create a key [here](https://openrouter.ai/settings/keys).
* **Ollama**\
  On Device. Download Ollama [here](https://ollama.com/).

For most AI providers, the only required information is entering your API key, leave the other fields blank unless you have a specific reason to. OpenAI users that are part of multiple organizations, can fill in their organization id (`org-xxx`).

For OpenAI you can also select a voice as it can be used as a Text-To-Speech engine under general settings.

Ensure you make the AI provider of your choice the default, by clicking the set default button.

{% hint style="warning" %}
Though on-device AI is possible, the models are currently behind the cloud models in power and intelligence. Working with on-device models requires more effort from you, the user, to help the AI understand your intent. For beginning users, we recommend using one of the cloud models.
{% endhint %}


---

# 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://dreetje-1.gitbook.io/inbox-ai/ai-providers.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.
