models/Deepgram/Flux

Flux

audio-stt

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

slug · deepgram/fluxprovider · Deepgramfamily · FLUXreleased · 2025-09-29

Quickstart

curl https://api.aigateway.sh/v1/audio/transcriptions \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -F model="deepgram/flux" \
  -F file="@audio.mp3"

Capabilities

Streaming

Strengths

  • Speech-to-text transcription

Use cases

Meeting transcriptsCaptionsVoice agents

Pricing

Per minute$0.0077
You pay pass-through · 5% applied at credit top-up, not per-call.
Try in playground →CompareAPI referenceSee usage ranking →

Collections

More audio models →More from DeepgramFrontier models →Free-tier models →
API schema

Call Flux from any OpenAI SDK

POST https://api.aigateway.sh/v1/audio/transcriptions·Content-Type: multipart/form-data·Auth: Bearer sk-aig-...

Request body

json
# multipart/form-data — use curl -F or SDK file upload
model="deepgram/flux"
file=@audio.mp3
response_format=json    # or "verbose_json", "text", "srt", "vtt"
language=en             # optional

Response

json
{
  "text": "Hello from AIgateway.",
  "language": "en",
  "duration": 1.82
}

Quickstart

from openai import OpenAI
client = OpenAI(base_url="https://api.aigateway.sh/v1", api_key="sk-aig-...")

with open("audio.mp3", "rb") as f:
    r = client.audio.transcriptions.create(model="deepgram/flux", file=f)
print(r.text)

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →