Streaming Text Completion
Stream plain text completions as they are generated, ideal for autocomplete, summaries, and single-output generation.Streaming Chat Responses
Receive incremental chat deltas in real-time. Append delta content to progressively render assistant messages.Note: Streaming requests also follow the default timeout setting defined in provider configuration, which defaults to 30 seconds.
Bifrost standardizes all stream responses to send usage and finish reason only in the last chunk, and content in the previous chunks.
Responses API Streaming
Use the OpenAI-style Responses API with streaming for unified flows. Events arrive via SSE; accumulate text deltas until completion.Text-to-Speech Streaming: Real-time Audio Generation
Stream audio generation in real-time as text is converted to speech. Ideal for long texts or when you need immediate audio playback.Speech-to-Text Streaming: Real-time Audio Transcription
Stream audio transcription results as they’re processed. Get immediate text output for real-time applications or long audio files.Streaming Best Practices
Buffering for Audio
For audio streaming, consider buffering chunks before saving:Context and Cancellation
Use context to control streaming duration:Voice Options
OpenAI TTS supports these voices:alloy- Balanced, natural voiceecho- Deep, resonant voicefable- Expressive, storytelling voiceonyx- Strong, confident voicenova- Bright, energetic voiceshimmer- Gentle, soothing voice
Note: Please check each model’s documentation to see if it supports the corresponding streaming features. Not all providers support all streaming capabilities.
Next Steps
- Tool Calling - Enable AI to use external functions
- Multimodal AI - Process images and multimedia content
- Provider Configuration - Multiple providers for redundancy
- Core Features - Advanced Bifrost capabilities

