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

# Custom AI models: add providers and test access

> Add OpenAI, Anthropic or OpenAI-compatible providers with your API key. Configure model names, test capabilities and troubleshoot connection or image-model errors.

> [!TIP]
>
> Available for Pro plan and above

## Where to Configure It

1. Open the target space.
2. Click **Settings** in the top right corner.
3. Go to **AI settings**.

![AI settings page](https://mintcdn.com/teablecn/71V7YgMD29IHaSEB/images/docs/ai/2026-10-21-custom-model-ai-settings.png?fit=max\&auto=format\&n=71V7YgMD29IHaSEB\&q=85\&s=98258928c46dbae539b40316e79fb172)

## Setup Steps

Under **AI Capabilities**, turn on what you need:

* **AI Field**
* **AI Chat**

Enabling **AI Chat** controls whether the chat feature is available in the space.

The **Concurrency** row beneath **AI Field** sets how many AI field generations this space runs at the same time; the rest wait in the queue. Lower it when this space's bulk AI fills are slowing down other people's work, and raise it when you want a large fill to finish faster.

### Add LLM Provider

> [!NOTE]
>
> When you add a new LLM provider, choose **OpenAI**, **Anthropic**, or **OpenAI Compatible** as the provider type. Use **OpenAI Compatible** for services that expose an OpenAI-compatible API endpoint. If a task uses images, screenshots, or other visual input, choose a model with vision support. Models without vision support will fail on these multimodal tasks.

Click **Add LLM provider** and fill in the following:

* **Name**: Used to distinguish different providers.
* **Provider type**: Select the provider type.
* **Base URL**: Enter the provider's API endpoint.
* **API Key**: Enter the API key from the provider.
* **Models**: Enter the model names you want to connect. Separate multiple models with English commas.

![Add LLM provider dialog](https://mintcdn.com/teablecn/71V7YgMD29IHaSEB/images/docs/ai/2026-10-21-custom-model-add-provider.png?fit=max\&auto=format\&n=71V7YgMD29IHaSEB\&q=85\&s=9fed3cc12311fcf43e0e580bfda7965f)

### Test Model Capabilities

There are currently three ways to test:

* Click **Test** on the LLM provider row.
* Click **Test** on an individual model row.
* Click **Test Model Capabilities** in the top-right corner of the list to batch-test all configured models.

If a model is meant for image generation, confirm that **Image Generation Model** is checked before testing. Teable checks it automatically for models it recognizes as dedicated image models; if it is not selected automatically, check it manually. Once checked, Teable tests text-to-image and image-to-image capabilities. Otherwise, it tests the model as a regular text model.

## Configuration Tips

### Base URL and Models

> [!WARNING]
>
> Some Coding Plan keys may only work in designated coding tools and may not be standard API keys. Check the provider's terms before using them with third-party services. To connect Teable, use a standard API key created in the provider dashboard.

Common examples:

| Provider type | Base URL format | Example models |
| - | - | - |
| OpenAI | `https://api.openai.com/v1` | `gpt-5.5,o3,gpt-5-mini` |
| Anthropic | `https://api.anthropic.com/v1` | `claude-opus-4-8,claude-sonnet-5,claude-haiku-4-5` |
| OpenAI Compatible | The provider's OpenAI-compatible `/v1` endpoint | `gpt-5.5,gpt-5.4,o3,gpt-5-mini` |

> [!NOTE]
>
> Model names must match the provider documentation exactly and are case-sensitive. Separate multiple models with English commas.

Notes:

* Model names are case-sensitive. Use the exact names from the provider documentation.
* Some providers require no spaces after commas, for example `gpt-5.5,o3`.
* For **OpenAI Compatible** providers, use the model naming format required by that provider. Some services use `provider/model-name`.

## FAQ

> [accordion] All model tests failed
>
> Check whether the **Base URL** is correct, whether it was mistakenly filled with the provider homepage URL, or whether it has an extra trailing `/`. If you are using an OpenAI-compatible endpoint, also confirm that `/v1` is not missing.

> [accordion] I get a “Test failed” error
>
> Check whether the **API Key** is valid and whether the account still has credits or permission to call the model.

> [accordion] Connection timeout
>
> Check whether the **Base URL** is correct and whether your current environment can reach that address.

> [accordion] Model not found
>
> Make sure the **Models** value matches the provider documentation exactly, including case and separator format.

> [accordion] Testing fails when I use a Coding Plan key
>
> This kind of key may not support standard API calls, or the provider's terms may not allow third-party service use. Check the provider's Coding Plan terms first. To connect Teable, use a standard **API Key** created in the provider dashboard.

> [accordion] The image generation model test result looks wrong
>
> If the model is meant for image generation, check **Image Generation Model** first and then test again. Once checked, Teable tests text-to-image and image-to-image capabilities instead.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.