Get list of models
Amazon Bedrock provides separate model discovery experiences for its inference
endpoints. For new applications, use bedrock-runtime. For an overview of the
endpoints, see Inference endpoints supported by Amazon Bedrock.
-
bedrock-runtime(recommended) – Use the AWS-native ListFoundationModels API to discover foundation models and ListInferenceProfiles to discover inference profiles. The OpenAI-compatibleGET /openai/v1/modelsoperation andclient.models.list()aren't available onbedrock-runtime. Check each model card for endpoint-specific API support and the exact model or system inference profile ID to use.Note
The response also returns model IDs that aren't in the base model ID or base model IDs for Provisioned Throughput charts. These model IDs are deprecated or for backwards compatibility.
-
bedrock-mantle(compatibility) – Use the OpenAI-compatible/modelsendpoint (for example,client.models.list()with the OpenAI SDK) to list the models available onbedrock-mantle.
Choose a tab to see code examples in an interface or language.
Discover models and inference profiles for
bedrock-runtime
List models on bedrock-mantle
Note
The Anthropic SDK's AnthropicBedrockMantle client doesn't provide a
model-listing resource. To list models on bedrock-mantle, use the
OpenAI SDK or curl to call the OpenAI-compatible /v1/models
endpoint.
Model discovery is always on /v1/models, including for models whose
inference APIs use a different base path. Some models, such as the proprietary OpenAI
GPT models and the Google Gemma models, are served for inference under
/openai/v1 rather than /v1, but they are still listed by
/v1/models. A request to /openai/v1/models returns
404.