GET

/v1/models/huggingface/huggingface-google-gemma-2-27b-it

provider huggingfacestatus activefirst seen Jun 24, 2024last seen 2m ago
rawIdgoogle/gemma-2-27b-it
displayName—
idhuggingface-google-gemma-2-27b-it
activitychat
schemaEndpointIdv1/chat/completions
releasedAt1719216304 — Jun 24, 2024
firstSeenAt1719216304 — Jun 24, 2024
lastSeenAt1795366061 — 2m ago
pricing
contextWindow8192
modalities{"input":["text"],"output":["text"]}
capabilities{"structured_outputs":true,"response_format":true,"tools":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":"google/gemma-2-27b-it","usage":{"input_tokens":1200,"output_tokens":400}}'