Skip to content
BENIBIX Learn

ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION

AI⌨️ Claude CodeConfiguration

Also known as ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION environment variable

It sets a second AWS region for the small model.

Think of it like

It is like you send small jobs to one shop. Big jobs go to the other.

Example

Lucy's main region has no room for Haiku. She pins Haiku and sends it to us-west-2, while her main work stays in us-east-1.

Why it matters

The small model may not be offered in your main region. This lets it run where it is.

Definition

ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION sets a second AWS region for the Haiku model. That model does small jobs in the back. On Bedrock it only works if the Haiku pin is set too. If not, Bedrock runs those jobs on the main model. Mantle uses it as well.

Example code

bash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=us.anthropic.claude-haiku-4-5-v1:0
export ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2
claude
Run background jobs in another region.

Common mistake

Setting it on Bedrock without the Haiku pin. Then it is ignored.

Key takeaways

  1. 1
    Small model only. Background jobs.
  2. 2
    Needs the Haiku pin. On Bedrock.
  3. 3
    Own region. Apart from main.