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

# OpenAI

> Configure PipesHub Workplace AI to use different OpenAI models

# OpenAI Configuration

<img src="https://mintcdn.com/pipeshub/xDYTCu7XyGABzJ1N/images/ai-models/llm/OpenAI_LLMConfig.png?fit=max&auto=format&n=xDYTCu7XyGABzJ1N&q=85&s=6bbb8ea5597254e9b729fc8e759735fd" alt="OpenAI Configuration Interface" width="669" height="1003" data-path="images/ai-models/llm/OpenAI_LLMConfig.png" />

*The OpenAI configuration screen in PipesHub where you'll enter your API Key and Model Name*

PipesHub allows you to integrate with OpenAI's powerful language models to enable AI features in your workspace.

## Required Fields

### API Key

The OpenAI API Key is required to authenticate your requests to OpenAI's services.

**How to obtain an API Key:**

1. Log in to your [OpenAI account](https://platform.openai.com/account/api-keys)
2. Navigate to the API section
3. Create a new secret key
4. Copy the key immediately (it will only be shown once)

**Security Note:** Your API key should be kept secure and never shared publicly. PipesHub securely stores your API key and uses it only for authenticating requests to OpenAI.

### Model Name

The Model Name field defines which OpenAI model you want to use with PipesHub.

**Popular OpenAI models include:**

* `gpt-5` - OpenAI's latest flagship model, best for complex reasoning and agentic tasks.
* `gpt-5-mini` - Faster, more cost-effective option for many use cases.
* `gpt-5-nano` - Fastest, most cost-efficient version of GPT-5.

**How to choose a model:**

* For the latest features and best performance, select `gpt-5`
* For routine tasks and lower latency, select `gpt-5-mini`
* For very low latency and cost-effective tasks, select `gpt-5-nano`
* Check OpenAI's [model documentation](https://platform.openai.com/docs/models) for the most up-to-date options

## Configuration Steps

As shown in the image above:

1. Click **Configure** on the OpenAI provider card
2. Enter your OpenAI API Key in the designated field (marked with \*)
3. Specify your desired Model Name (marked with \*)
4. Click **Add Model** to save and validate your credentials

> Both the API Key and Model Name are required fields to successfully configure OpenAI integration.

## Usage Considerations

* API usage will count against your OpenAI account's quota and billing
* Different models have different pricing - check OpenAI's pricing page for details
* Model capabilities vary - more powerful models may provide better results but at higher cost

## Troubleshooting

* If you encounter authentication errors, verify your API key is correct and has not expired
* Ensure your OpenAI account has billing set up if you're using paid models
* Check that the model name is spelled correctly and is available on your OpenAI account tier

For additional support, refer to the [OpenAI documentation](https://platform.openai.com/docs/overview) or contact PipesHub support on our Discord.
