Union Alpha 是一款多模態模型,專為研究、程式設計與代理式工作流程打造,同時在廣泛的通用任務上提供前沿水準的效能。它接受文字與圖像輸入並輸出文字,具備 262K token 的上下文視窗,以及原生工具呼叫與結構化輸出(response_format)。 Union Alpha 是一款隱匿(cloaked)模型:在評估期間,其供應商不會公開。功能與可用性可能隨時變更,恕不另行通知。
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="stealth/union-alpha-free",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)max_tokensresponse_formattemperaturetool_choicetoolstop_p本週開發者的討論
@misc{orcarouter_union_alpha_free,
title = {Union Alpha (Free) API},
author = {stealth},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/stealth/union-alpha-free}
}stealth. (n.d.). Union Alpha (Free) API. OrcaRouter. https://www.orcarouter.ai/models/stealth/union-alpha-free