Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

groq-inference

Skill by synthetic-sciences

Adds fast open-weight LLM inference from Groq to an AI assistant through an OpenAI-compatible API. It covers chat, streaming, tool calling, vision and Whisper audio. Built for developers who need low-latency model responses.

  • Score 81
  • 4.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install groq-inference

Built from the published package, never by AI.

git clone --depth 1 https://github.com/synthetic-sciences/openscience /tmp/openscience && mkdir -p ~/.claude/skills && cp -r /tmp/openscience/backend/cli/skills/ml-inference/groq ~/.claude/skills/groq-inference

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install groq-inference in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Groq Inference is an agent skill that lets an AI assistant use open-weight language models running on Groq's custom LPU hardware. It covers chat completions, streaming, JSON mode, tool calling, vision with Llama 4 models, Whisper speech-to-text and translation, and text-to-speech. The skill includes code examples and a model selection guide with speed and pricing tables.

The API is OpenAI-compatible, so the OpenAI SDK can be used by changing the base URL and API key. The skill lists production and preview models, rate limits for the free and developer tiers, and cost tips. It is aimed at developers who need fast inference for real-time chat, agents or interactive apps, and who want open models without managing GPUs. It is inference only and does not cover training.

Written from the project's SKILL.md and checked against it.

What it can do

  • Chat completionsSends chat requests to open-weight models with optional streaming.
  • JSON modeRequests structured JSON output from supported models.
  • Tool callingLets models call functions and return results to the conversation.
  • VisionDescribes images from a URL or base64 using Llama 4 models.
  • Speech-to-textTranscribes and translates audio with Whisper models.
  • Text-to-speechGenerates speech audio from text with the PlayAI TTS model.
  • Model selectionCompares production, preview and system models by speed and price.

What you need

  • Groq API key from console.groq.com
  • Python with the groq package
  • OpenAI Python package for the compatibility examples

Try asking

  • Use Groq to explain quantum computing in one paragraph.
  • Transcribe this audio file with Whisper and give me the text.
  • Describe this image using a Llama 4 model on Groq.

Good to know

  • No embeddings or image generation endpoints.
  • Vision works only with Llama 4 models and images up to 20 MB.
  • Free tier is limited to 30 requests per minute and 6,000 tokens per minute.
  • Some OpenAI fields such as logprobs and logit_bias return a 400 error.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: backend/cli/skills/ml-inference/groq/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to groq-inference

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

groq-inference: common questions

Does Groq support embeddings?

No. The source lists POST /embeddings as not available, along with image generation.

Is there a free tier?

Yes. The source lists a free tier at $0 with 30 RPM, 6,000 TPM and 500,000 TPD, and says it is useful for prototyping.

Which models support vision?

The source says only the Llama 4 models, Scout and Maverick, support image input.

How do I install groq-inference?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is groq-inference free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is groq-inference safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to groq-inference?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

groq-inference Install

Add to stack

Loading.