Skip to main content
POST
https://api.tensormesh.ai
/
v1
/
models
/
check
Model Check
curl --request POST \
  --url https://api.tensormesh.ai/v1/models/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "modelId": "<string>"
}
'
{
  "requiredGpuMemoryGib": 123,
  "requiredLmCacheMemoryGib": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Body

application/json
modelId
string

HuggingFace model repository ID.

Response

A successful response.

requiredGpuMemoryGib
number<double>

Required GPU memory (GiB) for model weights and overhead.

requiredLmCacheMemoryGib
number<double>

Required LM cache memory (GiB) estimated from max sequence length.