Create model resources
Provisions a standalone model resource that training sessions can attach to.
Request body
Example request
{
"base_model": "Qwen/Qwen3-0.6B",
"compute_config": {
"num_generator_replicas": 2,
"gpu_type": "B200-SXM"
},
"lora_enabled": true
}Response
Model resource details
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"error": {
"message": "Timed out waiting for cluster capacity. Try again later.",
"occurred_at": "2026-01-02T00:00:05Z"
},
"base_model": "Qwen/Qwen3-0.6B",
"compute_config": {
"num_generator_replicas": 1,
"gpu_type": "H100-80GB"
},
"lora_enabled": true,
"created_at": "2026-01-02T00:00:00Z",
"updated_at": "2026-01-02T00:00:05Z",
"created_by": "user_123"
}Changes
Changed in 3 of the 15 revisions of this API.16
- ○
added the new optional request property
compute_config/gpu_typenew-optional-request-property
- ○
added the optional property
compute_config/gpu_typeto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
MODEL_RESOURCES_ERROR_CODE_CAPACITY_WAIT_TIMEOUTenum value to theerror/coderesponse property for the response status200response-property-enum-value-added
- ○
removed the
MODEL_RESOURCES_ERROR_CODE_CAPACITY_UNAVAILABLEenum value from theerror/coderesponse property for the response status200response-property-enum-value-removed
- ●
- ○
added the new optional request property
optimizer_confignew-optional-request-property
- ○
added the required property
created_byto the response with the200statusresponse-required-property-added
- ○
added the required property
optimizer_configto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○