llm utils
Model Info Lookup
Changed onReturns the model cost map entry (token limits, pricing, supports_* capabilities) for any model in the cost map, whether or not it is registered on this proxy. model_info carries every field of the raw cost map entry plus the typed fields litellm.get_model_info derives from it (key, supported_openai_params).
Example curl:
curl -X GET --location 'http://localhost:4000/utils/model_info?model=gpt-4o&custom_llm_provider=openai' --header "Authorization: Bearer $LITELLM_MASTER_KEY"
get/utils/model_info
Request
- Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sea-lion.ai/utils/model_info
- Auth: API key in header x-litellm-api-key
Query parameters
modelstring required
custom_llm_providerstring nullable
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info