> ## Documentation Index
> Fetch the complete documentation index at: https://docs.typingmind.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Bedrock

> Connect Amazon Bedrock to TypingMind with a Bedrock API key. Learn how to create the key in the AWS console, set your Region and turn on Amazon Ergo.

Amazon Bedrock is the AWS service for running AI models. TypingMind has built-in support for it. Add a Bedrock API key and chat with Amazon models such as Ergo 1.0, billed to your own AWS account.

An API key is a secret code that lets TypingMind call Bedrock for you.

## What do you need?

* An AWS account with billing set up.
* Permission to use the Amazon Bedrock console. In a company account, ask your AWS admin.

## How to get an Amazon Bedrock API key

TypingMind works only with **long-term** Bedrock API keys. Short-term keys don't work, so skip the **Short-term API keys** tab.

1. Sign in to the [Amazon Bedrock console](https://console.aws.amazon.com/bedrock).
2. In the top right, pick the AWS Region you want to use, for example **US East (N. Virginia)**, which is `us-east-1`. Write it down. You need it later.
3. In the left menu, click **API keys**.
4. Open the **Long-term API keys** tab and click **Generate long-term API keys**.

![The Amazon Bedrock console API keys page with the Long-term API keys tab open and the orange Generate long-term API keys button](https://mintcdn.com/typingmind/9SZtrK42hjpIx3mw/images/bedrock-console-long-term-api-keys.jpg?fit=max\&auto=format\&n=9SZtrK42hjpIx3mw\&q=85\&s=6a4168a77fffbe3b186aa79aa49754fa)

The API keys page in the Amazon Bedrock console, on the Long-term API keys tab.

5. Under **API key expiration**, choose how long the key works. 30 or 90 days is a safe choice. Avoid **Never expires**.
6. Click **Generate**. AWS adds the **AmazonBedrockLimitedAccess** permission policy to the key for you.

![The Generate long-term API key form in the Amazon Bedrock console, with API key expiration set to 90 days and the Generate button](https://mintcdn.com/typingmind/9SZtrK42hjpIx3mw/images/bedrock-console-generate-long-term-key.jpg?fit=max\&auto=format\&n=9SZtrK42hjpIx3mw\&q=85\&s=5ad23813c93a9897f580e473919d452e)

Pick an expiration date, then click Generate.

7. Copy the key right away, because AWS shows it only once.

![The new long-term API key in the Amazon Bedrock console, with the key hidden, a warning to copy it now, and the Copy API Key button](https://mintcdn.com/typingmind/9SZtrK42hjpIx3mw/images/bedrock-console-copy-api-key.jpg?fit=max\&auto=format\&n=9SZtrK42hjpIx3mw\&q=85\&s=4cf5e1396484cce7e8ab06bc410ed7b8)

AWS shows the new key only once. Click Copy API Key.

> [!WARNING]
>
> Treat your key like a password. Anyone who has it can run models on your AWS bill. If a key leaks, delete it in the Bedrock console and create a new one.

For more detail, see [Amazon Bedrock API keys](https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html) in the AWS docs.

## How to add the key in TypingMind

1. Click **Models** in the left sidebar.
2. Find **Amazon Bedrock** in the provider list and click the gear icon next to it.
3. Paste your key into **API Key**.
4. Click **Show advanced options**. In **AWS Region**, enter the Region where you created the key, such as `us-east-1`.
5. Click **Close**.

![Amazon Bedrock Configuration dialog in TypingMind with the API Key field, the AWS Region field with us-east-1 as the placeholder, and the Route requests via TypingMind Cloud switch turned on](https://mintcdn.com/typingmind/8V5hW2rhu5Ya-eos/images/amazon-bedrock-configuration.jpg?fit=max\&auto=format\&n=8V5hW2rhu5Ya-eos\&q=85\&s=7458040202ab390ac46cbb51c62c629c)

The Amazon Bedrock configuration in TypingMind, with advanced options open.

## How to turn on Bedrock models

1. On the **Models** tab, click **Amazon Bedrock**.
2. Turn on the models you want:
   * **Ergo 1.0 (Global)** (`global.amazon.ergo-1.0`). AWS runs each request in any Region that has free capacity. This is a good default.
   * **Ergo 1.0 (US)** (`us.amazon.ergo-1.0`). Requests stay in US Regions. Pick this if your data must stay in the United States.
3. Open the model list above the chat box, pick the model and start chatting.

![The TypingMind Models page with Amazon Bedrock selected, showing Ergo 1.0 (Global) and Ergo 1.0 (US), and the details of Ergo 1.0 (Global): provider Amazon Bedrock, context length 1,048,576, release date 2026-12-01 and knowledge cutoff 2026-05](https://mintcdn.com/typingmind/8V5hW2rhu5Ya-eos/images/amazon-bedrock-ergo-models.jpg?fit=max\&auto=format\&n=8V5hW2rhu5Ya-eos\&q=85\&s=c1d73620e509cfc94f38bb0f234a2ce8)

Ergo 1.0 (Global) on Amazon Bedrock: model ID global.amazon.ergo-1.0 with a 1,048,576-token context window.

AWS bills you for each token you use. In December 2026, TypingMind lists Ergo 1.0 on Bedrock at \$1 per 1M input tokens and \$3 per 1M output tokens. Learn more about the model in [Amazon Ergo](https://docs.typingmind.com/manage-and-connect-ai-models/amazon-ergo.md).

## What does "Route requests via TypingMind Cloud" do?

This switch is under **Show advanced options**. It is on by default, because direct requests from your browser to Amazon Bedrock fail with a CORS error.

Support for custom endpoints is coming soon.

## FAQ

> [accordion] Why do I get an access denied error?
>
> Check three things. The key has not expired. Your AWS user is allowed to use Amazon Bedrock. The **AWS Region** in TypingMind matches the Region where you created the key.

> [accordion] Can I use a short-term Bedrock API key?
>
> No. TypingMind works only with long-term keys. Create one on the **Long-term API keys** tab in the Bedrock console.

> [accordion] Is Amazon Bedrock free?
>
> No. AWS charges you per token, based on the model you use. Check your AWS bill for the exact cost.

> [accordion] Where does TypingMind store my Bedrock key?
>
> Like other API keys, it is stored locally in your browser. To protect it, choose **Encrypt API key with password** on the **API keys** tab. See [API keys setup](https://docs.typingmind.com/manage-and-connect-ai-models/set-up-api-keys.md).

> [accordion] Can I use Claude models through Bedrock?
>
> The built-in Amazon Bedrock provider lists Amazon Ergo models. TypingMind Custom admins can add Claude on Bedrock as a custom model. See [AWS Bedrock Anthropic](https://docs.typingmind.com/manage-and-connect-ai-models/aws-bedrock-anthropic.md).

## Related guides

* [Amazon Ergo](https://docs.typingmind.com/manage-and-connect-ai-models/amazon-ergo.md)
* [API keys setup](https://docs.typingmind.com/manage-and-connect-ai-models/set-up-api-keys.md)
* [Manage models](https://docs.typingmind.com/manage-and-connect-ai-models/manage-ai-models.md)
* [OpenRouter](https://docs.typingmind.com/manage-and-connect-ai-models/openrouter.md)
* [Vercel AI Gateway](https://docs.typingmind.com/manage-and-connect-ai-models/vercel.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.