Prompt

How do I add word-level confidence to transcript output?

Artificial Intelligence / Speech & Voice AI1 observationLast seen Oct 11, 2026

Latest observation

Oct 11, 2026OpenAI APIWeb search: off

To add word-level confidence to transcript output, the exact method depends on the speech-to-text engine or API you’re using. In general, you want the recognizer to return per-word metadata and then include that in your transcript JSON/text.

Common approaches

1) Enable word confidence / word metadata in the STT API

Many APIs have a flag like:

  • enableWordConfidence
  • show_word_confidence
  • word_time_offsets
  • enable_word_time_offsets
  • detailed_results

When enabled, the response usually includes each word with:

  • the word text
  • start/end time
  • confidence score

Example shape:

{
  "transcript": "hello world",
  "words": [
    { "word": "hello", "confidence": 0.98, "start": 0.2, "end": 0.5 },
    { "word": "world", "confidence": 0.91, "start": 0.6, "end": 0.9 }
  ]
}

2) Add word confidence to your transcript formatter

If your STT output already includes word-level data, modify your formatter to append confidence:

hello(0.98) world(0.91)

Or in JSON:

{
  "transcript": "hello world",
  "word_confidence": [
    {"word": "hello", "confidence": 0.98},
    {"word": "world", "confidence": 0.91}
  ]
}

3) If your model only returns segment-level confidence

Some systems return confidence for the whole segment, not individual words. In that case:

  • You cannot get true word-level confidence directly
  • You can only approximate it using token probabilities/logprobs if the model exposes them
  • Or switch to a model/API that supports word-level confidence

If you’re using a specific platform

Here are common examples:

Google Cloud Speech-to-Text

Enable word-level confidence in the recognition config and inspect words in the result.

AWS Transcribe

Use transcription settings that include speaker/word metadata; word confidence availability depends on the API/output type.

Whisper / OpenAI-style transcription

Word-level confidence is not always returned directly. You may need:

  • token probabilities/logprobs, if available
  • alignment tools like whisperx for timestamps and derived scores
  • a separate confidence estimation layer

Best practice

Store transcript output as structured data, not plain text only:

{
  "text": "hello world",
  "words": [
    {"text": "hello", "confidence": 0.98},
    {"text": "world", "confidence": 0.91}
  ]
}

That way you can render it in different formats later.

If you tell me which speech-to-text library or API you’re using, I can show the exact code to enable word-level confidence.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.