Yunhai AI platform · One API, multiple modelsView offers
Yunhai
DocsConsoleEN / 中Sign in
Model catalog

GPT 5.1 Codex Mini

openai/gpt-5.1-codex-mini
Try model
OverviewPricingAPI integration

Overview

Model description: original source language.

(当前仅支持/v1/responses接口)GPT-5.1-Codex 的小参数快速版本。

Textopenai

Pricing

Pricing follows the current settings of your account group.

View available groups

API integration

Use a Yunhai API key to call configured models.

curl "$YUNHAI_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $YUNHAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-5.1-codex-mini","messages":[{"role":"user","content":"你好"}]}'