Reactive Machines

Introducing Claude Opus 5 on AWS: Anthropic's most powerful Opus model

Today, we are announcing the availability of Claude Opus 5 on Amazon Bedrock and the Claude Platform on AWS. The Claude Opus 5 is Anthropic's most advanced Opus model and is the first of the fifth generation. It's a logical step forward, providing improvements to all the workflows teams run in production such as agent coding, knowledge work, virtual intelligence, and long-running tasks. According to Anthropic, Claude Opus 5 matches the high-level intelligence of Claude Fable 5 in many domains at Opus-tier prices.

On Amazon Bedrock, Claude Opus 5 benefits from zero data retention (ZDR) by default, delivering high-level intelligence without compromising corporate data control. Claude Opus 5 is powered by the next-generation Bedrock engine, allowing you to build within your existing AWS environment, maintain business security and regional data integrity, and scale with zero operator access.

Claude Opus 5 is also available through the Claude Platform on AWS, which supports on-demand cloud storage and gives you access to Anthropic's native platform experience and capabilities through the AWS Console. Build, test, and deploy with the same APIs, features, and console experience you get working with Anthropic directly, combined with AWS billing and authentication.

This post covers Opus 5 development and practical guidelines for AI developers integrating the model into agent systems and targeted production workloads on Amazon Bedrock. See the documentation for the Claude Platform on AWS.

What makes Claude Opus 5 different

According to Anthropic, Claude Opus 5 brings a step change in coding. Understands and navigates codebases like an experienced developer and writes production-quality code while adjusting its strategy as it works. It enables reliable long-term agents that work hours and even nights, find ways around obstacles, recover from mistakes, and reach their goals. For professional work, it brings deep thinking to long documents and high accuracy to complex analysis, which has great advantages in heavy business operations. Together, this adds marginal power to Opus-tier economics.

Use cases

The Claude Opus 5 is ideally suited for industries where precision, reliability, and critical thinking are paramount. For financial services teams, it enables financial workflows with deep thinking and deep understanding of content. It handles compliance-sensitive work with more clarity and focus. Automate agent and workflow tools, backtrack on erroneous commands and break complex tasks into smaller agents that require less supervision. In production work, handles report creation and auditing, documentation, and systematic analysis with high consistency. Runs multi-day projects and produces professional-level results.

Claude Opus 5 also improves on Claude Opus 4.8's online capabilities across the board, from coding to cyber security. In high-risk areas, Opus 5 may revert to Opus 4.8. Users are notified when this happens, and a backup can be configured using the APIs.

Getting Started with Claude Opus 5 on Amazon Bedrock

You can start with Claude Opus 5 on the Amazon Bedrock console.

In the Amazon Bedrock console, under Tests, select Playground.

For model, select Claude Opus 5. Now, you can test your complex coding command with model.

Claude Opus 5's answer to Amazon Bedrock console Playground

Amazon Bedrock console Playground with Claude Opus 5 selected

You can also access the model programmatically using the Anthropic Messages API to call bedrock-runtime by using the Anthropic SDK or bedrock-mantle finally, or continue to use the Invoke and Converse API is open bedrock-runtime by using the AWS Command Line Interface (AWS CLI) and the AWS SDK.

What is required

  • An active AWS account with Amazon Bedrock access.
  • The AWS CLI is installed and configured.
  • Python 3.8+.
  • Boto3 included: pip install boto3
  • Anthropic SDK included: pip install anthropic[bedrock]
  • IAM permissions: bedrock:InvokeModel, bedrock:InvokeModelWithResponseStreamagain bedrock:CreateInference

Here's a quick example using the AWS SDK for Python (Boto3):

import boto3
import json

# Create a Bedrock Runtime client
bedrock_runtime = boto3.client(
    service_name="bedrock-runtime",
    region_name="us-east-1"
)

# Invoke Claude Opus 5
response = bedrock_runtime.invoke_model(
    modelId="global.anthropic.claude-opus-5",
    contentType="application/json",
    accept="application/json",
    body=json.dumps({
        "anthropic_version": "bedrock-2023-05-31",
        "max_tokens": 4096,
        "messages": [
            {
                "role": "user",
                "content": "Design a distributed architecture on AWS in Python that should support 100k requests per second across multiple geographic regions."
            }
        ]
    })
)

result = json.loads(response["body"].read())
print(result["content"][1]["text"])

You can also use Claude Opus 5 with the Amazon Bedrock Converse API to get integrated information for multiple models:

import boto3

bedrock_runtime = boto3.client("bedrock-runtime", region_name="us-east-1")

response = bedrock_runtime.converse(
    modelId="global.anthropic.claude-opus-5",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "text": "Design a distributed architecture on AWS in Python that should support 100k requests per second across multiple geographic regions."
                }
            ]
        }
    ],
    inferenceConfig={
        "maxTokens": 4096
    }
)

if 'output' in response:
    blocks = response['output']['message']['content']
    print('n'.join(b.get('text', '') for b in blocks if 'text' in b))

You can also use Claude Opus 5 with the Anthropic Messages API using the anthropic[bedrock] SDK package for simple experience:

from anthropic import AnthropicBedrockMantle

# Initialize the Bedrock Mantle client (uses SigV4 auth automatically)
mantle_client = AnthropicBedrockMantle(aws_region="us-east-1")

# Create a message using the Messages API
message = mantle_client.messages.create(
    model="anthropic.claude-opus-5",
    max_tokens=4096,
    messages=[
        {"role": "user", "content": "Design a distributed architecture on AWS in Python that should support 100k requests per second across multiple geographic regions"}
    ]
)

print(message.content[1].text)

Claude Opus 5 supports adding and removing instruments during the session tool_addition again tool_removal content blocked role: "system" messages, instead of resending full-fledged tools. See the Bedrock documentation for more details.

Availability

Claude Opus 5 is available today on Amazon Bedrock in regions including US East (N. Virginia), Asia Pacific (Melbourne), Europe (Ireland), and Europe (Stockholm). See the Bedrock documentation for a full list of supported regions. Claude Opus 5 is also available on the Claude Platform on AWS in North America, South America, Europe and Asia Pacific.

Try Claude Opus 5 on the Amazon Bedrock console, Claude Platform on AWS, or check out the Getting Started notebooks on GitHub. You can also unlock the full potential of Opus 5 by using Advanced Prompt Optimization on Amazon Bedrock. It takes your current information, evaluates it against your test criteria, and rewrites it to produce the output.


About the writers

Amina Najmi

Amina Najmi

Aamna is a Senior Specialist Solutions Architect for Generative AI focusing on Anthropic models and implementing and managing generative AI systems at scale on Amazon Bedrock. He helps ISVs solve their challenges, embrace innovation, and create new business opportunities with Amazon Bedrock. In her spare time, she pursues her passion for food and discovering new places.

Antonio Rodriguez

Antonio Rodriguez

Antonio is the principal leader of Generative AI Tech at Amazon Web Services. He helps companies of all sizes solve their challenges, adopt new approaches, and create new business opportunities with Amazon Bedrock. Outside of work, he likes to spend time with his family and play sports with his friends.

Eugenio Soltero

Eugenio Soltero

Eugenio is Sr. Product Marketing Manager for Amazon Bedrock at AWS. With several years of experience in generative AI, he helps clients navigate the evolving landscape of foundational models and generative AI to find solutions that deliver measurable value.

Sofian Hamiti

Sofian Hamiti

Sofian is a technology leader with more than 12 years of experience building AI solutions, and leads high-performance teams to maximize customer results. He is passionate about empowering diverse talents to drive global impact and realize their career aspirations.

Ayan Ray

Ayan Ray

Ayan is a Principal Partner Solutions Architect and AI Tech Lead at AWS, serving as the Global Technical Lead for Anthropic at AWS. He works at the intersection of cloud architecture and Artificial Intelligence, helping organizations adopt and scale Anthropic technologies on AWS.

Dani Mitchell

Dani Mitchell

Dani is a Sr GenAI Specialist Solutions Architect at AWS and SA lead for Amazon Bedrock Knowledge Bases. He helps businesses around the world design and implement productive AI solutions using Amazon Bedrock and Anthropic's models to build scalable, production-ready applications.

Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button