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

# OpenAI

> Run workflow steps on GPT models from your own OpenAI account.

Add your OpenAI account to run workflow steps on OpenAI's models, billed to your OpenAI account. See [Your own AI providers](https://docs.spojit.com/ai-providers/overview.md) for how providers work.

## Get an API key

1. Sign in at [platform.openai.com](https://platform.openai.com/api-keys) and open **API keys**.
2. Create a key. A project key is a good choice: you can limit it to the project you use for Spojit, and see its spend separately.
3. Copy the key. It starts with `sk-`.

Your OpenAI account needs credit or a payment method, or requests are refused.

## Add it in Spojit

1. Open **Settings → AI providers** and select **Add provider**.
2. Choose **OpenAI**, give it a name and paste the key.
3. Select **Add provider**.

## Choose models

Add each model by its API id, as listed on [OpenAI's models page](https://platform.openai.com/docs/models). Use the id itself, not the name shown in ChatGPT. Spojit talks to OpenAI's Responses API, so every model listed there for the Responses API works.

Speech, image and embedding models aren't chat models and fail the Test.


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