The OpenAI API states that for o-series models, maxTokens is now deprecated. It has been replaced with maxCompletionTokens. However, the ChatCompletionRequest builder only allows for maxTokens:
https://github.com/Lambdua/openai4j/blob/main/api/src/main/java/com/theokanning/openai/completion/chat/ChatCompletionRequest.java