Chat Completions
Openai Chat Completions
Changed onpost/v1/chat/completions
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/v1/chat/completions
- Auth: HTTP bearer
Headers
x-deepinfra-sourcestring nullable
x-deepinfra-service-tierstring nullable
Per-request service tier (priority or flex) for clients that cannot set the service_tier body field. The body field wins when both are present; unrecognized values ride the default tier.
xi-api-keystring nullable
x-api-keystring nullable
Request body
Example request
{
"model": "meta-llama/Llama-2-70b-chat-hf"
}Response
Successful Response
unknown required
Changes
- info
added to the
/////request propertyanyOflist
- info
- info
added the new optional request property
- info