Do duplicate image uploads with overwrite disabled incur bandwidth costs?

Kyriacos
Kyriacos Member Posts: 8

I use secure uploads in my application, specifying a public_id and overwrite=false in the upload options. When I attempt to upload an image with a public_id that already exists, I receive an immediate response indicating that the asset exists, marked by existing=true in the response. In this scenario, am I charged for bandwidth usage on my account?

Best Answer

  • millie_axelrod
    millie_axelrod Member, Cloudinary Staff Posts: 11
    Answer ✓

    Hi Kyriacos,

    Thank you for reaching out with your question.

    For uploads, bandwidth usage is not counted or charged. Uploads are counted against your transformation (and storage) quota. In the scenario you described, where you upload with a specified public_id and overwrite=false, if the public_id already exists, the response indicates existing=true, and no new upload is performed. Therefore, no transformation charges will be applied in this case.

    I hope this answers your question. If you have any further questions or need additional assistance, please feel free to contact us.

    Kind regards,

    Millie

Answers

  • Kyriacos
    Kyriacos Member Posts: 8

    I wasn't aware that uploads do not count against the bandwidth quota. Thank you for clarifying everything Millie!

  • Cloudinary Team
    Cloudinary Team Administrator, Cloudinary Staff Posts: 176 admin

    Hi Kyriacos,

    I'm glad Millie was able to help. If you have any additional questions, just let us know.

    Kind regards,

    Tia

    Helpful Links For You
    💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
    🧑‍🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
    📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
    📰 Check out the Cloudinary blog for the latest company news and insights