Model market
OpenAI

ChatGPT Web

Multimodal128K contextImage input
Input$0.30per 1M tokens
Output$1.20per 1M tokens
Official price待确认 / 待确认input / output · OpenRouter 公开目录价
1 route

About this model

ChatGPT 网页版对话,模型由 ChatGPT 自动选择;支持图片输入

Request parameters

Chat · POST /v1/chat/completions

ParameterAccepted valuesDefaultDescription
modelRequiredModel ID—This page’s model ID
messagesMessage array—Messages with system, user, assistant, or tool roles
nInteger,fixed at 1—Must be 1
streamtrue / false—Return as an SSE stream
stream_optionsObject—Only include_usage is supported
response_formatObject—Only {"type":"text"} is supported
frequency_penaltyIgnoredNumber,-2 to 2—Accepted; Web models do not use this value
max_completion_tokensIgnoredInteger,1 to 32768—Accepted; the Web model controls output length upstream
max_tokensIgnoredInteger,1 to 32768—Accepted; the Web model controls output length upstream
metadataIgnoredObject—Accepted; does not affect the result
presence_penaltyIgnoredNumber,-2 to 2—Accepted; Web models do not use this value
seedIgnoredInteger,-9007199254740991 to 9007199254740991—Accepted; Web models do not use this value
storeIgnoredtrue / false—Accepted; does not affect the result
temperatureIgnoredNumber,0 to 2—Accepted; Web models do not use this value
top_pIgnoredNumber,0 to 1—Accepted; Web models do not use this value
userIgnoredString,1–256 characters—Accepted; does not affect the result

Message content supports: text、image_url。

Parameters outside this list return HTTP 400 with the field name and supported parameters. Parameters marked “Ignored” are accepted but unused by Web models.

Quick call

quickstart.py
from openai import OpenAI

client = OpenAI(api_key="$TPOOL_API_KEY", base_url="https://tpool.dev/v1")

reply = client.chat.completions.create(
    model="openai/chatgpt-web",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)