Ross ROSS = Recommend OSS · open-source software intelligence for agents

PlexPt/chatgpt-java

ChatGPT Java SDK。支持 GPT-4o、 GPT-5 API。开箱即用。An unofficial Java SDK for seamless integration with ChatGPT's GPT-5 and GPT-4 APIs. Ready-to-use, simple setup, and efficient for building AI-powered applications. observed · 2026-08-28

github.com/PlexPt/chatgpt-java · homepage · Java · GPL-3.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

46/100

  • Activity 54
  • Release rhythm 8
  • Longevity 97
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1365
  • days_rel: n/a
  • days_push: 277
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3579 stars · 686 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

An unofficial Java SDK that wraps OpenAI's ChatGPT API for GPT-3.5, GPT-4, GPT-4o, and GPT-5 models, published on Maven Central with a fluent builder interface. It supports streaming chat, function calling, conversation context, token counting, multi-key rotation, and HTTP/SOCKS5 proxy plus reverse-proxy configuration.

Use cases

  • call the OpenAI API from a Java application
  • integrate ChatGPT into a Spring Boot backend
  • stream GPT-4 chat responses in Java
  • rotate multiple OpenAI API keys across requests
  • access the OpenAI API from China through a proxy or reverse proxy
  • count ChatGPT tokens before sending requests
  • use GPT function calling from JVM code

When to choose

  • You are building a Java/JVM application that needs ChatGPT or GPT-4/4o/5 API access with minimal setup
  • You want a batteries-included client with streaming, context, function calling, and multi-key rotation out of the box
  • You need proxy or reverse-proxy support to reach the OpenAI API from mainland China

When to avoid

  • Your project cannot accept GPL-3.0 licensing terms
  • You require an officially supported OpenAI SDK with guaranteed coverage of new API features
  • You are not on the JVM (e.g., Python, Node.js, Go projects)
  • You need local model inference instead of calls to OpenAI's hosted API

Facets

library · maturity active

sdk llm-inference http-client chatbot artificial-intelligence large-language-models chatbots developer-tools jvm chatgpt openai gpt-4 gpt-4o gpt-5 api-client streaming-chat function-calling token-counting api-key-rotation proxy-support maven gradle spring-boot

2 sources

Member repositories

RepositoryRoleHealth v2
PlexPt/chatgpt-javamain46

For agents

markdown · JSON · MCP: product_card(name="PlexPt/chatgpt-java")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem