OpenAI
Synthorai 上的全部 OpenAI 模型:一个端点,实时价格。
21 个模型 · chat / code / tools / reasoning · 输入价低至 $0.2/M
为什么经 Synthorai 使用 OpenAI
- 自带密钥(BYOK)。 自带你的 OpenAI 密钥,零加价,早期访问期间免费。
- 零提示词留存。 网关默认零提示词留存;上游适用 OpenAI 自身的 API 数据政策。 详情 →
- 提示词缓存。 提示词超过最小长度后自动进行前缀缓存,无需改代码;缓存读取有折扣(当前模型最高 90%),且没有写入费。 缓存读取低至 $0.1/M。
OpenAI 模型与价格
| 模型 | 输入 /M | 输出 /M | 缓存读取 /M | 上下文 |
|---|---|---|---|---|
| GPT-5.4 Pro | $30 | $180 | $15 | 922K |
| GPT-5.5 Pro | $30 | $180 | — | 1.1M |
| GPT-5.5 | $5 | $30 | $0.5 | 922K |
| GPT-5.6 | $5 | $30 | $0.5 | 1.1M |
| GPT-5.6 Sol | $5 | $30 | $0.5 | 1.1M |
| GPT Image 1 | $5 | $40 | — | — |
| gpt-image-1.5 | $5 | $32 | — | — |
| GPT Image 2 | $5 | $30 | — | — |
| GPT-4o Transcribe | $2.5 | $10 | — | 16K |
| GPT-4o Transcribe Diarize | $2.5 | $2.5 | — | 16K |
| GPT-5.4 | $2.5 | $15 | $1.25 | 922K |
| GPT-5.6 Terra | $2.5 | $15 | $0.25 | 1.1M |
| GPT Image 1 Mini | $2 | $8 | — | — |
| GPT-5.2 | $1.75 | $14 | $0.875 | 400K |
| GPT-5.2 Codex | $1.75 | $14 | $0.875 | 400K |
| GPT-5.3 Codex | $1.75 | $14 | $0.875 | 400K |
| GPT-4o Mini Transcribe | $1.25 | $5 | — | 16K |
| GPT-5.6 Luna | $1 | $6 | $0.1 | 1.1M |
| GPT-5.4 Mini | $0.75 | $4.5 | $0.375 | 400K |
| GPT-5.4 Nano | $0.2 | $1.25 | $0.1 | 400K |
| Whisper v1 | $0.006/min | — | — | — |
厂商牌价,无平台加价。各模型页价格实时刷新。 以下为官方 list 价。登录客户可在 /console/pricing 查看含工作空间折扣的实际价格。
30 秒用上 OpenAI 模型
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="gpt-5.4-pro",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "gpt-5.4-pro",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4-pro",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "gpt-5.4-pro",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("gpt-5.4-pro")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 OpenAI
OpenAI 的 API 覆盖 GPT 聊天家族、o 系列推理模型、图像生成和语音转文字。在 Synthorai 上,每个 OpenAI 模型都位于你已在使用的同一个端点和 SDK 之后:换掉 base_url,代码不用改。按量付费价格实时更新,提示词缓存读取按厂商费率计费。
常见问题
不订阅怎么拿到 OpenAI API key?
不需要 OpenAI 账号:注册 Synthorai,创建一把 API key,本页所有 OpenAI 模型都能通过 OpenAI 兼容端点调用,按量付费,无需订阅(标注「邀请测试」的模型还需申请通过)。
OpenAI API 什么价格?
按 token 计费的模型输入价低至 $0.2/M;每个模型的实时单价见上表,厂商牌价,无平台加价。
可以用自己的 OpenAI 密钥(BYOK)吗?
可以。自带你的 OpenAI 密钥,零加价,早期访问期间免费。你的密钥存放在加密保管库中,使用它的请求按厂商牌价计费。
OpenAI 的 API 数据留存策略是什么?
网关默认零提示词留存;上游适用 OpenAI 自身的 API 数据政策。