Skywork-OR1-32B
Kunlun Skywork's open-weight 32B reasoning language model trained via large-scale rule-based reinforcement learning and multi-stage chain-of-thought optimization for competition mathematics and algorithmic code generation.
What you can do
- Olympiad and STEM math derivation
- Algorithmic code synthesis and debug
- Complex multi-constraint logic verification
Input & output
- Input
- Mathematical proofs, algorithmic programming problems, or multi-constraint logical deduction prompts in Chinese or English.
- Output
- Explicit chain-of-thought reasoning traces followed by verified mathematical solutions or executable code.
Try a prompt like this
给定一棵包含 N 个节点(N ≤ 2×10^5)的带权无根树,支持动态修改单条边权并在线查询树的直径长度,请推导时间复杂度最优的数据结构方案并给出完整的 C++20 实现。
Things to know
Apache-2.0 licensed (built on Qwen2.5-32B architecture); BF16 serving requires ~68GB VRAM (1×80GB or 2×48GB GPUs), or ~22GB VRAM with AWQ/GPTQ INT4 quantization; emits lengthy thinking chains that consume output token budget.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
Skywork/Skywork-OR1-32B
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="Skywork/Skywork-OR1-32B",
messages=[{"role": "user", "content": "给定一棵包含 N 个节点(N ≤ 2×10^5)的带权无根树,支持动态修改单条边权并在线查询树的直径长度,请推导时间复杂度最优的数据结构方案并给出完整的 C++20 实现。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide