

# AI models

**Note**  
This feature is in public preview. Features and behavior are subject to change.

The agent on a WorkSpace uses foundation models from Amazon Bedrock. You choose which models the agent can use, first for your account and then for each persona configuration and WorkSpace. This way, you can match cost and capability to the work, for example, a lower-cost model for simple tasks. Model requests run in your AWS account, and Amazon Bedrock bills them to your account at Amazon Bedrock prices. For more information, see [Amazon Bedrock Pricing](https://aws.amazon.com/bedrock/pricing/) on the Amazon Web Services website.

## How model access works
<a name="agentic-models-how-access-works"></a>

You control model access at three levels. Each level is a subset of the preceding level.


| Level | What it is | Who sets it | 
| --- | --- | --- | 
| Supported models | The models that agent-ready WorkSpaces support in the Region. | AWS | 
| Allowed models for your account | The supported models that you allow in your account. | You, for each account | 
| Models for a persona configuration or WorkSpace | The allowed models that the agent on a WorkSpace can use. | You, for each persona configuration or WorkSpace | 

The agent can use a model only if the model is in the WorkSpace's list and is still allowed for your account. Users choose among the WorkSpace's models.

## Supported models
<a name="agentic-models-supported"></a>

During preview, agent-ready WorkSpaces support the following models in US East (Ohio).


| Model | Model ID | 
| --- | --- | 
| Claude Haiku 5.5 | anthropic.claude-haiku-5-5 | 
| Claude Opus 4.7 | anthropic.claude-opus-4-7 | 
| Claude Opus 4.8 | anthropic.claude-opus-4-8 | 
| Claude Opus 5 | anthropic.claude-opus-5 | 
| Claude Opus 5.5 | anthropic.claude-opus-5-5 | 
| Claude Sonnet 5 | anthropic.claude-sonnet-5 | 
| Claude Sonnet 5.5 | anthropic.claude-sonnet-5-5 | 

Use these model IDs with the agent-ready WorkSpaces API. Don't use inference profile IDs, such as IDs that start with `us.`. To get the current list, use the `ListSupportedModels` operation.

Each model request from agent-ready WorkSpaces goes through an Amazon Bedrock cross-Region inference profile for the US geography. A request from US East (Ohio) can be processed in US East (N. Virginia), US East (Ohio), or US West (Oregon). For more information, see [Cross-Region inference](agentic-workspaces.md#agentic-cross-region-inference).

Model requests leave the WorkSpace through an endpoint that WorkSpaces manages, to the WorkSpaces gateway. Your VPC's egress controls, such as security groups, network firewalls, and proxies, don't apply to this traffic. Model requests keep working when internet access is turned off for the agent. The gateway sends model requests only to Amazon Bedrock in your account, through the `AgenticWorkspacesInferenceRole` role.

## Before you begin
<a name="agentic-models-before-you-begin"></a>

Before you allow models, check the following:
+ Complete account setup in US East (Ohio). For more information about account setup, see [Prerequisites for agent-ready WorkSpaces](agentic-prerequisites.md).
+ Make sure that your account can use the models in Amazon Bedrock. Anthropic models require a one-time use case submission for your account. If a model is sold through AWS Marketplace, someone in your account with AWS Marketplace permissions must enable it once. Model requests from WorkSpaces can't do this for you. For more information about model access, see [Access Amazon Bedrock foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html) in the *Amazon Bedrock User Guide*.
+ If you use service control policies (SCPs), don't deny the Amazon Bedrock actions that the `AgenticWorkspacesInferenceRole` role uses in US East (N. Virginia), US East (Ohio), or US West (Oregon). For the list of actions, see [Prerequisites for agent-ready WorkSpaces](agentic-prerequisites.md). If any of these actions or Regions is denied, model requests fail.
+ Model requests count against the Amazon Bedrock quotas of your account, such as tokens per minute. To request a higher quota, use Service Quotas.

## Allow models for your account
<a name="agentic-models-allow-for-account"></a>

Allow the models that you want to offer to any user in your account. You must allow at least one model before you can create a persona configuration.

**To allow models for your account**

1. Open the [Agentic Catalog](https://console.aws.amazon.com/workspaces/v2/g/agentic-catalog?region=us-east-2) in the Amazon WorkSpaces console.

1. On the **Agentic Catalog** page, in the **Allowed AI models** section, choose **Edit allowed AI models**.

1. For **Allowed AI models**, select the models to allow.

1. Choose **Save changes**.

The models that you selected are now allowed for your account. To allow models by using the API, use `AssociateAccountModels`. To list the allowed models, use `ListAccountModels`.

If you specify a model ID that isn't supported, the request fails with the message "These models are not available for your account in this Region: model-ids." Check the ID against `ListSupportedModels`, and then try again.

When you allow a model, agent-ready WorkSpaces don't check your Amazon Bedrock access. If your account can't use a model in Amazon Bedrock, requests for that model fail when the agent uses it.

## Choose models for persona configurations and WorkSpaces
<a name="agentic-models-choose-for-personas"></a>

Each persona configuration includes at least one model. When you create a WorkSpace from a persona configuration, the WorkSpace gets a copy of that list. For more information about persona configurations, see [Create a persona configuration](agentic-personas.md#agentic-personas-create).

You can't change a persona configuration after you create it. To change the models of an existing WorkSpace, use the WorkSpaces console or the API.

**To change the models of a WorkSpace**

1. Open the [WorkSpaces console](https://console.aws.amazon.com/workspaces/v2/home), and choose the WorkSpace to open its details page.

1. In the **Agentic configuration** section, choose **Edit**, and then choose **Models**.

1. On the **Edit Models** page, for **Models**, add or remove models. The list shows the models that are allowed for your account.

1. Choose **Save**.

To change the models by using the API, add models to a WorkSpace with `AssociateWorkspaceModels`, remove models from a WorkSpace with `DisassociateWorkspaceModels`, and view the models of a WorkSpace with `GetAgenticWorkspaceConfiguration`.

The following rules apply:
+ You can add only models that are allowed for your account. Otherwise, the request fails with the message "These models are not associated with your account: model-ids. Associate them with AssociateAccountModels, and then try again."
+ If you remove every model from a WorkSpace, the agent on that WorkSpace can't use a model until you add one.
+ Changes reach a running WorkSpace without a restart, usually within 2 minutes. After you remove a model, requests for it fail within about a minute, even during a task. Added models become available in the chat after the current task finishes. In the terminal, they become available when the user starts a new session. If a user had chosen the removed model, the chat switches to the default model and says so.

## How users choose a model
<a name="agentic-models-how-users-choose"></a>

When a session starts, the agent uses a default model from the WorkSpace's models. In the chat, the model list shows which model is the default.

Users can switch models at any time:
+ Chat – Choose a model from the model list.
+ Terminal – Run the `/model` command.

The agent shows only the WorkSpace's models. For more information about working with the agent, see [Work with the agent](https://docs.aws.amazon.com/workspaces/latest/userguide/agentic-work-with-agent.html) in the agent-ready WorkSpaces User Guide.

## Remove a model
<a name="agentic-models-remove"></a>

You can remove a model from a WorkSpace, from your account, or both. To remove a model from one WorkSpace, see the preceding section, Choose models for persona configurations and WorkSpaces. To stop every WorkSpace in your account from using a model, remove it from your account.

**To remove models from your account**

1. On the **Agentic Catalog** page, in the **Allowed AI models** section, choose **Edit allowed AI models**.

1. Clear the models that you want to remove, and then choose **Save changes**.

1. In the **Remove allowed models** dialog box, confirm the removal.

The models that you cleared are no longer allowed for your account. To remove models by using the API, use `DisassociateAccountModels`.

When you remove a model from your account:
+ The model stops working within about a minute on every WorkSpace that uses it. Requests for the model fail with an error that says the model isn't enabled for the account.
+ The model stays in the model lists of WorkSpaces and persona configurations. If you allow the model again, those WorkSpaces can use it again.
+ You can no longer use persona configurations that include the model to create WorkSpaces. `CreateWorkspaces` returns the error code `AgenticWorkspaceInvalidPersona` in `FailedRequests`, with the message "The specified agentic configuration does not exist or is not available." To fix this, allow the model again, or create a new persona configuration without the model.
+ In the console, you must keep at least one allowed model. If you use the API to remove every model, the agent can't use any model on any WorkSpace, and you can't create persona configurations until you allow a model again.

**Note**  
When AWS stops supporting a model, the model stops working on your WorkSpaces, but it still appears in the list of allowed models for your account. Remove it with `DisassociateAccountModels` before you make other changes to the models for your account. Otherwise, the change fails with the message "These models are not supported for your account: model-ids."

## Monitor model usage
<a name="agentic-models-monitor-usage"></a>

Amazon Bedrock bills model usage to your AWS account. To see the cost, use AWS Cost Explorer. To see token usage by WorkSpace, user, and model, deliver agent usage logs to Amazon CloudWatch Logs, Amazon S3, or Amazon Data Firehose in your account. For more information, see [Monitoring agent usage](agentic-monitoring.md).

## Quotas
<a name="agentic-models-quotas"></a>

The following quotas apply to models. You can't increase them.


| Resource | Quota | 
| --- | --- | 
| Allowed models per account | 25 | 
| Models per persona configuration | Up to 25 (at least 1 required) | 
| Models per WorkSpace | 25 | 