← all repositories

openai/openai-java

Official Java client library for interacting with OpenAI's language model APIs.

1.5k stars Kotlin Language Models
openai-java
Not currently ranked — collecting fresh signals.
star history

This repository provides the official Kotlin/Java SDK for the OpenAI REST API, enabling Java applications to interface with OpenAI’s language models. The library offers typed interfaces for various API endpoints including the Responses API and Chat Completions, supporting model interactions via environment-configured API keys.

Frequently asked

What is openai/openai-java?
Official Java client library for interacting with OpenAI's language model APIs.
Is openai-java open source?
Yes — openai/openai-java is open source, released under the Apache-2.0 license.
What language is openai-java written in?
openai/openai-java is primarily written in Kotlin.
How popular is openai-java?
openai/openai-java has 1.5k stars on GitHub.
Where can I find openai-java?
openai/openai-java is on GitHub at https://github.com/openai/openai-java.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.