API
Inference API
Use one OpenAI-compatible request format across model deployments, public models and LLM Model Routing endpoints.
One request shape
Send chat completions, embeddings and supported OpenAI parameters to https://api.qdiv0.com/v1. The model field selects a deployment, a public model or a routing endpoint.
In Try models, choose Chat or Embeddings, select an available model and run a sample. Open Code to inspect the corresponding request and SDK example.
1import os
2from openai import OpenAI
3
4client = OpenAI(
5 base_url="https://api.qdiv0.com/v1",
6 api_key=os.environ["QDIV0_API_KEY"],
7)
8
9response = client.chat.completions.create(
10 model="your-serving-name",
11 messages=[{"role": "user", "content": "Hello"}],
12)
13
14print(response.choices[0].message.content)Choose the backend
Use a deployment serving name for capacity-based workloads, a catalog identifier for metered models, or an LLM Model Routing serving name when QDivZero should choose the destination.
Operational controls
Streaming, tool use and LLM Firewall are request-level capabilities. Enable them without introducing another gateway or changing SDKs.
Zero logs and conversation continuity
QDivZero applies zero logs to inference content across its services. The only exception is the Responses API, which retains the conversation context needed to continue it. To maintain compatibility with the OpenAI API contract, Responses returns an id that your application can send as previous_response_id in a later request. Context retention is enabled by default with store: true.
This content is retained solely to provide conversation continuity. Under its provider-user privacy policy, QDivZero does not access it or use it for other purposes, including model training. It is not sent to the companies that develop the models.
- The first Responses request returns a response object with its id.
- A later request can pass that id as previous_response_id to continue from the retained context.
- You can delete the logs at any time from the platform.
Responses without persistence
If account persistence is disabled, Responses requests with store: true or previous_response_id fail. You can still use Responses with store: false and no previous_response_id; your application must manage any history it sends in each request.
In the platform, review the persistence setting and select a supported API in Try models → Chat. You can also use Chat Completions and send the history in messages.
1response = client.responses.create(
2 model="your-serving-name",
3 input="Hello",
4 store=False,
5)
6
7print(response.output_text)API example
Send a stateless Responses request. Replace my-model with a compatible identifier.
Set QDIV0_API_KEY to an account tk_ key or personal uk_ key. A personal key uses its default account unless you select another with X-Account-ID.
1curl --fail-with-body \
2 --request POST \
3 "https://api.qdiv0.com/v1/responses" \
4 -H "Authorization: Bearer $QDIV0_API_KEY" \
5 -H "Content-Type: application/json" \
6 --data '{"model":"my-model","input":"Hello","store":false}'