TheoKanning/openai-java
OpenAI Api Client in Java observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2178
- days_rel: n/a
- days_push: 818
- n_releases_24m: 0
Adoption not part of the score
4729 stars · 1178 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Java client library for the OpenAI API, providing POJOs, a Retrofit-based client, and a convenience service class for GPT-3, ChatGPT, and GPT-4 endpoints. The project was archived on June 6, 2024 and is no longer maintained.
Use cases
- call the OpenAI chat completions API from Java
- generate GPT-3 completions in a JVM application
- create embeddings for text using OpenAI from Java
- transcribe audio with Whisper via the OpenAI API
- build a chatbot in Java using GPT-4
- moderate content with the OpenAI moderation endpoint
When to choose
- you need a simple, lightweight Java wrapper for OpenAI APIs and are okay maintaining it yourself
- you want POJOs only to build your own OpenAI client
- your project already uses Retrofit and you want a familiar client style
When to avoid
- you need ongoing updates for new OpenAI models and endpoints, since the repo is archived
- starting a new project where an actively maintained Java OpenAI SDK is available
- you need official support or bug fixes
Facets
library · maturity abandoned
http-client sdk llm-inference chatbot large-language-models artificial-intelligence developer-tools apis jvm cross-platform openai gpt-3 gpt-4 chatgpt retrofit archived
1 source
- readme: https://github.com/TheoKanning/openai-java · fetched 2026-08-28 · 16c07912635d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TheoKanning/openai-java | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="TheoKanning/openai-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem