Skip to main content
Set the minimum bid price for a machine.

Signature

VastAI.set_min_bid(
    id: int,
    price: Optional[float] = None
) -> dict

Parameters

id
int
required
id of machine to set min bid price for
price
Optional[float]
per gpu min bid price in $/hour

Returns

dict

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.set_min_bid(id=12345)
print(result)