Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

GPT-4.1

10% 折扣openai/gpt-4.1

GPT-4.1 is OpenAI's flagship non-reasoning model in the GPT-4.1 series, released in April 2025 alongside GPT-4.1 mini and nano, with text and image input and text output. OpenAI positions it for instruction following, tool calling and coding, with improved long-context comprehension across its 1M-token window and low latency because it skips a separate reasoning step. Pick it over the mini and nano tiers when output quality matters more than speed; OpenAI suggests GPT-5-class models for the most complex tasks.

閱讀更多
輸入價格
$1.80$2.00美元/100 萬 token
輸出價格
$7.20$8.00美元/100 萬 token
快取讀取
$0.45$0.50美元/100 萬 token
上下文視窗
1M
最大輸出
32.8K

規格

功能聊天視覺結構化輸出函式呼叫
輸入
文字, 圖片
輸出
文字
可用

關於這個模型

GPT-4.1 is OpenAI's flagship non-reasoning model in the GPT-4.1 series, released in April 2025 alongside GPT-4.1 mini and nano, with text and image input and text output. OpenAI positions it for instruction following, tool calling and coding, with improved long-context comprehension across its 1M-token window and low latency because it skips a separate reasoning step. Pick it over the mini and nano tiers when output quality matters more than speed; OpenAI suggests GPT-5-class models for the most complex tasks.

問題

常見問題

我要如何透過 SandBase 呼叫 OpenAI GPT-4.1?

先建立一組 SandBase API 金鑰,接著使用模型 ID「openai/gpt-4.1」向 https://api.sandbase.ai 的 Responses API (/v1/responses) 或 Chat Completions API (/v1/chat/completions) 發送請求。此頁的請求範例會顯示完整的 payload。

OpenAI GPT-4.1 的費用是多少?

每 100 萬個輸入 token $1.80、每 100 萬個輸出 token $7.20,並套用目前 10% 折扣(定價為 $2/$8),費用會依每次請求從您的 SandBase 餘額中扣除。

OpenAI GPT-4.1 的 context window 是多少?

1M 個 context token,每次回應最多可輸出 32.8K 個 output token。

OpenAI GPT-4.1 支援哪些功能?

OpenAI GPT-4.1 支援 視覺辨識(圖片輸入), 函式呼叫, 結構化輸出。完整清單請參閱上方的 Specifications。

我需要另外申請 OpenAI 帳號嗎?

不需要。一組 SandBase API 金鑰與餘額即可讓您存取 OpenAI GPT-4.1 以及目錄中的其他模型;您不需要另外註冊 OpenAI。