OpenAI Models

OpenAI Models

See Model Configuration for a full list of available model properties.

Overview

Use the procedure outlined below to configure and use OpenAI models within Profound AI. Note that OpenAI models require an API key in order to function properly.

Steps

  1. Go to the OpenAI website.

  2. Click Sign Up or Sign In in the top-right corner.

    1. You may need to provide payment details for API usage (see OpenAI pricing for details).

  3. Go the API keys section.

  4. Create a new secret key.

    1. You can provide an identifiable secret key name, such as: Profound AI Key.

  5. Copy the secret key and paste it into your config.js file, assigning it to the apiKey property.

    1. Keys generally starts with sk-.

Example

The default API format in Profound AI is the assistant format.

Starting with Profound.js 7.25.0, models with the responses format can be used via the apiFormat setting. See the GTP-5 examples below.

models: { "OpenAI o3 Mini": { provider: "openai", model: "o3-mini", apiKey: "sk-....." stream: true, additionalParams: { reasoning_effort: "medium", }, }, "OpenAI o1": { provider: "openai", model: "o1", apiFormat: "completion", apiKey: "sk-....." }, "GPT-4o": { provider: "openai", model: "gpt-4o", stream: true, apiKey: "sk-....." }, "gpt-5-mini": { provider: "openai", model: "gpt-5-mini-2025-08-07", apiFormat: "responses" }, "gpt-5-mini streaming": { provider: "openai", model: "gpt-5-mini-2025-08-07", apiFormat: "responses", stream: true } }