v3

OpenAPI 3.1.0MIT2026-07-31192456807.8 KB
RL

Estimate on-demand model resource cost

Estimates a model resource's on-demand hourly price without creating it.

post/rl/model-resources/estimate-cost

Request body

base_modelstring required

Base model to provision the resource for

lora_enabledboolean

Whether the resource hosts LoRA sessions or a single full-weight session

Example request

{
  "base_model": "Qwen/Qwen3-0.6B",
  "compute_config": {
    "num_generator_replicas": 2
  },
  "lora_enabled": true
}

Response

Estimated on-demand cost

price_per_hournumber double required

Estimated on-demand price per hour in the currency's major unit.

currencystring required

ISO 4217 currency code.

Example response

{
  "price_per_hour": 56,
  "currency": "USD"
}