Models
Call a ready-to-use model
Select a catalog model through the standard QDivZero inference endpoint.
Use the catalog identifier
Copy the exact identifier shown in the model catalog and pass it in the model field.
In Try models → Chat, select an available public model and send a prompt. Open Code to copy an example with the selected identifier.
The example public: identifier can consume prepaid balance; check the price before sending the request.
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="public:deepseek-v4.1-flash",
11 messages=[{"role": "user", "content": "Hello"}],
12)
13
14print(response.choices[0].message.content)Supported capabilities
Streaming, function calling, JSON mode and stop sequences depend on the native capabilities of the selected model. QDivZero returns recorded token usage with the response.
API example
Send a request to a public model. Check its identifier and price: public: variants can consume prepaid balance.
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/chat/completions" \
4 -H "Authorization: Bearer $QDIV0_API_KEY" \
5 -H "Content-Type: application/json" \
6 --data '{"model":"public:deepseek-v4.1-flash","messages":[{"role":"user","content":"Hello"}]}'