Quotes

Buat price quote

Menghitung estimasi biaya untuk kombinasi model + parameter tanpa menjalankan task. Quote berlaku 10 menit. Membuat task tidak wajib didahului quote — POST /tasks menghitung harga sendiri bila quote_id tidak diberikan.

post/quotes

Request

  • Base URL: https://getrun.id/v1
  • URL: https://getrun.id/v1/quotes
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Request body

modelstring required
inputobject required

Parameter yang memengaruhi harga.

Example request

{
  "model": "google/veo-3.1"
}

Response

Quote dibuat.

idstring required
modelstring required
currency'IDR' required
estimatedinteger required

Perkiraan biaya (IDR).

max_reservableinteger required

Jumlah maksimum yang akan direservasi (IDR).

pricing_versionstring required
expires_atstring date-time required
notestring

Diisi bila biaya final bergantung pada output aktual.

Example response

{
  "id": "quote_01J8Z3N0V9X2M4K6P8Q0R2S4T6",
  "model": "google/veo-3.1",
  "estimated": 22500,
  "max_reservable": 22500,
  "pricing_version": "google/veo-3.1@3"
}

Changes

No recorded changes to this operation across all 1 revision of this API.