Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides upgrading the groq-sdk package and migrating deprecated Groq model IDs to current replacements, with live endpoint verification.
Use this skill ↓65% 87%+22 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 15 of 23 without it.
Which active Whisper model should we select for maximum transcription speed (216x Real-Time) on Groq's Audio STT endpoint?
recommends whisper-large-v3-turbo
3 of 3 safety checks passed
The complete, copy-paste-ready command sequence for upgrading groq-sdk and
migrating deprecated Groq model IDs. SKILL.md summarizes this workflow at a
high level; this file carries every step verbatim.
Every Groq API call (including the live-model verification in Step 5) reads the
API key from the GROQ_API_KEY environment variable. The SDK constructor
(new Groq()) picks it up automatically; the curl verification passes it as a
bearer token. Never hard-code the key — export it in your shell or CI secret store:
export GROQ_API_KEY="gsk_..." # from https://console.groq.com/keys
set -euo pipefail
# SDK version
npm list groq-sdk 2>/dev/null
npm view groq-sdk version # latest on npm
# Find all model references in your code
grep -rn "model.*['\"]" src/ --include="*.ts" --include="*.js" | grep -i "groq\|llama\|mixtral\|gemma\|whisper"
set -euo pipefail
# Create upgrade branch
git checkout -b chore/upgrade-groq-sdk
# Update to latest
npm install groq-sdk@latest
# Check for breaking changes
Next to this one in the catalogue, plus more from the same author.