chatgpt-java and ChatGPT-Java-API

These are competitors offering different levels of feature completeness—the first provides comprehensive official OpenAI API support including streaming and plugins, while the second is a lighter unofficial alternative focused on Chat and Assistants functionality.

chatgpt-java
51
Established
ChatGPT-Java-API
41
Emerging
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 25/25
Maintenance 0/25
Adoption 9/25
Maturity 16/25
Community 16/25
Stars: 3,463
Forks: 812
Downloads:
Commits (30d): 0
Language: Java
License: Apache-2.0
Stars: 71
Forks: 12
Downloads:
Commits (30d): 0
Language: Kotlin
License: MIT
Stale 6m No Package No Dependents
Stale 6m No Package No Dependents

About chatgpt-java

Grt1228/chatgpt-java

ChatGPT Java SDK支持流式输出、Gpt插件、联网。支持OpenAI官方所有接口。ChatGPT的Java客户端。OpenAI GPT-3.5-Turb GPT-4 Api Client for Java

Based on the README, here's a deeper technical summary: Provides full OpenAI API coverage including newer models (GPT-4, GPT-3.5-turbo), advanced features like Tool Call/function calling, Assistants API, multimodal chat with images, Dall-E-3, and TTS; implements TikToken-based token accounting for cost estimation. Supports both SSE and WebSocket streaming paradigms with OkHttpClient as the underlying HTTP transport, enabling runtime API key rotation via custom interceptors and multi-key strategies for fault tolerance. Targets Java/Spring Boot applications across mobile (Android, iOS) and web platforms through flexible streaming abstraction.

About ChatGPT-Java-API

CJCrafter/ChatGPT-Java-API

Unofficial Java API supporting Chat, Assistants, and more!

Scores updated daily from GitHub, PyPI, and npm data. How scores work