Docs
Getting started
The API is compatible with the OpenAI API, so the official OpenAI SDKs work against it without changes. Set three things: the base URL, your key and a model name.
- Base URL
- https://api.modelsheep.com
- Header
- Authorization: your key
- Model
- Qwen/Qwen3.5-35B-A3B-FP8
The key may carry the word Bearer in front of it or not. Both are accepted, so an SDK that adds the prefix needs no change. A tool that cannot set a header may pass it as ?token= instead, which is read the same way.
from openai import OpenAI
client = OpenAI(
base_url="https://api.modelsheep.com",
api_key=API_KEY_MODELSHEEP,
)
response = client.chat.completions.create(
model="Qwen/Qwen3.5-35B-A3B-FP8",
messages=[
{
"role": "user",
"content": "Why do sheep count people?"
}
],
max_tokens=200,
)
print(response.choices[0].message.content)