# ANTHROPIC_BEDROCK_SERVICE_TIER

> It picks how fast and how cheap Bedrock serves you.

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

## Think of it like

It is like a slow line and a fast line at the shop.

## Definition

ANTHROPIC_BEDROCK_SERVICE_TIER picks the Bedrock service tier for Claude Code. The values are default, flex and priority. The tier sets how fast your requests are served. It also sets what Bedrock charges.

## Example

Jack runs a big cleanup overnight that can wait. He sets the tier to flex for that job, and keeps priority for daytime work.

## Example code

```bash
export ANTHROPIC_BEDROCK_SERVICE_TIER=flex
claude -p "Tidy the docs folder"
```

Run a job that can wait on the flex tier.

## Why it matters

Not every job needs the fastest lane. Picking the tier per job can save money.

## Common mistake

Using flex for a live chat and wondering why it feels slow. Flex is for work that can wait.

## Three principles

- **default.** The normal lane.
- **flex.** For work that can wait.
- **priority.** For work that cannot.

## 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)

---

Source: https://learn.benibix.com/term/ai/anthropic-bedrock-service-tier-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.
