AWS Bedrock
cloud_hosted
Getting credentials
bearer-key
api_key via header (header Authorization: Bearer)
Environment: AWS_BEARER_TOKEN_BEDROCK
Bedrock console → API keys. Short-term (<=12h) or long-lived; governed by bedrock:CallWithBearerToken. Not valid for bidirectional streaming, Agents, or Data Automation.
sigv4
sigv4 via request_signing
Environment: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
Standard AWS credentials chain (IAM user, role, SSO). Signs the request with SigV4; service 'bedrock'.
Endpoints
| ID | URL | Protocol | Auth |
|---|---|---|---|
| converse | https://bedrock-runtime.{region}.amazonaws.com/model/{modelId}/converse | bedrock-converse | sigv4 |
| invoke-anthropic | https://bedrock-runtime.{region}.amazonaws.com/model/{modelId}/invoke | anthropic-messages | sigv4 |
API surfaces
textstreamingbatchembeddings
Quirks
- Cross-region inference profiles prefix model IDs with us./eu./apac./global. — e.g. us.anthropic.claude-sonnet-5. Streaming required when max_tokens > 21,333 with thinking. (docs)
Models offered
| Model | Wire ID | Endpoint | Status | Reasoning |
|---|---|---|---|---|
| anthropic/claude-fable-5 | anthropic.claude-fable-5 | invoke-anthropic | ga | adaptive · default adaptive · mandatory · returns thinking_blocks · round-trips signature |
| anthropic/claude-haiku-4-5 | anthropic.claude-haiku-4-5-20251001-v1:0 | invoke-anthropic | ga | budget · default on · returns thinking_blocks · round-trips signature |
| anthropic/claude-opus-5 | anthropic.claude-opus-5 | invoke-anthropic | ga | adaptive · default adaptive · returns thinking_blocks · round-trips signature |
| anthropic/claude-sonnet-5 | anthropic.claude-sonnet-5 | invoke-anthropic | ga | adaptive · default adaptive · returns thinking_blocks · round-trips signature |