Xcoding with Alfian

Software Development Videos & Tutorials

Video - Build ChatGPT Tokenizer SwiftUI App | Calculate ChatGPT API Cost

Alt text

In this video, we’ll build the GPT Tokenizer SwiftUI app which can as a tool to calculate tokens count within a piece of text. We can use the result to calculate prompt usage cost before making request to the API