TheoKanning / openai-java

OpenAI Api Client in Java
MIT License
4.68k stars 1.16k forks source link

how to know tokens cost for createTranscription API ? #475

Open junixapp opened 4 months ago

junixapp commented 4 months ago

var req = CreateTranscriptionRequest.builder() .responseFormat("verbose_json") .model("whisper-1") .build() var result = service.createTranscription(req, file)