Request Generated from CreateChatCompletionRequest plus Sikaru extensions; unknown fields are rejected.
messages list of maps from strings to any Required
audio map from strings to any or null Optional
frequency_penalty double or null Optional -2-2
function_call string or map from strings to any or null Optional
functions list of maps from strings to any or null Optional
include_reasoning boolean or null Optional
logit_bias map from strings to any or null Optional
logprobs boolean or null Optional
max_completion_tokens integer or null Optional
max_tokens integer or null Optional
metadata map from strings to any or null Optional
min_p double or null Optional 0-1
modalities list of strings or null Optional
models list of strings or null Optional
moderation map from strings to any or null Optional
n integer or null Optional 1-128
parallel_tool_calls boolean or null Optional
prediction map from strings to any or null Optional
presence_penalty double or null Optional -2-2
prompt_cache_key string or null Optional <=1024 characters
prompt_cache_options map from strings to any or null Optional
prompt_cache_retention string or null Optional
provider map from strings to any or null Optional
reasoning map from strings to any or null Optional
reasoning_effort boolean or integer or string or null Optional
reasoning_history enum or null Optional
Allowed values: disabled interleaved preserved
repetition_penalty double or null Optional
response_format map from strings to any or null Optional
route string or null Optional
safety_identifier string or null Optional <=128 characters
seed integer or null Optional
service_tier string or null Optional
stop string or list of strings or null Optional
store boolean or null Optional
stream_options map from strings to any or null Optional
temperature double or null Optional 0-2
thinking map from strings to any or null Optional
tool_choice string or map from strings to any or null Optional
tools list of maps from strings to any or null Optional
top_k integer or null Optional >=0
top_logprobs integer or null Optional 0-20
top_p double or null Optional 0-1
transforms list of strings or null Optional
typical_p double or null Optional 0-1
usage map from strings to any or null Optional
user string or null Optional
verbosity string or null Optional
web_search_options map from strings to any or null Optional
Response
choices list of objects or null Optional
created integer or null Optional
model string or null Optional
usage object or null Optional
Public CreateChatCompletionResponse fields at this level (CHAT_USAGE_FIELDS); the projection omits the rest.