GPT
optimizedOpenAI 的轻量多模态模型,适合成本敏感、延迟敏感的生产流量。
Gateway metadata
GPT-4o mini 适合高并发分类、摘要、抽取和简单代理任务,在成本和响应速度之间保持稳健平衡。
128,000 context tokens with endpoints: /v1/chat/completions, /v1/responses.
Use the model id in any OpenAI-compatible request routed through the gateway.
curl
curl https://uouo.cloud/v1/chat/completions \
-H "Authorization: Bearer $UOUODUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [
{ "role": "user", "content": "Write a concise project status update." }
]
}'SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.UOUODUO_API_KEY,
baseURL: "https://uouo.cloud/v1"
});
const completion = await client.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Write a concise project status update." }]
});