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