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.
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-inferenceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/synthetic-sciences/openscience /tmp/openscience && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openscience/backend/cli/skills/ml-inference/groq ~/.gemini/antigravity-cli/skills/groq-inferenceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
