OpenAI: GPT 4.1API pricing
OpenAI's GPT-4.1 is a non-reasoning model for instruction following and tool calling, with wide knowledge across many fields. It takes text and images as input and returns text.
- 每100万枚代币的价格
- $2.00 / $8.00input / output
- 缓存的输入
- $0.50per 1M tokens
- 上下文
- 1M tokens32K max output
- 服务提供商
- 5
- 最快
- 131 tok/sNanoGPT
服务提供商
5 providers ·
1M 上下文 · 32K 最大输出
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M 上下文 · 32K 最大输出
支持的参数10
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
1M context · 942K max output
支持的参数7
- 抽样
温度top_p种子- 输出
response_format结构化输出- 工具
工具工具选择- 未确认
停止
1M 上下文 · 32K 最大输出
支持的参数7
- 抽样
温度top_p种子- 输出
response_format结构化输出- 工具
工具工具选择- 未确认
停止
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/gpt-4.1", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-4.1",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gpt-4.1",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 GPT 4.1 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/gpt-4.1;其余代码保持不变。
About GPT 4.1
- 标价
- $2.00 / $8.00in / out per 1M
- 请求示例
- $0.02810,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.
用文字表述价格
GPT 4.1 costs from $2.00 per 1M input tokens and $8.00 per 1M output tokens on OpenCheap, with cached input at $0.50 per 1M tokens. Its list price is $2.00 per 1M input tokens and $8.00 per 1M output tokens, the same as here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.028, and 1,000 such requests about $28.00.
5 providers serve GPT 4.1 on OpenCheap. Its context window is 1M tokens (1,047,576), room for roughly 790,000 words of English in one request.
GPT 4.1 is one of 88 OpenAI models on OpenCheap.
The public list price is $2.00 per 1M input tokens and $8.00 per 1M output tokens. OpenCheap is from $2.00 and $8.00, as of 2026-12-04 11:09 UTC.
Prices as of 2026-12-04 11:09 UTC.
关于定价的问题
How much does the GPT 4.1 API cost per 1M tokens?
GPT 4.1 costs from $2.00 per 1M input tokens and $8.00 per 1M output tokens on OpenCheap, with cached input at $0.50 per 1M tokens. Prices as of 2026-12-04 11:09 UTC.
What does one GPT 4.1 request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.028, and 1,000 such requests about $28.00. Every answer reports its own cost in usage.cost.
Is GPT 4.1 cheaper on OpenCheap than its list price?
Its list price is $2.00 per 1M input tokens and $8.00 per 1M output tokens, the same as here.
Which providers serve GPT 4.1?
5 providers serve GPT 4.1 on OpenCheap. 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.
What is the context window of GPT 4.1?
Its context window is 1M tokens (1,047,576), room for roughly 790,000 words of English in one request.
How do I call the GPT 4.1 API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gpt-4.1. One OpenCheap key works for every model; the rest of your code stays the same.
OpenAI 的更多内容
- gpt-oss-120bgpt-oss-120b0.0049 美元 / 0.021 美元 每 100 万 · 13.1 万 上下文
- gpt-oss-20bgpt-oss-20b每100万·13.1万上下文为 $0.0003 / $0.0015
- GPT 5.5gpt-5.5每1M · 1M上下文 $2.00 / $12.00
- Codex Minicodex-mini-latest每1M 1.50美元 / 6.00美元
- GPT-3.5 Turbo(旧版 v0613)gpt-3.5-turbo-0613每1M·4K内容 $1.05 / $2.10
- GPT-3.5 Turbo 16kgpt-3.5-turbo-16k每1M·16K上下文 $3.15 / $4.20
- GPT-4gpt-431.50 美元 / 63.00 美元 每 1M · 8.1K 上下文
- GPT 4.1 Minigpt-4.1-mini每1M·1M上下文 $0.40 / $1.60
类似型号
- 克劳德 作品5.5Anthropic · 100万词上下文每1M 2.16 美元 / 10.80 美元
- 克劳德·索内特 5Anthropic · 100万词上下文$1.10 / $5.50 per 1M32 % cheaper
- Qwen3.8 Max PrimeQwen · 1M 语料库$2.80 / $8.40 per 1M
- MiMo V2.6 Pro 超高速版小米 · 1M 上下文$4.09 / $8.18 per 1M
- Muse WonderMeta · 100万上下文$1.40 / $7.00 per 1M14 % cheaper
- OrcaCyber Zero 1.0OrcaRouter · 999K 上下文$3.00 / $7.50 per 1M
Compare GPT 4.1 with any model →Cheapest LLM APICheapest GPT API