Grt1228/chatgpt-java
ChatGPT Java SDK支持流式输出、Gpt插件、联网。支持OpenAI官方所有接口。ChatGPT的Java客户端。OpenAI GPT-3.5-Turb GPT-4 Api Client for Java observed · 2026-08-28
Health v2 · maintenance only
21/100
- Activity 0
- Release rhythm 8
- Longevity 92
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: 1299
- days_rel: n/a
- days_push: 755
- n_releases_24m: 0
Adoption not part of the score
3423 stars · 792 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An unofficial Java SDK for the OpenAI API covering all official endpoints including chat completions (GPT-3.5/GPT-4), DALL-E image generation, TTS, Whisper speech-to-text, embeddings, fine-tuning, and token counting via TikToken. It supports streaming output via SSE and WebSocket, GPT plugins, function/tool calls, and dynamic API key handling.
Use cases
- integrate chatgpt into a java spring boot app
- call openai api from java
- stream gpt-4 responses with sse in java
- generate images with dall-e from java
- convert text to speech with openai tts
- count openai tokens with tiktoken in java
- transcribe audio with whisper api
- build a chatbot backend in java
When to choose
- you are a Java/JVM developer wanting OpenAI API access with full endpoint coverage
- you need streaming chat output (SSE or WebSocket) in a Java backend
- you need token counting, function calling, or plugin support in Java
When to avoid
- you need an official, vendor-supported SDK
- you work outside the JVM ecosystem
- you need a client for providers other than OpenAI
Facets
library · maturity active
sdk http-client llm-inference speech-recognition tts image-processing nlp large-language-models artificial-intelligence chatbots apis developer-tools jvm cross-platform openai-api chatgpt gpt-4 streaming-output tiktoken function-calling dall-e whisper unofficial-client
3 sources
- readme: https://github.com/Grt1228/chatgpt-java · fetched 2026-08-28 · 6ad2a7f7abf0
- homepage: https://chatgpt-java.unfbx.com · fetched 2026-08-29 · 6ad2ee8a8676
- site_page: https://chatgpt-java.unfbx.com/docs/project_introduction · fetched 2026-08-29 · 413303424eeb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Grt1228/chatgpt-java | main | 21 |
For agents
markdown · JSON · MCP: product_card(name="Grt1228/chatgpt-java")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem