OpenCode Zen
openai/gpt-5-codex API
Call openai/gpt-5-codex by OpenCode Zen through one OpenAI-compatible API. Keep your SDK, change the base URL, and pay per token from your Yeap balance.
GPT-5 Codex 是由 opencode æä¾›çš„人工智能模型。
New LLM API accounts get $5 of free credit.
Quick start
Call openai/gpt-5-codex in a few lines
Use any OpenAI SDK or plain HTTP. Point the base URL at Yeap Cloud and set the model name.
curl https://llm.yeap.cloud/v1/chat/completions \
-H "Authorization: Bearer $YEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5-codex",
"messages": [{"role": "user", "content": "Hello"}]
}'openai/gpt-5-codex variants
Same model with a different reasoning effort, mode or snapshot. Use the exact name in the model field.
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
openai/gpt-5-codex-high | $1.13 | $9 |
openai/gpt-5-codex-low | $1.13 | $9 |
openai/gpt-5-codex-medium | $1.13 | $9 |