Skip to content

The agent that grows with you

docs(stt): document the 12s short-clip gate for the cloud trim

kshitij5cff192b392c
diff --git a/cli-config.yaml.example b/cli-config.yaml.example
index 3489749a399..53a53b3685d 100644
--- a/cli-config.yaml.example
+++ b/cli-config.yaml.example
@@ -1196,7 +1196,8 @@ stt:
# --- Cloud pre-upload silence trim (groq/openai/mistral/xai/elevenlabs/deepinfra) ---
# Local whisper gets Silero VAD; cloud endpoints otherwise receive raw audio —
# silence inflates upload time, per-audio-minute billing, and hallucination risk.
- # Collapses pauses with ffmpeg client-side; on any failure the original uploads untouched.
+ # Collapses pauses with ffmpeg client-side; clips under 12s skip the trim, and
+ # on any failure the original uploads untouched.
# cloud_trim_silence: true # set false to always upload the original audio
# cloud_trim_threshold_db: -40 # audio quieter than this counts as silence
# cloud_trim_keep_ms: 300 # how much of each pause survives (keeps natural pacing)
diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.md
index 698f954bf80..0798c766f17 100644
--- a/website/docs/user-guide/configuration.md
+++ b/website/docs/user-guide/configuration.md
@@ -1890,7 +1890,7 @@ Provider behavior:
- `groq` uses Groq's Whisper-compatible endpoint and reads `GROQ_API_KEY`. Pass `stt.groq.language` (or the global `HERMES_LOCAL_STT_LANGUAGE` env var) to skip auto-detection and reduce latency.
- `openai` uses the OpenAI speech API and reads `VOICE_TOOLS_OPENAI_KEY`.
-Cloud providers (groq, openai, mistral, xai, elevenlabs, deepinfra) get a **pre-upload silence trim** by default when `ffmpeg` is installed: long pauses in a voice note are collapsed client-side before the file uploads, keeping `cloud_trim_keep_ms` of each pause so natural pacing survives. Shorter audio means faster uploads, lower per-audio-minute billing, and fewer silence hallucinations from the remote model. The trim is best-effort — if ffmpeg is missing, the trim fails, the clip is mostly silence, or trimming would save less than ~10%, the original file is uploaded untouched. Set `stt.cloud_trim_silence: false` to always upload the original (e.g. when transcribing music or ambient audio through a cloud provider). Command-type and plugin providers never get trimmed audio.
+Cloud providers (groq, openai, mistral, xai, elevenlabs, deepinfra) get a **pre-upload silence trim** by default when `ffmpeg` is installed: long pauses in a voice note are collapsed client-side before the file uploads, keeping `cloud_trim_keep_ms` of each pause so natural pacing survives. Shorter audio means faster uploads, lower per-audio-minute billing, and fewer silence hallucinations from the remote model. Clips shorter than 12 seconds skip the trim entirely (savings can't matter there, and several providers bill a per-request minimum anyway). The trim is best-effort — if ffmpeg is missing, the trim fails, the clip is mostly silence, or trimming would save less than ~10%, the original file is uploaded untouched. Set `stt.cloud_trim_silence: false` to always upload the original (e.g. when transcribing music or ambient audio through a cloud provider). Command-type and plugin providers never get trimmed audio.
If the requested provider is unavailable, Hermes falls back automatically in this order: `local` → `groq` → `openai`.