ZETA AI

What does OpenAI-compatible mean?

All AI services are operationalUpdated 04:11 · details on status.zeta.nl
  • TextOperational< 1 ms
  • VisionOperational< 1 ms
  • SearchOperational14 ms
  • SpeechOperational14 ms
Last 30 days90 of 90 days without incident
OpenAI-compatible means that an AI service uses the same addresses, fields and responses as the OpenAI API, so programs written for OpenAI also work with that service. With ZETA AI by ZETA (ai.zeta.nl) you change three lines for that: the address, the key and the model name.

Why this is useful

The OpenAI API is the shape most AI programs and libraries know: packages for Python and Node.js, no-code tools and chat programs. A service with the same shape does not make you install anything. You use the package you already have and point it to another address.

The three lines

base_url   https://ai.zeta.nl/v1
api_key    your key from the ZETA portal
model      a name from GET /v1/models or the models page

The address ends in /v1. An administrator of your organisation makes the key in the portal under AI & Data, Keys. You copy the model name literally from GET /v1/models or from the models page; names of other services do not work.

What does and does not carry over

  • Yes: questions and conversations (/v1/chat/completions), also word by word (streaming), tools, a fixed answer format (JSON), images as base64, embeddings and speech to text.
  • No: the Responses API, Assistants, files, image generation and spoken answers. More than one answer per question (n greater than 1) is refused.
  • Different: fields that do nothing on our models are left out and named in the header X-Ignored-Params. Errors have the OpenAI shape plus a field fout in Dutch; our codes differ, so handle errors by HTTP status.

The full table is under OpenAI compatibility.

Common mistakes

What goes wrongWhat you seeWhat you do
The address without /v1404, onbekend_padUse https://ai.zeta.nl/v1 as the base URL.
A model name from another service404, model_niet_gevondenCopy a name literally from GET /v1/models.
Calling from an address that is not on the key403, adres_niet_toegestaanAn administrator adds the public IP address of your server to the key.
An image as an internet address400, ongeldige_aanvraagSend the image as base64 inside the request.
The key in shared codeA leaked keyPut it in an environment variable. Leaked anyway? Make a new key and switch the old one off.
Handling errors by OpenAI's error codeErrors your program does not recogniseHandle by HTTP status; retry 429 and 5xx after Retry-After.

Every code with cause and solution: Errors.

Questions

Do I have to install a library from ZETA?

No. You use the official OpenAI package for Python or Node.js, or any other program that can work with the OpenAI API, and change the three lines. See Quickstart.

Does my chat program or no-code tool work too?

Any program with an "OpenAI-compatible" setting or its own base URL: n8n, Open WebUI, LibreChat, Continue and more. See Connect n8n, Open WebUI and more.

Do I get the same answers as with OpenAI?

No. The shape is the same, the models are different: open models on our own servers, see the models page. So test your application with our models before you switch.

What is in the field model of the response?

The name you asked for. Behind a name that always points to the newest model, the model itself can change; we announce such a switch 14 days in advance.

Questions? Contact your ZETA contact person or your supplier. Mention the time and the x-request-id of the request.