News Infrastructure

AWS adds usage-based pricing for SageMaker AI streaming

Amazon SageMaker AI now lets model providers report live usage during bidirectional streams, with Deepgram billing speech-to-text and text-to-speech this way.

Amazon Web Services now lets model providers on Amazon SageMaker AI bill for what customers use during a live bidirectional stream, with Deepgram as the launch partner. AWS says the feature reports actual usage for the AWS Marketplace software charge.

Bidirectional streaming keeps a connection open so a client can send audio while receiving transcriptions. AWS says a session can last 30 seconds or 30 minutes, and the final total is unknown until it ends. The existing method, a unit count in an HTTP response header, cannot report usage periodically during a live session.

To solve this, SageMaker AI opens a second WebSocket connection to the model server alongside the inference stream. One connection carries inference data, and the other carries metering data. Model servers opt in by returning a single header when the connection is upgraded.

Hourly software pricing can charge customers while a model is available, including quiet periods. Usage-based metering lets providers tie the software charge to reported usage instead. Deepgram brings usage-based speech-to-text and text-to-speech billing to AWS Marketplace. SageMaker AI endpoint infrastructure charges remain separate and continue to apply while the endpoint is provisioned.

Source: Introducing usage-based pricing for Amazon SageMaker AI bidirectional streaming | Artificial Intelligence.