chatgpt-java and ChatGPT-Java-API

These are competitors—both provide unofficial Java SDKs for integrating with OpenAI's ChatGPT APIs, offering overlapping functionality for chat interactions and API access with different implementation approaches.

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

About chatgpt-java

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.

Supports function calling, token counting, multi-key round-robin load balancing, and streaming responses with context persistence. Implements HTTP/SOCKS5 proxy support and reverse proxy configuration for regional network constraints, with builder-pattern initialization. Integrates seamlessly with Spring Boot via SSE (Server-Sent Events) for real-time streaming and includes JSON-based function definition schemas for tool-use workflows.

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