Quick start
Use any OpenAI-compatible client. No special SDK is needed.
- Base URL (beta)
- https://api.crowdrouter.com/v1
- Authentication
- Authorization: Bearer <your key>
- Model
- qwen3.8-27b
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.crowdrouter.com/v1",
api_key=os.environ["CROWDROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="qwen3.8-27b",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in reply:
print(chunk.choices[0].delta.content or "", end="")Supported features in the beta
Anything not listed here is rejected with a clear error, rather than silently ignored.
- POST /v1/chat/completions
- Streaming
- stream_options.include_usage
- max_tokens
- temperature
- top_p
- stop
- seed
- n
- tools and tool_choice
- response_format
- reasoning_effort
Models
Pass the model ID in the model field.
- qwen3.8-27bCoding, agents, structured output ยท 128K context
Model changes
When a model is retired we announce it, give a removal date, and tell anyone still using it before that date arrives.