If you're only using it incrementally then Replicate and Modal Labs have per-second pricing.
Not sure about HuggingFace though.
Sagemaker supposedly has a Serverless endpoint but haven't looked into it and doubt it would be a good deal since it's AWS.