{"library":"groq-sdk","type":"library","category":null,"description":"The `groq-sdk` package provides the official TypeScript library for interacting with the Groq API, offering convenient access to Groq's REST API from both server-side TypeScript and JavaScript environments. It is currently at stable version `1.1.2`, released on 2026-03-25. The library exhibits a rapid release cadence, with frequent minor versions and patches, often coinciding with updates to the underlying Groq API. Key differentiators include comprehensive TypeScript support with precise type definitions for all request parameters and response fields, ensuring a robust and type-safe development experience. The SDK is generated using Stainless and includes extensive documentation via docstrings. It supports various methods for file uploads, including `File` instances, `fs.ReadStream`, `fetch` `Response` objects, and a dedicated `toFile` helper for diverse environments.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install groq-sdk","imports":["import Groq from 'groq-sdk';","import Groq from 'groq-sdk';\n// ... then use Groq.Chat.CompletionCreateParams","import { toFile } from 'groq-sdk';"]},{"cmd":"yarn add groq-sdk","imports":[]},{"cmd":"pnpm add groq-sdk","imports":[]}],"homepage":"https://groq.com","github":"https://github.com/groq/groq-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/groq-sdk","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/groq-sdk/compatibility"}}