GET

/v1/models/huggingface/huggingface-meta-llama-llama-3-1-8b-instruct

provider huggingfacestatus activefirst seen Jul 18, 2024last seen 9m ago
rawIdmeta-llama/Llama-3.1-8B-Instruct
displayName—
idhuggingface-meta-llama-llama-3-1-8b-instruct
activitychat
schemaEndpointIdv1/chat/completions
releasedAt1721292960 — Jul 18, 2024
firstSeenAt1721292960 — Jul 18, 2024
lastSeenAt1795365164 — 9m ago
pricing
contextWindow131072
modalities{"input":["text"],"output":["text"]}
capabilities{"tools":true,"structured_outputs":false}
requestMap{"thinking":null,"maxTokensField":"max_tokens","developerRole":null,"replayReasoningContent":null,"store":null,"strictTools":null,"sessionAffinity":null,"cacheControl":null,"toolStream":null,"reasoningEffort":null}
maxOutput · knowledgeCutoff · openWeights · weightsUrl · providerMetadatanot published by this provider’s list endpoint
endpointactivity
v1/chat/completionschat

Use it

shell
$ curl https://modelschemas.com/v1/schemas/huggingface/chat/v1/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"huggingface","endpointId":"v1/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"huggingface","model":"meta-llama/Llama-3.1-8B-Instruct","usage":{"input_tokens":1200,"output_tokens":400}}'