llm utils

Supported Openai Params

Returns supported openai params for a given litellm model name

e.g. gpt-4 vs gpt-3.5-turbo

Example curl:

curl -X GET --location 'http://localhost:4000/utils/supported_openai_params?model=gpt-3.5-turbo-16k'         --header "Authorization: Bearer $LITELLM_MASTER_KEY"
get/utils/supported_openai_params

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/utils/supported_openai_params
  • Auth: API key in header x-litellm-api-key

Query parameters

modelstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.