gpt-5-codex

GPT-5 · 每 Token

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

价格

官方价格LemonData 价格
输入¥8.75¥6.13
输出¥70.00¥49.00
缓存读取¥0.875¥0.875

参数量

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

最适合

聊天

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

费用计算器

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

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",
    "input": "Hello!"
  }'

常见问题

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

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

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

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

如何使用 gpt-5-codex API?

从 LemonData 获取您的 API key,然后使用任何兼容的 SDK 调用 https://api.lemondata.cc/v1/responses。有关集成的详细信息,请参阅上方的代码示例。

相关模型