groq-cost-tuning

Installation
SKILL.md

Groq Cost Tuning

Overview

Optimize Groq inference costs through smart model routing, token minimization, and caching. Groq pricing is already extremely competitive, but at high volume the savings from routing classification to 8B vs 70B are 12x per request.

Prerequisites

  • A Groq account with an API key exported as the GROQ_API_KEY environment variable — the groq-sdk client reads it automatically (new Groq()).
  • Node.js with the groq-sdk package installed (npm install groq-sdk).
  • Access to the Groq Console to set spending caps and read the usage dashboard.

Groq Pricing (per million tokens)

Installs
26
GitHub Stars
2.7K
First Seen
Jan 25, 2026
groq-cost-tuning — jeremylongshore/tons-of-skills-marketplace