---
title: "Estimate on-demand model resource cost"
method: POST
path: "/rl/model-resources/estimate-cost"
tags: ["RL"]
---

# Estimate on-demand model resource cost

`POST /rl/model-resources/estimate-cost`

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

## Request body

- RLCreateModelResourcesRequest — Request to provision a standalone model resource
  - `base_model` string, required — Base model to provision the resource for
  - `compute_config` RLComputeConfigCreateRequest — Compute layout to provision for a model resource
    - `num_generator_replicas` integer — Number of generator replicas. 0 runs the trainer only, with no generator.
    - `gpu_type` 'H100-80GB' | 'B200-SXM' — GPU type to provision. Omit to use the model's default GPU type.
  - `lora_enabled` boolean — Whether the resource hosts LoRA sessions or a single full-weight session
  - `optimizer_config` RLOptimizerConfig — Optimizer configuration
    - `adamw` RLAdamWOptimizerConfig — AdamW optimizer configuration
    - `muon` RLMuonOptimizerConfig — Advanced configuration for the Muon optimizer.
      - `scaling_strategy` 'MUON_SCALING_STRATEGY_UNSPECIFIED' | 'MUON_SCALING_STRATEGY_MATCH_ADAMW' | 'MUON_SCALING_STRATEGY_ORIGINAL'

## Response `200`

Estimated on-demand cost

- RLModelResourcesEstimateCostResponse
  - `price_per_hour` number, double, required — Estimated on-demand price per hour in the currency's major unit.
  - `currency` string, required — ISO 4217 currency code.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-08-31** `f4885bc38424` — 1 info
  - added the new optional request property `compute_config/gpu_type`
- **2026-07-26** `0c4fdad77435` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/together/apis/together-apis/changes/rl/model-resources/estimate-cost/post.md)

---

[API](https://skmtc.dev/together/apis/together-apis.md) · [All operations](https://skmtc.dev/together/apis/together-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/together/together-apis/revisions/f4885bc38424/schema)
