flux

Automatic Speech Recognition • Deepgram

@cf/deepgram/flux

  • Cloudflare-hosted
  • Partner
  • Real-time

Flux is the first conversational speech recognition model built specifically for voice agents.

Model Info
Terms and License link ↗
Partner Yes
Real-time Yes
Unit Pricing $0.0077 per audio minute (websocket)

Parameters

encoding

stringenum: linear16Encoding of the audio stream. Currently only supports raw signed little-endian 16-bit PCM.

sample_rate

stringpattern: ^[0-9]+$Sample rate of the audio stream in Hz.

eager_eot_threshold

stringEnd-of-turn confidence required to fire an eager end-of-turn event. When set, enables EagerEndOfTurn and TurnResumed events. Valid Values 0.3 - 0.9.

eot_threshold

stringdefault: 0.7End-of-turn confidence required to finish a turn. Valid Values 0.5 - 0.9.

eot_timeout_ms

stringdefault: 5000pattern: ^[0-9]+$A turn will be finished when this much time has passed after speech, regardless of EOT confidence.

keyterm

stringKeyterm prompting can improve recognition of specialized terminology. Pass multiple keyterm query parameters to boost multiple keyterms.

mip_opt_out

stringdefault: falseenum: true, falseOpts out requests from the Deepgram Model Improvement Program. Refer to Deepgram Docs for pricing impacts before setting this to true. https://dpgr.am/deepgram-mip

tag

stringLabel your requests for the purpose of identification during usage reporting

request_id

stringThe unique identifier of the request (uuid)

sequence_id

integerminimum: 0Starts at 0 and increments for each message the server sends to the client.

event

stringenum: Update, StartOfTurn, EagerEndOfTurn, TurnResumed, EndOfTurnThe type of event being reported.

turn_index

integerminimum: 0The index of the current turn

audio_window_start

numberStart time in seconds of the audio range that was transcribed

audio_window_end

numberEnd time in seconds of the audio range that was transcribed

transcript

stringText that was said over the course of the current turn

▶words[]

arrayThe words in the transcript

end_of_turn_confidence

numberConfidence that no more speech is coming in this turn

API Schemas (Raw)

Input Open Download

Output Open Download

Was this helpful?

YesNo

On this page

flux - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers-ai/models/flux/#page","headline":"flux","description":"Flux is the first conversational speech recognition model built specifically for voice agents.","url":"https://developers.cloudflare.com/workers-ai/models/flux/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Transcribe audio using Deepgram’s speech-to-text model title: nova-3 image: https://developers.cloudflare.com/og-docs.png


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

Deepgram logo