Skip to content
AgenticAIWiki
  1. Learn
  2. Part 13
  3. 70. Caching layers and multi-region
  4. 70.5

Lesson 70.5 · 5 of 5 · 4 min read · Reviewed 24 Nov 2026

Worked example: cloud platforms and regional endpoints

By the end, you can

  • Call Claude through Amazon Bedrock or Vertex AI.
  • Know what changes between platforms.

Three ways to reach Claude

Platform Auth Notes
Claude API Anthropic API key New features usually arrive here first
Amazon Bedrock AWS credentials and IAM AWS regions, cross-region inference options
Google Cloud Vertex AI Google Cloud credentials Regional and global endpoints

The official SDKs include clients for Bedrock and VertexGoogle Cloud Vertex AI: Google Cloud’s AI platform, which offers hosted models with Google Cloud identity and billing., so code changes are small:

# sketch only; see each platform's docs for setup
from anthropic import AnthropicBedrock, AnthropicVertex

bedrock = AnthropicBedrock(aws_region="us-east-1")
vertex  = AnthropicVertex(region="europe-west1", project_id="my-project")

What changes

  • Model idsModel id: The exact string that names a model in an API request, such as a specific model version. use each platform’s naming. Look them up on the models page and the platform’s catalogue.
  • Auth uses the cloud’s own identity system.
  • Rate limitsRate limit: A cap on how many requests or tokens you can use in a period, such as per minute. and quotas come from the platform, not your Anthropic organisation.
  • Features such as specific beta tools may not be on every platform yet. Check before you depend on them.
  • Billing goes through the cloud account.

For fallbacks

If you fail over between platforms, keep a small adapter layer so the rest of your code doesn’t care which one answered, record which platform served each request in your tracesTrace: A record of everything that happened during one request or agent run, as a tree of timed steps., and run your evalsEval: A repeatable test that measures how well an AI system performs on a set of cases with defined success criteria. on each route.

Key points

  • Claude is available through the Claude API, Amazon Bedrock and Google Cloud Vertex AI.
  • The request shape is close to the Messages API, but auth, model ids, regions and some features differ by platform.
  • Check feature availability per platform before relying on it in a fallback.
Hands-on labOn your own machine

Call Claude through a cloud platform

Send the same request to Claude through Amazon Bedrock or Vertex AI and note what changes from the Claude API.

You will have: A short script for one platform plus a table of differences: auth, model id, region and any feature gaps.

Steps

  1. In your own cloud account, enable access to a Claude model in one region on Amazon Bedrock or Vertex AI, following that platform's docs.
  2. Authenticate with the platform's own credentials (for example your cloud CLI login), kept out of code and out of this site.
  3. Install the matching SDK client for that platform and send one short Messages request, using the platform's model id format.
  4. Record the region you called, the model id string and the usage numbers returned.
  5. Check the platform's docs for any feature you rely on (for example prompt caching or a tool type) and note whether it is available there.

Done when

  • One successful response from the platform, with usage printed.
  • A table lists auth method, model id format, region and feature gaps.
  • No credentials appear in code, logs or screenshots.

Docs: Claude on Amazon Bedrock (Claude docs) · Claude on Vertex AI (Claude docs)

Quick checkYou plan to use Vertex AI as a fallback for the Claude API. What should you check first?
How sure are you?
Pick an answer and how sure you are

Finished the chapter? Take the chapter check.