> For the complete documentation index, see [llms.txt](https://docs.openiam.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openiam.com/administration-guide/platform/ai-assistant-supported-models.md).

# Supported model for the AI assistant

The one model the SelfService AI assistant supports, gpt-oss-120b on Oracle Cloud Infrastructure (OCI) Generative AI, with its license, context window and measured tool-calling accuracy, the OCI regio

**Applies to:** OpenIAM 2026.11.2

## What this is, and when you need it

The AI assistant service runs on one large language model: gpt-oss-120b, served on demand by Oracle Cloud Infrastructure (OCI) Generative AI. Read this page before you connect the AI assistant to its model: it describes the model, the OCI regions to choose from and what to enter, and how reliably the model picked the right tool in OpenIAM's tests. Other models, providers and self-hosted model servers are not supported in this release.

This page does not turn the assistant on; see [Turn on the AI assistant](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md). What people are told about where their data goes is on [Where the AI assistant sends people's data](https://docs.openiam.com/administration-guide/federation/mcp-server/ai-assistant-model-and-data-location.md).

## At a glance

|                          |                                                                                                                                                                      |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Model**                | gpt-oss-120b, OCI model ID `openai.gpt-oss-120b`                                                                                                                     |
| **Hosting**              | OCI Generative AI, on-demand inference                                                                                                                               |
| **Regions**              | `us-chicago-1` for the United States, `eu-frankfurt-1` for the European Union                                                                                        |
| **Credential**           | An OCI Generative AI application programming interface (API) key, created in the same region as the endpoint                                                         |
| **Where you connect it** | The **Model connection** section of the **AI Assistant** agent record's **Agent** tab. See [Connect the assistant to the model](#connect-the-assistant-to-the-model) |
| **Where the data goes**  | Every question leaves your network for OCI, in the region you configure                                                                                              |

## The model

|                                    |                                                                                                                                       |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| **Vendor**                         | OpenAI (United States)                                                                                                                |
| **License**                        | Apache-2.0                                                                                                                            |
| **Size**                           | 117 billion parameters, 5.1 billion active (mixture of experts)                                                                       |
| **Context window on OCI**          | 128,000 tokens, prompt and reply together. The assistant's instructions and its 31 tools take about 4,600 of them on a first question |
| **Output per call**                | At most 4,096 tokens, reasoning included, unless you change `MODEL_MAX_OUTPUT_TOKENS`                                                 |
| **Tool calling**                   | Yes                                                                                                                                   |
| **Measured tool-calling accuracy** | 91.2%                                                                                                                                 |

On OCI, the data of every question leaves your network for the region you configure. The assistant tells people so; see [Where the AI assistant sends people's data](https://docs.openiam.com/administration-guide/federation/mcp-server/ai-assistant-model-and-data-location.md).

### How the accuracy was measured

The figure comes from OpenIAM's evaluation set of 69 questions, run on 7 November 2026 against gpt-oss-120b on OCI Generative AI. The questions cover reading access, approvals and requests, confirming changes, safety cases and follow-up questions within one conversation. OpenIAM data was replaced by fixed test data, so the run measures the model, not your deployment. **Tool-calling accuracy** is the share of questions for which the model chose the right OpenIAM tools with the right details. The model answered all eight follow-up conversations correctly.

## Why this model

OpenIAM applies two rules to a model before it considers it for the assistant:

* **License rule.** The model is released under Apache-2.0, MIT or BSD. A community license that restricts how the model may be used fails.
* **Origin rule.** The model's vendor is not based in China.

gpt-oss-120b, from OpenAI under Apache-2.0, passes both. OpenIAM's evaluation tooling refuses to measure a model that fails either rule.

## Choose the region

OCI Generative AI serves gpt-oss on demand in a few regions only. Use the one that matches where your data may go:

| Region           | For                            | Endpoint                                                                      |
| ---------------- | ------------------------------ | ----------------------------------------------------------------------------- |
| `us-chicago-1`   | The United States. The default | `https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1`   |
| `eu-frankfurt-1` | The European Union             | `https://inference.generativeai.eu-frankfurt-1.oci.oraclecloud.com/openai/v1` |

The API key is an OCI Generative AI API key, not an OCI API signing key. It works only in the region it was created in, so the endpoint and the key must name the same region.

## Connect the assistant to the model

From 2026.11.2 the connection belongs to the assistant's agent record, **AI Assistant** (`AI_ASSISTANT_AGENT`), not to the AI assistant service's configuration. Enter it in the **Model connection** section of the record's **Agent** tab, as described in [Add the model connection](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md#add-the-model-connection):

| Field        | Value                                                                                                                        |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| **Provider** | **Oracle Cloud Infrastructure (OCI) Generative AI**, the only choice                                                         |
| **Base URL** | The endpoint of your region, from [Choose the region](#choose-the-region). It starts filled with the `us-chicago-1` endpoint |
| **Model**    | `openai.gpt-oss-120b`, the only entry. The ID has a dot after `openai`, not a slash                                          |
| **API key**  | The API key. It is stored in Vault, at `vault.secret.nhi.AI_ASSISTANT_AGENT.AI_ASSISTANT_MODEL`, and is never shown again    |

The **Model** list comes from the AI assistant service, which reports the one supported model in its health report:

{% code overflow="wrap" %}

```json
"supportedModels": [ { "provider": "oci", "model": "openai.gpt-oss-120b" } ]
```

{% endcode %}

The service reads the connection from Vault at startup and every `org.openiam.ai.assistant.connection.refresh-seconds`, 60 seconds by default, so a changed region or a rotated key needs no restart.

The properties that connected the service to OCI in 2026.11.1, `org.openiam.ai.assistant.model.provider`, `org.openiam.ai.assistant.oci.base-url`, `org.openiam.ai.assistant.oci.model` and `org.openiam.ai.assistant.oci.api-key`, are removed, and so is the Vault entry `vault.secret.org.openiam.ai.assistant.oci.api-key`. A properties file that still sets one is reported at startup with `removed properties ignored:`, and the value has no effect.

## Settings for the model calls

Two settings of the AI assistant service shape every call it makes to the model for an answer. Set them in `${confpath}/conf/properties/ai-assistant.properties`, then restart the AI assistant service. The environment variable beside each one overrides the file.

| Property                                           | Environment variable      | Default  | What it does                                                                                                                                                                                                                                                                                     |
| -------------------------------------------------- | ------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `org.openiam.ai.assistant.model.max-output-tokens` | `MODEL_MAX_OUTPUT_TOKENS` | `4096`   | Most tokens one model call may produce, its reasoning included. It stops a runaway answer from running until the call times out. A value below `2048` is raised to `2048`, and the service's startup log says so with `RAISED from`. Anything other than a positive whole number reads as `4096` |
| `org.openiam.ai.assistant.model.reasoning-effort`  | `REASONING_EFFORT`        | `medium` | How long gpt-oss reasons before it answers: `low`, `medium` or `high`, or `default` to leave it to OCI, which is the same as `medium`. Anything else reads as `medium`. The follow-up suggestions and the conversation title always ask for `low`                                                |

### Choose the reasoning effort

OCI Generative AI honors the reasoning effort for gpt-oss-120b. In OpenIAM's tests on 18 November 2026, the same two questions produced:

| Effort                                         | Output tokens per answer | Time per answer    |
| ---------------------------------------------- | ------------------------ | ------------------ |
| `low`                                          | 76 to 99                 | 1.1 to 1.4 seconds |
| Nothing sent, which gpt-oss treats as `medium` | 214 to 344               | 1.9 to 2.6 seconds |
| `high`                                         | 1,510 to 1,531           | 9 to 9.4 seconds   |

`low` costs a quarter to a third of the output tokens of `medium` and answers faster, but it more often stops after the first lookup: it answers in prose where it should look a second thing up or offer the card that approves a task or requests access. Of ten test questions, `low` answered six as expected. With nothing sent, seven of the eight that ran were answered as expected, and `medium` answered three of the four that failed at `low`. Keep `medium` unless cost or speed matters more to you than that, and watch the answers for a while after you change it.

### When an answer reaches the output cap

The answer's text stops where the cap cut it, and an error box titled `The assistant ran into a problem` follows it, with `The assistant could not put together an answer. Please try again.` and **Retry**. The answer gets no follow-up suggestions. The same box appears without any text when the model used the whole cap reasoning. The service log shows `a model step reached the output cap (MODEL_MAX_OUTPUT_TOKENS=4096)` for each call the cap cut.

If the cap cuts the model while it writes an OpenIAM lookup, the lookup is not made. The model is told so and continues, so the answer may still arrive. If the model does not make the lookup again, an `An OpenIAM lookup failed` box follows the answer.

Answers of gpt-oss-120b on OCI rarely come near the cap: in OpenIAM's tests one call produced at most 699 tokens.

## Verification

On the host that runs the AI assistant service, read its health report:

{% code overflow="wrap" %}

```bash
curl -s http://localhost:8790/api/health
```

{% endcode %}

`model` reads `oci:openai.gpt-oss-120b`, `egress` reads `cloud`, `source` under `connection` reads `agent`, and `status` under `components.model` reads `up`. On the record's **Agent** tab, **Status** reads `Connected`.

## Models that are not offered

These families are not offered, whatever their size or quality, because they fail one of the rules.

| Family                                                                                                           | Rule it fails                                                           |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| Llama (Meta)                                                                                                     | License rule: the Llama community license is not Apache-2.0, MIT or BSD |
| Gemma (Google)                                                                                                   | License rule: the Gemma terms of use are not Apache-2.0, MIT or BSD     |
| Qwen, DeepSeek, GLM, Kimi, MiniMax, Yi, Baichuan, Hunyuan, InternLM and other models from vendors based in China | Origin rule                                                             |

## When it goes wrong

| Symptom                                                                                                                                                                     | Likely cause                                                                                                             | Resolution                                                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `source` under `connection` in the health report is `none`, and `components.model` shows `no_model_connection`                                                              | No connection is saved on the **AI Assistant** record, or the AI assistant service cannot read it from Vault             | [Add the model connection](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md#add-the-model-connection). If one is saved, see [Turn on the AI assistant](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md#when-it-goes-wrong) |
| `source` under `connection` is `override`                                                                                                                                   | The AI assistant service runs on a development override set in its environment variables, not on the record's connection | Remove the override, as described in [Turn on the AI assistant](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md#when-it-goes-wrong)                                                                                                                          |
| `components.model` in the health report is `down` with `http_401`                                                                                                           | The API key was created in another region than the **Base URL** names                                                    | Replace the key with one created in the base URL's region, or point **Base URL** at the key's region                                                                                                                                                                                            |
| `components.model` is `down` with `http_404`                                                                                                                                | The **Base URL** names a region that does not serve gpt-oss on demand, or the model ID is wrong                          | Use one of the endpoints in [Choose the region](#choose-the-region), and the model ID `openai.gpt-oss-120b`                                                                                                                                                                                     |
| `components.model` is `up` with `"error": "throttled"`                                                                                                                      | OCI answered `429`: the endpoint and the key work, but the tenancy is over its request limit                             | Expected. The assistant stays available, and a question refused meanwhile can be retried                                                                                                                                                                                                        |
| Answers stop mid-sentence, followed by `The assistant could not put together an answer. Please try again.`, and the service log shows `a model step reached the output cap` | The answer reached `MODEL_MAX_OUTPUT_TOKENS`                                                                             | **Retry**, or ask a narrower question. If it happens often, raise `MODEL_MAX_OUTPUT_TOKENS`, or lower `REASONING_EFFORT` from `high`. See [When an answer reaches the output cap](#when-an-answer-reaches-the-output-cap)                                                                       |
| The assistant often answers in prose where it should look something up or offer an approval or request card                                                                 | `REASONING_EFFORT` is `low`                                                                                              | Set it to `medium`, the default. See [Choose the reasoning effort](#choose-the-reasoning-effort)                                                                                                                                                                                                |
| The assistant disappears from SelfService soon after you connect the model                                                                                                  | The model cannot be reached, or does not answer                                                                          | See [When the model stops answering](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md#when-the-model-stops-answering)                                                                                                                                         |

## Related

* [Turn on the AI assistant](https://docs.openiam.com/administration-guide/platform/turn-on-the-ai-assistant.md): the model connection, who is offered the assistant, and what happens when its model stops answering
* [Where the AI assistant sends people's data](https://docs.openiam.com/administration-guide/federation/mcp-server/ai-assistant-model-and-data-location.md): the model and data line people see
* [AI assistant conversation history](https://docs.openiam.com/administration-guide/platform/ai-assistant-conversation-history.md): how much of a conversation the model is sent


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openiam.com/administration-guide/platform/ai-assistant-supported-models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
