model_class
Resolve a model identifier to its SAEF size class (A small, B mid-size, C large) to estimate inference emissions. Unknown models default to the conservative class C.
Instructions
Return the SAEF model class (A small, B mid-size, C large) for a model identifier.
SOMA AI Emission Factors (SAEF) assign factors by class, not by brand. A model that matches no known pattern gets the conservative class C. Embeddings, image, audio, video and moderation models are out of scope and return an error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "model_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |