> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alterhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Up TypingMind with Alter API

> Connect TypingMind to Alter API Router using OpenAI Chat Completions format

Use this guide to add Alter as a custom provider in TypingMind.

## Open Custom Model Setup

In TypingMind, go to:

`Settings` -> `Models` -> `+ Add Custom Model`

## 1) Basic Configuration

Set the fields as follows:

* `Name`: `Alter`
* `API Type`: `OpenAI Chat Completions API`
* `Endpoint URL`: `https://alterhq.com/api/v1/chat/completions`
* `Model ID`: choose one from the supported IDs below
* `Context Length`: default value, or any value you prefer

<img src="https://mintcdn.com/alter-95c0cbf0/kCIiz-VJZWlVWe4I/images/integrations/typingmind-basic-config.png?fit=max&auto=format&n=kCIiz-VJZWlVWe4I&q=85&s=28fe1467650bdb191c2757780b944a5c" alt="TypingMind basic configuration" width="589" height="1280" data-path="images/integrations/typingmind-basic-config.png" />

## 2) Authentication

In the Authentication section:

* `Authentication Type`: `No authentication`

Note: We will pass the API key manually via Custom Headers in the next step.

## 3) Advanced Configuration (Required)

Expand `Advanced` at the bottom, then add a Custom Header pair:

* `Key` (left): `Authorization`
* `Value` (right): `Bearer <YOUR_API_KEY>`

Replace `<YOUR_API_KEY>` with your real Alter API key.
Make sure there is one space between `Bearer` and your key.

<img src="https://mintcdn.com/alter-95c0cbf0/kCIiz-VJZWlVWe4I/images/integrations/typingmind-auth-header.png?fit=max&auto=format&n=kCIiz-VJZWlVWe4I&q=85&s=178979d941cebfe5016ee1c809e5e359" alt="TypingMind authorization header" width="589" height="1280" data-path="images/integrations/typingmind-auth-header.png" />

## Supported Model IDs

Copy the Model ID exactly as shown.

### Claude (Anthropic)

* `Claude#claude-3-5-sonnet-latest`
* `Claude#claude-3-7-sonnet-20250219`
* `Claude#claude-3-opus-20240229`
* `Claude#claude-3-haiku-20240307`

### OpenAI

* `OpenAI#gpt-4o`
* `OpenAI#gpt-4o-mini`
* `OpenAI#chatgpt-4o-latest`
* `OpenAI#gpt-4-turbo`

### Gemini (Google)

* `Gemini#gemini-2.0-flash-001`
* `Gemini#gemini-2.0-flash-lite-001`
* `Gemini#gemini-1.5-pro`
* `Gemini#gemini-1.5-flash`

### DeepSeek and Others (via Providers)

* `Together#deepseek-ai/DeepSeek-R1`
* `Together#deepseek-ai/DeepSeek-V3`
* `Groq#deepseek-r1-distill-llama-70b`
* `Perplexity#sonar-pro`

<Tip>
  Need current model availability? Check [API Model Reference](/references/api-model-names).
</Tip>
