1. Account Setup
1.2. Add AI models

Add AI models

Managing your usage with API keys

Before you start interacting with the various AI models, you need to add your API keys for the given model. The API key is a secret key/password that identifies you as a user for these companies that provide access to their AI models (e.g. OpenAI, Anthropic, Google, etc).

They require you to access their models only with a key mainly for the following reasons:

  1. Ensure that a specific user is not violating their terms of service (and in case block them).
  2. Check the usage of each user, and eventually charge them for their usage. (Some models are free to use or offer a free quota, and others are paid.)

Getting an API key

You can get an API key to get access to a model in one of the following ways:

  1. Create an account with each of the AI providers you want access to (e.g. OpenAI).
  2. OR create an account with Open Router (opens in a new tab) - a platform that enables you to access various popular models (e.g. GPT-4, Claude) and manage payments and usage with one account. This has the advantage of being much quicker to set up compared to the individual providers, but it's slightly more expensive due to the Open Router's fee.

Overall, we recommend the following:

  • If you are a developer or you already have one or more API keys, then you might probably add those to Quartzite.
  • If you are not familiar with API keys or want a simpler setup, then use Open Router. It's slightly more expensive but not significantly (approx 5% more).

Whatever you choose, you can always change it later in any case.

Here are some guides about how to get your chosen API key(s).

Guide: get an API key(s) with the various Providers (e.g. OpenAI, Anthropic)

You can decide which ones you need based on which models you want to access. Here’s a brief overview of the AI providers supported by Quartzite:

  1. Open AI: probably the most famous company in regards to AI at the moment. They offer GPT-3.5 and the latest GPT-4 (the same ones that are used by ChatGPT) for text generation, and Dall-E-3 for image generation. To get an API key with Open AI you will need to create an account on their website, then follow these instructions (opens in a new tab) to retrieve your API key.
  2. Anthropic: provider for Claude 3 (Opus, Sonnet, and Haiku). Claude 3 Opus has recently surpassed GPT-4 in terms of overall intelligence, so it's currently the most powerful model available. To get an API key with Anthropic you need to register on their website (opens in a new tab). They technically limit the API use to businesses (vs for private use), but it's possible to get an API key for testing purposes by verifying your phone number.
  3. Google: you can add a key to access Gemini-Pro, a model for text generation provided by Google. The great thing about Gemini is that is currently mostly free for personal use (see their page for details (opens in a new tab)). However, the access is restricted to some countries (opens in a new tab), but you can access it nonetheless if you have a VPN.
Guide: get an API key with Open Router

To get your API key with Open Router, follow these steps:

  1. Create an account with Open Router at https://openrouter.ai (opens in a new tab)
  2. Go to https://openrouter.ai/keys (opens in a new tab) and create a new key.
  3. Copy the value, and paste it into Quartzite's Settings page (opens in a new tab).

Once you've obtained your key, follow the next steps to add it to Quartzite.

Adding your API key

Go to Settings page

Once you have obtained an API key, add it to the Settings page. You can access it via the Sidebar.


Add your API key and save

Then, you can add your key in the respective area, depending on which API key you are adding (Open Router or other provider).


That’s it! You are now ready to start using Quartzite!