I received this error tonight while working on my apps that use AWS Bedrock.”This model version has reached the end of its life. Please refer to the AWS documentation for more details.” I was still using it happily a few days back, and didn’t get any notifications so let’s take a look at this a little more.

AWS Bedrock

I am using AWS Bedrock and the API to embed AI in two apps I’m building currently.

When calling the API earlier I was given this error:

Error: Error executing “InvokeModel” on “https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-v2/invoke”; AWS HTTP error: Client error: POST https://bedrock-runtime.us-east-1.amazonaws.com/model/anthropic.claude-v2/invoke resulted in a 404 Not Found response: {“message”:”This model version has reached the end of its life. Please refer to the AWS documentation for more details.” (truncated…) ResourceNotFoundException (client): This model version has reached the end of its life. Please refer to the AWS documentation for more details.

Model Lifecycles

The message “This model version has reached the end of its life” indicates that the specific version of Anthropic’s Claude 2 model, identified as anthropic.claude-v2, is no longer supported or available for use on Amazon Bedrock.

This means that any applications or integrations relying on this particular model version will need to be updated to use a newer, supported Claude model. Anthropic and AWS typically provide information on model deprecations and recommended replacements.

I didnt get any notice perhaps its in the console.

Users are advised to migrate their usage to a suitable replacement model before the retirement date, as requests to deprecated models will fail after that point. For example, users who were utilizing anthropic.claude-v2 would need to migrate to a newer version like Claude 3 or Claude 4 models (e.g., Claude Sonnet 4, Claude Opus 4.1) which are available on Amazon Bedrock. Thorough testing of applications with the new models is recommended before the full transition.

Read the Bedrock model lifecycle page. It says “Amazon Bedrock is continuously working to bring the latest versions of foundation models that have better capabilities, accuracy, and safety. As we launch new model versions, you can test them with the Amazon Bedrock console or API, and migrate your applications to benefit from the latest model versions.

A model offered on Amazon Bedrock can be in one of these states: Active, Legacy, or End-of-Life (EOL)”

That link proceeds to give a information and list of active versions, legacy versions and end-of-life versions.

For legacy versions the page says “We will notify you when a model provider moves a model to the Legacy state. A model will be in the Legacy state for at least 6 months before the EOL date. While you can continue to use a Legacy model during this period, you should plan to transition to an Active model before the EOL date. New customers can’t use Legacy models and existing customers may lose access to Legacy models due to inactivity.”

For EOL models “EOL — After the EOL date, a model will be marked EOL in the console and in the following table. On, or soon after the EOL date, the model is no longer available for use in all AWS Regions and requests made to this version will fail, unless there is a private arrangement between you and the provider for continued access. You will need to migrate to the latest model by updating your application code before the EOL date. Migration will not happen automatically.”

The EOL page suggests I move to Claude Sonnet 4. I’ll do so in coming days.

Closing thoughts

As part of your governance practices you will need to be monitoring model lifecycle.

I’ve got a gap in this control and now have some migration and testing to do. I also need to figure out where the notifications on model lifecycle changes can be viewed and more reasonably subscribed to.

Quintes van Aswegen

Quintes van Aswegen

24+ years experience in solving business problems and maximising opportunities through technology in a variety of industries, public and private sector internationally. I founded architectFWD™ to provide knowledge and trusted advice in the areas of strategy, technology, cloud and digital to enable organisations to become Digital Leaders.