# ANTHROPIC_BEDROCK_REGION_PREFIX

> It picks which group of Bedrock regions to try first.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** ANTHROPIC_BEDROCK_REGION_PREFIX environment variable

## Think of it like

It is like you pick which group of stores to shop at first.

## Definition

ANTHROPIC_BEDROCK_REGION_PREFIX picks the cross-region group Claude Code tries first on Bedrock. The values are us, eu, apac, jp, au and global. By default Claude Code works out the group from your AWS region. It is ignored in AWS GovCloud regions, and needs version 2.1.224 or later.

## Example

Emma's company must keep its data in Europe. She sets the prefix to eu, so Bedrock serves her from European regions.

## Example code

```bash
export ANTHROPIC_BEDROCK_REGION_PREFIX=eu
claude
```

Keep requests in EU regions.

## Why it matters

Where your requests run can matter for law, for speed and for which models you can use.

## Common mistake

Writing a full region such as eu-west-1. It wants the short group name, such as eu.

## Three principles

- **Short group name.** us, eu, global and more.
- **Tried first.** Over the derived one.
- **Not in GovCloud.** Ignored there.

## Related terms

- [CLAUDE_CODE_USE_BEDROCK](https://learn.benibix.com/term/ai/claude-code-use-provider-variables)
- [Amazon Bedrock](https://learn.benibix.com/term/ai/amazon-bedrock)
- [ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION](https://learn.benibix.com/term/ai/anthropic-small-fast-model-aws-region-variable)

---

Source: https://learn.benibix.com/term/ai/anthropic-bedrock-region-prefix-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
