Models and capabilities
Discover availability, dynamic limits, and feature flags.
List models
curl -sS "$NINETWOS_BASE_URL/models" \
-H "Authorization: Bearer $NINETWOS_API_KEY"GET /v1/models is the availability authority. It returns only models that
completed deployment, availability, entitlement, public-discovery activation,
and tokenizer readiness. An empty data array is a valid, safe response.
The current public model identity is zuv-0.5 (Zuv 0.5). Do not infer
availability from this page; always use the discovery response.
Capability projection
Each model includes a versioned capabilities object. The shape below is
illustrative only; the null values stand in for deployment-specific values.
{
"id": "zuv-0.5",
"object": "model",
"owned_by": "NineTwo's",
"capabilities": {
"version": "1",
"limits": {
"context_window": {
"profile": null,
"serving": null,
"effective": null
},
"max_output_tokens": {
"profile": null,
"serving": null,
"effective": null,
"recommended": null
}
},
"features": {
"streaming": null,
"cancellation": null,
"execution_lookup": null,
"tool_calls": null,
"reasoning_effort": null
}
}
}| Field | Meaning |
|---|---|
profile | Value from the caller's server-side capability profile. |
serving | Value from the active model release / serving endpoint metadata. |
effective | Safe client-facing value: the minimum of profile and serving when both are known. |
recommended | Recommended client output cap; currently equal to effective. |
features.* | Authoritative feature flag, or null when no authoritative source exists. |
reasoning_effort is accepted by the protocol but is not advertised as an
authoritative capability flag, so its feature value is null. The serving
reasoning budget is not client-controllable.
Use limits dynamically
const response = await fetch(`${process.env.NINETWOS_BASE_URL}/models`, {
headers: { Authorization: `Bearer ${process.env.NINETWOS_API_KEY}` },
});
const { data } = await response.json();
const model = data.find((entry) => entry.id === 'zuv-0.5');
if (!model) throw new Error('No discoverable model for this project');
const contextWindow =
model.capabilities.limits.context_window.effective;
const maxOutput =
model.capabilities.limits.max_output_tokens.recommended;Use contextWindow for client-side budgeting and maxOutput as the starting
max_completion_tokens value. Server-side enforcement remains profile-based.
Even when using the recommended cap, handle context_window_exceeded and
finish_reason: "length".
Dynamic limits are enforced for new or resumable work. Replay uses structural validation, so a previously accepted request remains replayable even if the current capability limits differ.
Do not hardcode limits
Context/output limits and the serving reasoning budget are dynamic
configuration values, not protocol constants. Read them from
capabilities on every deployment/profile change instead of embedding
fixed numbers in client code.