Skip to Content
APIリファレンスパラメーター

パラメーター

Chat Completions、Responses、Messagesでは、同じ目的のパラメーターでも名前が異なります。

目的Chat CompletionsResponsesMessages
モデルmodelmodelmodel
入力messagesinputmessages
システムプロンプトmessages の system ロールinstructionssystem
出力トークンの上限max_tokens、max_completion_tokensmax_output_tokensmax_tokens
生成を終了させる文字列stopなしstop_sequences
ランダム性temperature、top_p、top_k、min_ptemperature、top_ptemperature、top_p、top_k
思考(reasoning)reasoning_effortreasoningthinking
ツールtools、tool_choicetools、tool_choicetools、tool_choice
ストリーミングstreamstreamstream

出力トークンの上限を省略した場合は、どのエンドポイントでも 4096 になります。

各パラメーターの説明は、エンドポイントのページを参照してください。