chatgpt-image-latest
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
Reasoning model that works through problems step by step before answering, useful for math, science, and code questions that need multi-step derivation.
Input price
Market: $2
/ M
Output price
Market: $8
/ M
Cache read
Market: $0.5
/ M
Cache write
/ M
Input
Text
Output
Text
{
"model": "openai/o3",
"messages": [
{
"role": "user",
"content": "你好!请先介绍一下你自己,包括你的主要能力与适用场景,并给一个简短的使用示例。"
}
],
"stream": false
}{}API
Drop-in code to call this model with EasyAPI's OpenAI-compatible API.
Create an API key from your dashboard and set it as an environment variable:
Replace sk-xxxxxxxx with your API token from the console (Bearer token).
Create API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxUse openai/o3 with the EasyAPI API:
curl https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"openai/o3","messages":[{"role":"user","content":"Hello!"}]}'Add "stream": true to your request body to receive responses as server-sent events:
curl -N https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"openai/o3","messages":[{"role":"user","content":"Hello!"}],"stream":true}'Sends a chat completion request. Supports streaming and non-streaming modes.
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsonopenai/o3发送对话补全请求,支持流式与非流式。 Docs
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEY获取当前账户可用模型列表。 Docs
| Name | Type | Default | Description |
|---|---|---|---|
model | string | — | 模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet |
messages | array | — | 对话消息列表,每项含 role 与 content |
stream | boolean | false | 设为 true 时以 SSE 流式返回 |
temperature | float | 1 | 采样温度,越高越随机 |
max_tokens | integer | — | 单次回复最大生成 Token 数 |
top_p | float | 1 | 核采样,限制候选词累积概率 |
frequency_penalty | float | 0 | 频率惩罚,降低重复用词 |
presence_penalty | float | 0 | 存在惩罚,鼓励新话题 |
Official OpenAI and other SDKs work by swapping the base URL. See integration guide
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
OpenAI
Stable code generation with predictable output.
$1.7/ M
$6.8/ M
$0.425/ M
$0/ M
OpenAI
Near GPT-4o performance at lower latency and cost, suited for high-frequency interactions, coding, and vision tasks.
$0.34/ M
$1.36/ M
$0.085/ M
$0/ M
OpenAI
Fastest GPT. Sub-second responses.
$0.085/ M
$0.34/ M
$0.0213/ M
$0/ M