RL
Estimate on-demand model resource cost
Changed onEstimates a model resource's on-demand hourly price without creating it.
post/v1/rl/model-resources/estimate-cost
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/rl/model-resources/estimate-cost
- AuthHTTP bearer
Request body
Example request
{
"base_model": "Qwen/Qwen3.5-4B",
"base_weights_ref": "together://ml_A1b2C3d4E5f6G7h8I9j0K",
"compute_config": {
"num_generator_replicas": 2,
"gpu_type": "B200-SXM"
},
"lora_enabled": true,
"inactive_timeout": 3600
}Response
Estimated on-demand cost
Example response
{
"price_per_hour": 56,
"currency": "USD"
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info