Hello, I am currently having a dilemma on whether I should host my images that I send to the OpenAI API or just use base64 encoded strings as the urls.
Does the API tokenize these massive strings and add to costs, or do the costs not change regardless whether it’s a base64 encoded string or URL?
Urls are the prefered machanism as there are economies of scale with external providors for managing cashing and the like, but there are circumstances were the owners of the domain the URL points to either don’t want an OpenAI server accessing it or the reliability of the server/bandwidth is in question and so base64 is provided for for that purpose and to allow locally generated or modified images to be uplaoded without having to host them first.