Groq Java SDK [Unofficial]

Repository

Overview

The Groq Java SDK is a comprehensive client library that enables Java developers to easily integrate with Groq’s high-performance inference engine. It provides type-safe interfaces for all Groq API endpoints including chat completions, embeddings, audio processing, batch operations, file management, Response API, and MCP (Model Context Protocol) operations.

Key Features

  • :rocket: High Performance: Optimized for Groq’s lightning-fast inference

  • :shield: Type-Safe: Full type safety with comprehensive Java models

  • :wrench: Flexible Configuration: Customizable timeouts, retries, and headers

  • :bullseye: Comprehensive Coverage: Support for all Groq API endpoints

  • :hammer_and_wrench: Production Ready: Built-in error handling, logging, and retry mechanisms

  • :package: Zero Dependencies: Minimal external dependencies

  • :brain: Advanced Reasoning: Response API with reasoning capabilities

  • :electric_plug: MCP Tool Integration: MCP protocol for external tool integration

1 Like

Thank you for sharing!!

Just FYI, the motivation to keep embeddings as a preview feature in the SDK was based on below thread with an anticipation that it would be available some day :smiley:

1 Like

Maybe one day we’ll re-introduce it!