9router-stt

A speech-to-text connection for 9Router, which turns an audio file into written text. It can also produce subtitle formats such as SRT or VTT.

In plain words
What is it for?
Use it to transcribe recordings, convert speech to text, or create subtitles from MP3, WAV, M4A, WebM, OGG, or FLAC files.
Why use it?
It lets applications use several supported transcription providers through one endpoint instead of integrating each provider separately. Optional language and hint settings can guide the transcription.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/decolua/9router/9router-stt
Any agent
npx skills add decolua/9router --skill 9router-stt
Clone the repo
git clone --depth 1 https://github.com/decolua/9router

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.00966
Opus 5 $0.00032 $0.00483
Sonnet 5 $0.00013 $0.00193
Haiku 4.5 $0.00006 $0.00097

Measured yesterday against content hash 78ffb7a8857f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

9router-stt scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl $NINEROUTER_URL/v1/models/stt | jq '.data[].id'
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/9router-stt/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

9Router — Speech-to-Text

Requires NINEROUTER_URL (and NINEROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/decolua/9router/refs/heads/master/skills/9router/SKILL.md for setup.

Discover

curl $NINEROUTER_URL/v1/models/stt | jq '.data[].id'
# Per-model params (language, response_format, prompt, temperature support)
curl "$NINEROUTER_URL/v1/models/info?id=openai/whisper-1"

model = STT model ID (e.g. openai/whisper-1, groq/whisper-large-v3, deepgram/nova-3, gemini/gemini-2.5-flash).

Endpoint

POST $NINEROUTER_URL/v1/audio/transcriptions (OpenAI Whisper compatible, multipart/form-data)

Field Required Notes
model yes from /v1/models/stt
file yes audio file (mp3, wav, m4a, webm, ogg, flac)
language no ISO-639-1 (e.g. en, vi)
prompt no hint text to guide transcription
response_format no json (default) / text / verbose_json / srt / vtt
temperature no 0–1

Examples

curl -X POST "$NINEROUTER_URL/v1/audio/transcriptions" \
  -H "Authorization: Bearer $NINEROUTER_KEY" \
  -F "model=openai/whisper-1" \
  -F "[email protected]" \
  -F "language=vi"

JS (Node):

import { createReadStream } from "node:fs";
const form = new FormData();
form.append("model", "groq/whisper-large-v3-turbo");
form.append("file", new Blob([await (await import("node:fs/promises")).readFile("audio.mp3")]), "audio.mp3");
const r = await fetch(`${process.env.NINEROUTER_URL}/v1/audio/transcriptions`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${process.env.NINEROUTER_KEY}` },
  body: form,
});
const { text } = await r.json();
console.log(text);

Response shape

Default (response_format=json):

{ "text": "Xin chào, đây là bản ghi âm." }

verbose_json adds language, duration, segments[] with timestamps. srt / vtt return subtitle text.

Provider quirks

Provider model format Notes
openai whisper-1, gpt-4o-transcribe, gpt-4o-mini-transcribe Native OpenAI shape
groq whisper-large-v3, whisper-large-v3-turbo, distil-whisper-large-v3-en Fastest; OpenAI shape
gemini gemini-2.5-flash, gemini-2.5-pro, gemini-2.5-flash-lite Server converts to generateContent with audio inline
deepgram nova-3, nova-2, whisper-large Token auth; server adapts response
assemblyai universal-3-pro, universal-2 Async upload+poll handled server-side
nvidia nvidia/parakeet-ctc-1.1b-asr NIM endpoint
huggingface openai/whisper-large-v3, openai/whisper-small HF Inference API

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 80 lines · 63 tokens per session scan A 78ffb7a8857f

Subscribe to this mod's changes

9router-stt is a skill published in the GitHub repository decolua/9router (26,675 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 966 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

extremerouter-stt

Speech-to-text via ExtremeRouter /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.

rsalmn/ExtremeRouter · 64 tokens

extremerouter

Entry point for ExtremeRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions ExtremeRouter, NINEROUTERURL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant…

rsalmn/ExtremeRouter · 84 tokens

feednest

Read, search, highlight, and organize news from the user's RSS feeds through natural language.

feednest-app/mcp · 21 tokens

tokonomix-gateway

Direct HTTP access to the Tokonomix AI gateway — OpenAI- and Anthropic-compatible endpoints for chat, image generation, image editing, vision consensus, embeddings, audio transcription and reranking, with EU data-residency routing through one key. Use when building an app, an agent framework, or a CI pipeline without…

TokonoMix/tokonomix-council-mcp · 98 tokens

extremerouter-image

Generate images via ExtremeRouter /v1/images/generations using OpenAI / Gemini Imagen / DALL-E / FLUX / MiniMax / SDWebUI / ComfyUI / Codex models. Use when the user wants to create, generate, draw, or render an image, picture, or text-to-image (txt2img).

rsalmn/ExtremeRouter · 75 tokens

extremerouter-tts

Text-to-speech via ExtremeRouter /v1/audio/speech using OpenAI / ElevenLabs / Deepgram / Edge TTS / Google TTS / Hyperbolic / Inworld voices. Use when the user wants to convert text to speech, generate audio, voiceover, narrate, or read text aloud.

rsalmn/ExtremeRouter · 71 tokens