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_KEYenvironment variable — thegroq-sdkclient reads it automatically (new Groq()). - Node.js with the
groq-sdkpackage installed (npm install groq-sdk). - Access to the Groq Console to set spending caps and read the usage dashboard.