opencheap.si
鸣谢

OpenAI: Codex MiniAPI pricing

Codex Mini is a language model. It takes text in and writes text back.

每100万枚代币的价格
$1.50 / $6.00input / output
缓存的输入
$0.38per 1M tokens
服务提供商
1

服务提供商

1 provider ·

  • 支持的参数11

    抽样
    温度top_ptop_k种子logit_bias
    处罚
    存在惩罚
    输出
    停止response_format结构化输出
    工具
    工具工具选择
路由

按价格筛选的请求 (:floor) 或按速度 (provider.sort, :nitro),或为每秒代币数量设定下限. 路由的工作原理

支持的参数

根据该模型支持的参数,从其已发布的列表以及我们针对参数是否生效所进行的测试结果中,选择一个提供商。测试结果仅为某个时刻的快照,并非保证; provider.require_parameters 仅向支持其设置的所有参数的服务提供商发送请求。 必填参数

价格走势

未选择服务提供商
正在加载……

API

curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/codex-mini-latest", "messages": [{ "role": "user", "content": "Hi" }] }'

致电 Codex Mini 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/codex-mini-latest;其余代码保持不变。

About Codex Mini

请求示例
$0.02110,000 in + 1,000 out
端点
https://api.opencheap.si/v1
模型 ID

每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.

用文字表述价格

Codex Mini costs from $1.50 per 1M input tokens and $6.00 per 1M output tokens on OpenCheap, with cached input at $0.38 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.021, and 1,000 such requests about $21.00.

One provider serves Codex Mini on OpenCheap today.

Codex Mini is one of 113 OpenAI models on OpenCheap.

Prices as of 2026-12-04 11:48 UTC.

关于定价的问题

How much does the Codex Mini API cost per 1M tokens?

Codex Mini costs from $1.50 per 1M input tokens and $6.00 per 1M output tokens on OpenCheap, with cached input at $0.38 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

What does one Codex Mini request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.021, and 1,000 such requests about $21.00. Every answer reports its own cost in usage.cost.

Which providers serve Codex Mini?

One provider serves Codex Mini on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

How do I call the Codex Mini API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/codex-mini-latest. One OpenCheap key works for every model; the rest of your code stays the same.

OpenAI 的更多内容

All 113 OpenAI models →

类似型号

Compare Codex Mini with any model →Cheapest LLM API