Skip to main content
  1. Base URL: https://app.trynito.ai/v1.
  2. API key: a nito_sk_ key.
  3. Model ID: a catalog ID from GET /v1/models, not an OpenAI name.
The SDK appends the operation path, so the base URL ends at /v1. A base URL ending in /v1/chat/completions doubles the path and fails. client.responses.create(...) reaches the stateless POST /v1/responses shim. See compatibility notes. The response is a standard chat.completion with exactly one choice; system_fingerprint is always null. Streaming, tool calling, prompt caching, and reasoning work as in the OpenAI SDK.

Privacy

Every ID in GET /v1/models runs inside attested hardware, with evidence you can verify. End-to-end encryption adds client-side encryption and request headers on top. See How Privacy Works.

Errors

  • An OpenAI model name. gpt-4o is not a catalog ID. See model mapping.
  • No /v1 on the base URL.
  • An OpenAI sk- key. Nito keys start with nito_sk_.

SDKs

Overview.

OpenAI SDK Drop-in

Quickstart.

Compatibility Notes

What differs.

Model Mapping

OpenAI names to Nito IDs.

Chat Completions

The endpoint.

How Privacy Works

Privacy-preserving hardware on every call.