Is it possible to run and stop an endpoint using code/API to avoid be billed when it is not used?

I want to use the HF inference endpoint for my project but, since the model will be used just few hours per day I want to launch the endpoint and stop it within the same day. Is it possible?

hi @smartinezbragado , currently it’s no possible, but it’s on a short term milestone to implement it.