Amazon SageMaker

Run Deepgram inside your AWS account as a managed SageMaker AI Endpoint — with native AWS integrations, hourly billing, and a 14-day free trial.

Amazon SageMaker is a managed cloud platform from Amazon Web Services (AWS) that enables deployment of Deepgram as a managed, container-based service. The endpoint is air-gapped and runs on compute inside your own AWS VPC. Once you deploy Deepgram as a SageMaker Model Endpoint, you can run inference against the service using the Amazon SageMaker AI Software Development Kit (SDK).

The Deepgram SDKs can also target a SageMaker Endpoint through the SageMaker transport, so you can keep the same client-side request and response patterns whether you call the Deepgram-hosted API or your own SageMaker deployment.

Benefits and Tradeoffs

Deepgram on SageMaker is the fastest path to running Deepgram inside your own AWS account. Compared to self-hosting Deepgram on Docker or Kubernetes, SageMaker trades some flexibility for a managed endpoint that AWS operates on your behalf.

When SageMaker is the right fit

  • Ease of deployment. A ready-to-use endpoint can be created in minutes from the AWS Console or with infrastructure-as-code. There are no container images to mirror, no GPU drivers to install, and no Helm charts to maintain.
  • Lower management overhead. AWS manages the underlying instances, host OS, container runtime, and model package distribution. You do not need a dedicated platform team to keep the service patched and healthy.
  • Compliance for regulated workloads. Deepgram runs entirely inside your AWS account and VPC. Audio never leaves your environment, and you inherit the compliance posture of SageMaker AI (HIPAA-eligible, SOC, ISO, PCI, FedRAMP, and others). This makes SageMaker a strong fit for regulated industries that need a private deployment without operating their own Kubernetes platform.
  • Native integration with AWS services. SageMaker Endpoints integrate out of the box with Amazon CloudWatch (logs and metrics), AWS IAM (authentication and authorization), Amazon VPC (network isolation), AWS PrivateLink, AWS KMS, AWS CloudTrail (audit), and SageMaker auto-scaling. You get production-grade observability and access controls without building them yourself.
  • AWS Marketplace billing. Deepgram license charges flow through your existing AWS bill, simplifying procurement for teams that already buy through AWS.

When Docker or Kubernetes may be a better fit

  • You need to run Deepgram outside AWS or on bare metal.
  • You require features that the SageMaker isolation model does not currently support, such as user-defined callback URLs or JSON payloads that reference audio in cloud storage.
  • You want to run the Deepgram Voice Agent. SageMaker Endpoints cannot invoke Large Language Model (LLM) services, which the Voice Agent requires, so the Voice Agent cannot run inside SageMaker.
  • You need streaming connections that stay open for longer than 30 minutes. SageMaker Real-Time Inference supports up to 30 minutes of connection time per bidirectional streaming connection.
  • You need to send more than 25 MB of input data per non-streaming invocation. SageMaker enforces a 25 MB maximum payload size for real-time endpoints. Asynchronous endpoints (up to 1 GB per request) are temporarily not available for Marketplace-hosted Deepgram. If your use case needs them, contact your Deepgram representative.
  • You need fine-grained control over the container runtime, networking, or process supervision beyond what SageMaker exposes.

Limitations

When using Deepgram services in Amazon SageMaker, please be aware of the following limitations.

  • The SageMaker network isolation model prevents the container from making outbound calls to external LLM providers. As a result, the Deepgram Voice Agent cannot run inside SageMaker.
  • Deepgram cannot invoke user-defined callback URLs
  • Passing a JSON payload for transcription (e.g., referencing a file stored in cloud storage via URL) is unsupported, as the SageMaker isolation model prevents the container from reaching out to external cloud storage
  • Deepgram custom metrics are not currently available through Amazon SageMaker Endpoints
  • For streaming invocations, the connection remains open until you explicitly close the input stream or the endpoint closes the connection, supporting up to 30 minutes of connection time.
  • For non-streaming invocations, the maximum size of the input data is 25 MB for real-time endpoints. Asynchronous endpoints (up to 1 GB per request) are temporarily not available for Marketplace-hosted Deepgram. If your use case needs them, contact your Deepgram representative.

Deployment options

Most customers can stand up a ready-to-use endpoint in minutes:

  1. Subscribe. Subscribe to a Deepgram product on the AWS Marketplace and note its Model Package ARN. See Subscribe on AWS Marketplace.
  2. Deploy with one of three paths:
    • AWS CLI or SDK. Create the SageMaker Model, Endpoint Configuration, and Endpoint with the AWS CLI or Boto3. This is the recommended path because it lets you pin the inference AMI version that current Deepgram model packages require. See Deploy Deepgram on Amazon SageMaker.
    • Infrastructure-as-Code. Deploy the same model package using Terraform for repeatable, version-controlled rollouts. See Deploy with Terraform.
    • Agent-assisted (AI coding assistant). Install the Deepgram SageMaker skill and let your assistant run each step with confirmation. See Agent-assisted setup.

The SageMaker AI console cannot set the inference AMI version, so endpoints created through the console fail to start with current Deepgram model packages. Use the CLI, SDK, or Terraform paths above.

Agent-assisted setup

The deepgram-devs/dg-sagemaker repository publishes an installable agent skill (open SKILL.md format, plus a Claude Code plugin manifest) that walks an AI coding assistant through the whole flow: preflight, listing products and subscription state, subscribing, resolving the Model Package ARN, checking and requesting quota, creating the execution role, deploying on an instance pool, diagnosing endpoint status, running an invoke test, configuring auto-scaling, in-place updates, and teardown. Each step runs through a script in the kit.

npx skills add deepgram-devs/dg-sagemaker
# Claude Code
/plugin marketplace add deepgram-devs/dg-sagemaker
/plugin install deepgram-sagemaker@deepgram

The skill needs AWS credentials for the target account and uv. The assistant:

  • Confirms with you before subscribing, creating, or deleting anything.
  • Recommends an ordered instance pool rather than a single instance type.
  • Refuses to deploy asynchronous endpoints, which are temporarily unsupported.
  • Does not quote per-instance capacity numbers; measure on your own endpoint or ask a Deepgram representative for a planning estimate.

Pricing

Deepgram on SageMaker is billed per request, at the same rates shown on deepgram.com/pricing. The AWS pricing page may list the dimension inference.count.m.i.c Inference Pricing at a cost of $0.001/request. When the cost of a request exceeds $0.001, Deepgram automatically emits a charge for multiple units for that single request.

Private offers

For larger or longer-term deployments, AWS Marketplace Private Offers are available with negotiated unit economics and committed-use terms. Contact your AWS account team or Deepgram representative to start a Private Offer.

Try before you buy

A 14-day free trial is available with unlimited product usage and zero Deepgram license charges during the trial window. Each trial is available once per AWS account per product. Contact a Deepgram representative if you need additional time for testing.

AWS field employees

If you are an AWS field employee, you can access Deepgram models through the AWS Marketplace Field Demonstration Program. Deepgram is an eligible provider. Refer to your internal AWS documentation for enrollment details, and reach out to a Deepgram representative if you need assistance activating the program.

Infrastructure charges

Infrastructure charges are set by AWS and billed separately from Deepgram license charges. Public pricing for SageMaker Real-Time Inference is available at aws.amazon.com/sagemaker/ai/pricing. Self-service savings may be available on 1-year or 3-year committed usage by purchasing a Machine Learning Savings Plan from AWS. For more information or to discuss additional discounts, contact your AWS sales representative.