Skip to Content
NineTwo's

OpenAI compatibility levels

Compatibility boundaries, supported behavior, and explicit non-goals.

No full-parity claim

NineTwo's does not claim full OpenAI API parity. The NineTwo's public API defines an OpenAI-compatible subset at the /v1 compatibility boundary. Unlisted endpoints, fields, and SDK resources are not claimed.

Compatibility boundary

The URL major version (/v1) is the compatibility boundary.

  • Additive changes may introduce optional request/response fields, endpoints, scopes, and models without a major version. Clients must ignore unknown response fields and unknown SSE event fields.
  • Removing or renaming a field, changing a field type, narrowing an enum, or changing idempotency/replay semantics requires a new major version or an explicit migration window.
  • max_tokens remains a compatibility alias and will not be removed without a deprecation notice. The server does not currently emit Deprecation or Sunset headers.
  • Public model identity is zuv-0.5 / Zuv 0.5. Response id is the gateway execution UUID, not a backend chatcmpl-* id.

Levels used in this documentation

LevelDefinition
L0Not provided or not claimed.
L1Request/response shape documented in the public API reference for a defined subset.
L2L1 plus documented streaming, error, and idempotency/recovery semantics.
L3L2 plus automated verification against a named OpenAI SDK version. No surface is currently claimed at L3.
SurfaceLevelPublic API scope
GET /v1/modelsL1Discovery, conditional pricing, capability projection version 1.
POST /v1/chat/completions (non-streaming)L1Documented request fields, coded errors, gateway UUID identity.
POST /v1/chat/completions (streaming)L2SSE framing, stream_options.include_usage, settlement-gated [DONE], recovery semantics.
Error envelopeL1{"error":{"code","message"}} with stable codes; not a claim of identical OpenAI error types.
Idempotency and replayL2Canonical payload hashing/digest, same-key replay before serving dependencies, outage replay, cross-credential conflict, no-ID recovery.
GET /v1/requests/{id}, GET /v1/usage, GET /api/v1/statusNineTwo's-specificNot OpenAI-compatible surfaces.
OpenAI SDK end-to-end coverageNot claimedNo SDK version is certified by this documentation.

Request-field compatibility

FieldStatus
modelSupported; canonical public model is zuv-0.5. Discover availability first.
messagesSupported for system, user, and assistant string content, 1–100 messages.
max_completion_tokensCanonical output cap. Required unless max_tokens is supplied. Upper bound is dynamic.
max_tokensCompatibility alias. Used when max_completion_tokens is absent or null; normalized before idempotency hashing.
temperature, top_p, stopSupported within the canonical schema bounds.
streamOnly the literal boolean true enables streaming.
stream_optionsOnly boolean include_usage; unknown properties are rejected with invalid_stream_options.
reasoning_effortOptional; only low or xhigh. Other values are rejected.
tools, tool_choice, function callingNot claimed. The capability projection reports tool_calls: false for the current public profile.
reasoning_content in requestsNot a supported request parameter; unknown top-level fields are ignored.
Embeddings, images, audio, files, batch, fine-tuning, assistantsL0 / not claimed.

Unknown top-level fields are accepted and ignored for validation and idempotency. That is not a promise of future support; do not rely on ignored fields.

Structural validation runs before replay and never coerces invalid types: top-level JSON must be an object (invalid_request), message entries must be objects (invalid_messages), and stream must be boolean (invalid_stream). Documented parameter types are validated before replay.

Response differences to handle

  • id is a gateway execution UUID, not a chatcmpl-* string.
  • finish_reason may be stop, length, cancelled, or error.
  • The error envelope uses stable error.code values and may differ from OpenAI error type/param conventions.
  • usage exposes prompt_tokens, completion_tokens, and total_tokens.
  • reasoning_content is an unstable backend passthrough, not a stable gateway field. See Chat and streaming.
  • Replays of completed streaming requests return stored JSON chat.completion, not SSE. Replay is resolved before serving dependencies and creates no new financial or metering rows.
  • Reusing an idempotency key from a different credential in the same project returns 409 idempotency_conflict; there is no cross-credential replay, dispatch, or charge.
  • Pricing appears on /v1/models only when an active tariff exists; absence is not an error.

Using an OpenAI SDK

Only documented L1/L2 surfaces are candidates for SDK use. Configure the canonical base URL and API key, preserve idempotency keys across retries, and test the exact fields you depend on. Do not infer support for unlisted resources.

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.NINETWOS_API_KEY,
  baseURL: process.env.NINETWOS_BASE_URL,
});

const models = await client.models.list();
console.log(models.data.map((model) => model.id));

const completion = await client.chat.completions.create(
  {
    model: 'zuv-0.5',
    messages: [{ role: 'user', content: 'Hello' }],
    max_completion_tokens: 256,
  },
  {
    headers: { 'Idempotency-Key': 'sdk-example-001' },
  },
);
console.log(completion.choices[0]?.message?.content);

This example illustrates configuration only. It is not a certification of the OpenAI SDK, its retry defaults, or any particular SDK version.

On this page