id

modelstring
messagesarray
streamboolean
temperature0 to 2
top_p0 to 1
max_tokensinteger
stopstring | array
seedinteger
frequency_penalty-2 to 2
presence_penalty-2 to 2

HTTPtype / code
400invalid_request_error
401authentication_error
402insufficient_credits
429rate_limit_error
429budget_exceeded
502upstream_error