Random numbers form an intrinsic part of modern day computing with applications in a wide variety of fields, and quantum systems due to their intrinsic randomness form a suitable candidate for generation of true random numbers that can also be certified. In this work, we have demonstrated the use of cloud based quantum computers to develop a partially loophole free device-independent quantum random number generator (QRNG). The generated random numbers have been tested for their source of origin through experiments based on the testing of Clauser, Horne, Shimony, and Holt (CHSH) inequality through available IBM quantum computers. The performance of each quantum computer against the CHSH test has been plotted and characterized. Further, efforts have been made to close as many loopholes as possible to produce device-independent quantum random number generators. This study will help provide new directions for the development of self-testing and semi-self-testing random number generators using quantum computers.