Cost Efficiency (Open Source)
Lower Long Term costs
Customised data control
Pre-trained model
Get Your Deepseek AI Model Running in a Day
Amazon Bedrock Marketplace is a new capability in Amazon Bedrock that enables developers to discover, test and use over 100 popular, emerging, and specialized foundation models (FMs) alongside the current selection of industry leading models in Amazon Bedrock. You can easily discover the models in a single catalog, subscribe to the model and then deploy the model on managed endpoints. Then you can access the models through Bedrock’s unified APIs and use them natively with Bedrock tools such as Agents, Knowledge Bases and Guardrails.
In this guide, we will walk through how to set up DeepSeek-R1 on AWS Bedrock, configure necessary permissions, test model inference and optimize for cost-effective usage.
AWS Account (With access to Bedrock Marketplace)
IAM Permissions (AmazonBedrockFullAccess, AWSLambdaFullAccess)
S3 Bucket (For logging and data storage)
AWS SDK or CLI (For API calls)
Setting Up IAM Role for Bedrock
Go to AWS IAM Console → Click Roles → Create role
Select AWS Service → Choose Bedrock
Attach Policies:
AmazonBedrockFullAccess
AWSLambdaFullAccess
Review & Create Role (Name it BedrockAccessRole)
Since AWS Bedrock operates on a pay-per-inference model, it’s crucial to optimize usage.
Pricing Based on Instance Type
How to Optimize Costs?
Step 1: Go to Amazon Bedrock Console
Navigate to Model Catalog under the Foundation Models section.
Search for "DeepSeek-R1" or filter by model providers.
Step 2: Review Model Details
Check the model's capabilities, implementation guidelines and use cases.
Step 3: Deploy the Model
Ensure settings align with security and compliance requirements for production use.
Using Amazon Bedrock Guardrails
Testing and Optimizing DeepSeek-R1
When using InvokeModel API or Bedrock’s playground, use DeepSeek’s chat template for best performance:
<|begin_of_sentence|><|User|>content for inference<|Assistant|>
Ready to transform your business with our technology solutions? Contact Us today to Leverage Our AI/ML Expertise.