gpt-5-codex-mini

GPT-5 · 每 Token

gpt-5-codex-mini可用缓存 50% 优惠
聊天工具调用快速上下文窗口: 272K最大输出 Token 数: 128K

价格

官方价格LemonData 价格
输入¥1.75¥1.22
输出¥14.00¥9.80
缓存读取¥0.875¥0.875

参数量

上下文窗口
272K tokens
最大输出 Token 数
128K tokens

最适合

聊天

对话式 AI、客户支持和问答

费用计算器

1M
0.5M
预估月度费用¥6.13

API 代码示例

POST/v1/responses
API 格式:
curl https://api.lemondata.cc/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxx" \
  -d '{
    "model": "gpt-5-codex-mini",
    "input": "Hello!"
  }'

常见问题

gpt-5-codex-mini 的费用是多少?

在 LemonData 上,gpt-5-codex-mini 的价格为每 1M 输入 Token $0.1750,每 1M 输出 Token $1.4000,比官方价格最高优惠 30%。

gpt-5-codex-mini 最适合做什么?

gpt-5-codex-mini 擅长 聊天, 工具调用, 快速。通过 LemonData 的统一 API 和单个 API 密钥即可访问。

如何使用 gpt-5-codex-mini API?

从 LemonData 获取您的 API 密钥,将 base URL 设置为 api.lemondata.cc/v1,并使用任何兼容 OpenAI 的 SDK。请参阅上方的代码示例。

相关模型