Skip to content
BENIBIX Learn

ANTHROPIC_BEDROCK_SERVICE_TIER

AI⌨️ Claude CodeConfiguration

Also known as ANTHROPIC_BEDROCK_SERVICE_TIER environment variable

It picks how fast and how cheap Bedrock serves you.

Think of it like

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

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.

Why it matters

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

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 code

bash
export ANTHROPIC_BEDROCK_SERVICE_TIER=flex
claude -p "Tidy the docs folder"
Run a job that can wait on the flex tier.

Common mistake

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

Key takeaways

  1. 1
    default. The normal lane.
  2. 2
    flex. For work that can wait.
  3. 3
    priority. For work that cannot.