Plan and execute Deepgram SDK upgrades and model migrations.
Use when upgrading SDK versions (v3 to v4 to v5), migrating models
(Nova-2 to Nova-3), or planning API version transitions.
Trigger: "upgrade deepgram", "deepgram migration", "update deepgram SDK",
"deepgram version upgrade", "nova-3 migration".
jeremylongshore1,965 Sterne16.04.2026
Beruf
Kategorien
Data Engineering
Skill-Inhalt
Current State
!npm list @deepgram/sdk 2>/dev/null | grep deepgram || echo 'SDK not installed'
Overview
Guide for Deepgram SDK version upgrades (v3 -> v4 -> v5) and model migrations (Nova-2 -> Nova-3). Includes breaking change maps, side-by-side API comparison, A/B testing scripts, automated validation, and rollback procedures.
SDK Version History
Version
Client Init
STT API
Live API
TTS API
Status
v3.x
createClient(key)
listen.prerecorded.transcribeUrl()
listen.live()
speak.request()
Stable
v4.x
createClient(key)
listen.prerecorded.transcribeUrl()
listen.live()
Verwandte Skills
speak.request()
Stable
v5.x
new DeepgramClient({apiKey})
listen.v1.media.transcribeUrl()
listen.v1.connect()
speak.v1.audio.generate()
Beta
Instructions
Step 1: Identify Current Version and Breaking Changes
# Check installed version
npm list @deepgram/sdk
# Check latest available
npm view @deepgram/sdk versions --json | tail -5
// Nova-3 is a drop-in replacement — same API, better accuracy
// Just change the model parameter:
// Before:
{ model: 'nova-2' }
// After:
{ model: 'nova-3' }
// Nova-3 improvements over Nova-2:
// - Higher accuracy across all languages
// - Better handling of accents and dialects
// - Improved punctuation and formatting
// - Same pricing tier
// - Same API parameters
# If issues are found after upgrade:
# 1. Revert SDK version
npm install @deepgram/[email protected] # Pin to previous working version
# 2. Revert model in config
# Change nova-3 back to nova-2 in environment/config
# 3. Run validation
npx vitest run tests/deepgram-validation.test.ts
# 4. Verify in production
curl -s -X POST 'https://api.deepgram.com/v1/listen?model=nova-2' \
-H "Authorization: Token $DEEPGRAM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://static.deepgram.com/examples/Bueller-Life-moves-702702706.wav"}'