GoModel routes Bedrock requests through the Bedrock Runtime Converse and ConverseStream APIs, normalizing responses across model families (Anthropic, Amazon Nova, Meta Llama, Mistral, Cohere, AI21, and others) into OpenAI-compatible chat completions. Bedrock has no API key of its own — GoModel resolves AWS credentials at runtime through the standard AWS credential chain (env,Documentation Index
Fetch the complete documentation index at: https://gomodel.enterpilot.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
AWS_PROFILE, IAM Identity
Center, instance/container roles).
Configure
BEDROCK_BASE_URL is empty, GoModel falls back to
AWS_REGION / AWS_DEFAULT_REGION.
Run GoModel
Verify
GET /v1/models returns Bedrock models with owned_by set to the originating
vendor (e.g. anthropic, amazon). Streaming (stream: true) and the
Responses API are bridged onto Converse internally.
Restrict or extend the model list
By default GoModel queries Bedrock’s control plane and lists all on-demand text models the account has access to. To pin inference profile IDs or custom model ARNs:config.yaml:
CONFIGURED_PROVIDER_MODELS_MODE — fallback
(default) uses the list only when ListFoundationModels is unavailable or
empty; allowlist exposes only configured models and skips the upstream call.
Multiple Bedrock providers
Use suffixed env vars to register separate Bedrock instances:bedrock-us and bedrock-eu. Bedrock credentials
still come from the standard AWS credential chain.
Not yet integrated
- Bedrock embeddings — the
InvokeModelembedding path is model-specific and not wired up.
Troubleshooting
AccessDeniedException/403— the AWS principal lacks Bedrock permissions, or model access has not been granted in the Bedrock console.on-demand throughput isn't supported— the model requires an inference profile or provisioned throughput. SetBEDROCK_MODELSto the inference profile ID.model registry has no models— region has no on-demand text models, or the control-plane call failed. SetBEDROCK_MODELSor check IAM.- Wrong region inferred — pass
BEDROCK_BASE_URLexplicitly. With a full endpoint URL, GoModel only extracts the region segment when the host ends in.amazonaws.com; custom endpoints should pair withAWS_REGION.