Skip to content
AI.info

The Pulse

Deepgram speech APIs gain per-request agent payments on AWS

AI agents can buy Deepgram speech-to-text and text-to-speech requests through AWS Marketplace using x402. Charges go to an AWS account, and the integration does not require a Deepgram API key.

AI agents can now pay for individual Deepgram speech-to-text and text-to-speech requests through AWS Marketplace, with charges billed to an AWS account.

The service covers Nova-3 speech-to-text and the Flux TTS and Aura-2 text-to-speech models. Agents can purchase requests without managing a contract, according to the company’s documentation.

How payment works

The service uses three batch endpoints, each priced per request. Streaming endpoints are not available through AWS Marketplace.

The AWS account must have AgentCore payments configured with a Payment Manager, an AWS Billing connector and a payment session with a spend limit. An agent sends a request to an endpoint and receives an HTTP 402 Payment Required response containing a signed price quote.

The agent passes the relevant quote entry to AgentCore payments to obtain a payment token, then retries the same request with that token. A successful response includes the result and an AWS Marketplace payment ID in a response header.

A paid quote remains valid for five minutes. A failed request does not use up the payment; a request with corrected parameters can be retried as long as it costs no more than the amount already paid.

Models and prices

The Nova-3 endpoint accepts hosted audio or raw audio up to about 4.5 MB. It returns transcript JSON synchronously; the callback parameter is not supported.

The AWS Marketplace listing prices Nova-3 at $0.004333 per audio minute, or $0.005167 per minute with the multilingual setting. The listing also sets per-minute charges for optional keyterm, redaction and entity-detection features: $0.001333, $0.002 and $0.001667, respectively.

Flux TTS is listed at $0.045 per 1,000 input characters, while Aura-2 costs $0.03 per 1,000 input characters. Both accept text and return audio, with MP3 as the default format. The quote returned for each request states its exact price in U.S. dollars.

Framework support

The AgentCore payments plugins for Strands Agents and LangGraph currently handle stablecoin payments only, Deepgram’s documentation says. Developers using those frameworks can call the AgentCore payments ProcessPayment function from a tool to pay AWS Marketplace quotes.

Deepgram provides Python and TypeScript examples, along with a script for the one-time AWS account setup. Payment tokens can also be bound to a key, in which case the retried request includes an additional proof header.

Sources

  1. Original source · Release notes Deepgram · page 1 developers.deepgram.com

Other pages read

  1. Deepgram · AWS Marketplace x402 developers.deepgram.com
  2. AWS Marketplace aws.amazon.com

Companies in this story

Related stories

Explore

More articles