groq-inference

groq-inference is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 77 tokens per session (3,724 once invoked), scanned A, original, Apache-2.0.

A hosted service for running open-weight language models and related AI models through an OpenAI-compatible API. It supports chat, vision, audio transcription and speech, tool calling, JSON output, and streaming, but not model training.

In plain words
What is it for?
Use it for low-latency chat, AI agents, vision features, speech transcription, text-to-speech, and prototypes using open models.
Why use it?
It gives applications access to open models without managing GPUs, while keeping the same general API style used by many OpenAI-based clients.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it for low-latency chat, AI agents, vision features, speech transcription, text-to-speech, and prototypes using open models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/groq
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,121 stars · on GitHub · openscience.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synthetic-sciences/openscience --skill groq
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for groq-inference

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/groq/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/groq)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/groq"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/groq/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for groq-inference

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/groq"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/groq.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 275
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03724
Opus 5.5 $0.00031 $0.01490
Sonnet 5.5 $0.00015 $0.00745
Haiku 4.5 $0.00008 $0.00372

Measured 1mo ago against content hash 4d2937551123, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

groq-inference scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/cli/skills/ml-inference/groq/SKILL.md · 361 lines

How it starts

The opening of the file, as written. The whole thing — 361 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Groq — Ultra-Fast LLM Inference

Groq runs open-weight LLMs on custom LPU (Language Processing Unit) hardware, delivering the lowest inference latency in the industry — up to 1000+ tokens/sec. OpenAI-compatible API, free tier, pay-per-token pricing. Inference only, no training.

When to Use Groq

Use when:

  • You need the fastest possible inference latency (real-time chat, agents, interactive apps)
  • You want open-weight models (Llama, Qwen, DeepSeek) without managing GPUs
  • You need an OpenAI-compatible drop-in replacement with open models
  • You want free-tier access for prototyping
  • You need fast Whisper transcription or vision with Llama 4

Don't use when:

  • You need to fine-tune or train models (inference-only)
  • You need proprietary models (GPT-4o, Claude, Gemini)
  • You need embeddings or image generation APIs (not offered)
Feature Groq Together AI Fireworks Replicate
Hardware Custom LPU NVIDIA GPUs NVIDIA GPUs NVIDIA GPUs
Speed (Llama 70B) ~280 tok/s ~100 tok/s ~100 tok/s ~50 tok/s
Free tier Yes Yes Yes No
Training No Yes Yes Yes

Credential Setup

Credentials are auto-injected by openscience when connected via the dashboard.

# Verify credentials
[ -n "$GROQ_API_KEY" ] && echo "GROQ_API_KEY set" || echo "NOT SET"

If not set: add your Groq key in Customize → Models or export GROQ_API_KEY locally.

Quick Start

pip install groq
export GROQ_API_KEY="gsk_..."   # https://console.groq.com/keys
from groq import Groq

client = Groq()
response = client.chat.completions.create(
    model="llama-3.3-70b-versatile",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Explain quantum computing in one paragraph."}
    ],
    temperature=0.7,
    max_completion_tokens=512,
)
print(response.choices[0].message.content)

Chat Completions

Read the full file on GitHub · 361 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 361 lines · 77 tokens per session scan A 4d2937551123

Subscribe to this mod's changes

groq-inference is a skill published in the GitHub repository synthetic-sciences/openscience (4,121 stars, last pushed 2d ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,724 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

knowledge-model-and-provider-runtime

A codebase guide for choosing AI models and providers, sending requests, recovering from failures, and recording runtime information.

echoVic/blade-code · 152 tokens

mlx-serve

Hook an app, game or script up to the local mlx-serve server for LLM chat, embeddings, image, speech, music, sound effect, video and 3D generation, and Laya/Kev/Clef typed decisions, or make a whole film or music video on this Mac. Use when code should call mlx-serve or the user wants a video, song, pictures or game…

ddalcu/mlx-serve · 88 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

data-leakage-detection

Detect sensitive information disclosure via escalating dialogue probes. Covers system prompt extraction, credential/API key leakage, PII, and internal configuration exposure.

Tencent/AI-Infra-Guard · 34 tokens

arkcli-infer-endpoint

A manager for inference endpoints, the online addresses used to send requests to deployed AI models. It can work with endpoints created by the current SSO sub-user, which is a separately identified account user.

volcengine/ark-cli · 258 tokens

knowledge-shared-api-and-runtime-schemas

Shared request and response definitions for the server and web app, with runtime checks for incoming data and cleaned JSON schemas for tools. TypeBox is the library used to describe these data shapes.

echoVic/blade-code · 149 tokens