Bedrock
Use this when Loong should talk to AWS Bedrock through the Converse path and region ownership needs to stay explicit.At A Glance
| Field | Value |
|---|---|
| Built-in kind | bedrock |
| Provider group | Gateway And Compatibility Providers |
| Protocol family | bedrock_converse |
| Feature family | bedrock |
| Auth scheme | bearer |
| Credential envs | AWS_BEARER_TOKEN_BEDROCK |
| Aliases | aws-bedrock, aws_bedrock |
| Default base URL | https://bedrock-runtime.<region>.amazonaws.com |
| Request endpoint | https://bedrock-runtime.<region>.amazonaws.com/model/{modelId}/converse |
| Models endpoint | https://bedrock.<region>.amazonaws.com/foundation-models |
Minimal Config
Verify It
list-models is unreliable for this account or region, pin an explicit provider.model or add preferred_models instead of leaving recovery implicit.
Auth And Routing Contract
| Contract | Value |
|---|---|
| Auth optional | no |
| Model probe auth optional | no |
| Default API key env | AWS_BEARER_TOKEN_BEDROCK |
| OAuth env | none |
| Primary request route | https://bedrock-runtime.<region>.amazonaws.com/model/{modelId}/converse |
| Primary model-catalog route | https://bedrock.<region>.amazonaws.com/foundation-models |
Operator Notes
- set
BEDROCK_AWS_REGION/AWS_REGION/AWS_DEFAULT_REGIONor replace<region>inprovider.base_urlwith your Bedrock runtime region. - Alternative auth path: configure AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY with BEDROCK_AWS_REGION, AWS_REGION, or AWS_DEFAULT_REGION for SigV4.
- Bedrock expects a real model id such as an Anthropic or Amazon foundation-model identifier, not
autodiscovery as the final steady-state choice.
Related Docs
- Continue to Providers And Models when you still need the broader chooser page.
- Continue to Provider Guides for the full built-in provider matrix.
- Continue to Provider Recipes for representative rollout recipes.
- Continue to Configuration Patterns for the shared provider-profile shape.