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

# Model Mapping

> OpenAI model names are not Nito IDs.

`gpt-4o`, `gpt-4o-mini`, and similar strings are OpenAI catalog names. Nito does not have them. The catalog is discovered at runtime and changes as models are added and retired, so fetch it and select by capability rather than hard-coding a name.

<CodeGroup>
  ```python Python lines wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
  from openai import OpenAI

  client = OpenAI(
      api_key="z_sk_your_key_here",
      base_url="https://app.trynito.ai/v1",
  )

  for m in client.models.list().data:
      print(m.id)
  ```

  ```typescript TypeScript lines wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import OpenAI from "openai";

  const client = new OpenAI({
    apiKey: "z_sk_your_key_here",
    baseURL: "https://app.trynito.ai/v1",
  });

  const models = await client.models.list();
  for (const m of models.data) {
    console.log(m.id);
  }
  ```
</CodeGroup>

## ID Shape

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
<vendor>/<model>[:confidential]
```

The base is the catalog ID, for example `moonshotai/kimi-k3` or `z-ai/glm-5.2`. `:confidential` selects the attested variant, published as its own catalog entry only for models with an attested build (`openai/gpt-5.5` has none; `z-ai/glm-5.2:confidential` is listed). `:encrypted` selects the [Encrypted](/api/api-reference/chat-and-text/encrypted) level and needs the Encrypted headers. Any other suffix is rejected.

OpenAI's current models appear under the `openai/` vendor: `openai/gpt-5.5`, `openai/gpt-5.4-mini`. See the [Model List](/models/all-models).

## Migration

1. List the OpenAI names your code uses.
2. Call `GET /v1/models` and note the IDs that match each capability.
3. Replace each name with the chosen ID, or select from the catalog at runtime.
4. For attested hardware, pick an ID ending in `:confidential`.

## Related

<CardGroup cols={3}>
  <Card title="SDKs" icon="screwdriver-wrench" href="/api/sdks">
    Overview.
  </Card>

  <Card title="Base URL Swap" icon="file-brackets-curly" href="/api/sdks/openai-drop-in/base-url-swap">
    The three changes.
  </Card>

  <Card title="Compatibility Notes" icon="arrows-left-right" href="/api/sdks/openai-drop-in/compatibility-notes">
    What differs.
  </Card>

  <Card title="Model ID Convention" icon="rectangle-list" href="/models/model-id-convention">
    How IDs are named.
  </Card>

  <Card title="List Models" icon="clipboard-list" href="/api/api-reference/models-catalog/list-models">
    The endpoint.
  </Card>

  <Card title="Privacy Levels" icon="file-shield" href="/privacy/levels">
    The four levels.
  </Card>
</CardGroup>


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