inference-providers

AWS Bedrock

cloud_hosted

DocsConsole

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.

Credentials docs

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'.

Credentials docs

Endpoints

IDURLProtocolAuth
conversehttps://bedrock-runtime.{region}.amazonaws.com/model/{modelId}/conversebedrock-conversesigv4
invoke-anthropichttps://bedrock-runtime.{region}.amazonaws.com/model/{modelId}/invokeanthropic-messagessigv4

API surfaces

textstreamingbatchembeddings

Quirks

Models offered

ModelWire IDEndpointStatusReasoning
anthropic/claude-fable-5anthropic.claude-fable-5invoke-anthropicgaadaptive · default adaptive · mandatory · returns thinking_blocks · round-trips signature
anthropic/claude-haiku-4-5anthropic.claude-haiku-4-5-20251001-v1:0invoke-anthropicgabudget · default on · returns thinking_blocks · round-trips signature
anthropic/claude-opus-5anthropic.claude-opus-5invoke-anthropicgaadaptive · default adaptive · returns thinking_blocks · round-trips signature
anthropic/claude-sonnet-5anthropic.claude-sonnet-5invoke-anthropicgaadaptive · default adaptive · returns thinking_blocks · round-trips signature