bedrock-probe
Test and search Amazon Bedrock foundation models across regions, endpoints, APIs, and cross-Region inference scopes — from one CLI.
bedrock-probe works against the two Bedrock inference surfaces:
runtime— the AWS-nativebedrock-runtimeendpoint, invoked via the Converse API. Broadest coverage; automatically resolves cross-Region inference profiles (e.g.us.openai.gpt-5.6-terra) for models that require them.mantle— the OpenAI/Anthropic-nativebedrock-mantleendpoint. Each model speaks exactly one of three API surfaces, and the tool auto-routes:chat→/v1/chat/completions(deepseek, qwen, gemma-3, gpt-oss, mistral, nvidia, minimax, zai, …)responses→/openai/v1/responses(OpenAI GPT-5.x)messages→/anthropic/v1/messages(Anthropic Claude)
Install
pip install bedrock-probe
# Optional: enable the mantle "--sdk openai" path (OpenAI SDK + Bedrock token)
pip install "bedrock-probe[openai]"
Requires Python 3.9+ and AWS credentials via the standard AWS CLI chain
(env vars, shared config, SSO cache, IAM role / IMDS). boto3/botocore and
rich-click are installed automatically.
Usage
After install, the bedrock-probe command is available. test is the default
command, so you can omit it.
# Test every runtime model in one Region (Converse, default endpoint)
bedrock-probe --regions us-east-1
# Test the mantle endpoint (auto-routes chat / responses / messages)
bedrock-probe --regions us-east-1 --endpoint mantle
# Restrict by provider prefix (--labs) or id substring (--models)
bedrock-probe --regions us-east-1 --labs openai,anthropic
bedrock-probe --regions us-east-1 --models gpt-oss,deepseek
# Multiple Regions, more concurrency
bedrock-probe --regions us-east-1,us-west-2 --workers 8
# Also runnable as a module
python -m bedrock_probe --regions us-east-1
search — availability discovery (no invocation)
Find where and how a model can be reached — region, endpoint, API, and inference scope (in-region / geo / global) — plus the exact id to invoke with.
# Where is gpt-5.6-terra available, and how?
bedrock-probe search --models gpt-5.6-terra
# All Anthropic models, specific Regions, runtime only
bedrock-probe search --labs anthropic --regions us-east-1,us-west-2 --endpoint runtime
Example output:
Model ID Endpoint Region Scope API Invoke As
───────────────────────────────────────────────────────────────────────────────────────────
openai.gpt-5.6-terra mantle us-east-1 in-region responses (bare)
openai.gpt-5.6-terra runtime us-east-1 geo converse us.openai.gpt-5.6-terra
openai.gpt-5.6-terra runtime eu-west-1 global converse global.openai.gpt-5.6-terra
search scans a built-in set of major commercial Regions when --regions is not
given, and scans both endpoints unless --endpoint restricts it.
Options
| Option | Description |
|---|---|
--regions |
AWS Region id(s), comma- or space-separated (also accepted positionally). |
--endpoint {runtime,mantle} |
Endpoint. test defaults to runtime; search scans both if unset. |
--labs |
Comma-separated provider prefixes (id before the first .), e.g. openai,anthropic. |
--models |
Comma-separated model-id substrings. Combines with --labs. |
--api |
test only. runtime: converse (default) / converse_stream; mantle: auto (default) / chat / responses / messages. |
--sdk |
(mantle only) sigv4 (default, no extra deps) or openai (uses the OpenAI SDK; needs the [openai] extra + a Bedrock API key; covers chat + responses). |
--prompt |
The single prompt sent to every model. |
--max-tokens |
Max output tokens per request (default: 512). |
--workers |
Concurrent model calls per Region (default: 6). |
--timeout |
Per-model inference timeout in seconds (default: 45). |
--all-modalities / --text-only |
(runtime) also test non-text models. Default: text only. |
--stream / --no-stream |
Live per-model output (default on) vs a table at the end. |
--summary-table |
Also print the full per-Region table at the end. |
--profile |
AWS CLI profile (defaults to the standard credential chain). |
--output-dir |
Directory for the CSV output (default: current dir). |
Output
- Live, colorized, streamed results (one line per model as it completes).
- A timestamped CSV report:
test→<datetime>.bedrock.<endpoint>.test.csvsearch→<datetime>.bedrock.search.csv
Both the streamed output and the summary table include a Scope column
(in-region / geo / global) for every result. On runtime it reflects how
the model was reached (bare id vs. a cross-Region/global. inference profile);
on mantle, inference is always in-region, so it is shown as in-region.
Result statuses: PASS (answered), EMPTY (200 but no text), FAIL (model/API error, e.g. wrong route or legacy model), ERROR (timeout / transport).
Press Ctrl-C at any time to stop; the tool exits promptly and writes partial results.
Notes
- Some models are only reachable via a specific API/scope. On
runtime, models markedINFERENCE_PROFILE-only are auto-invoked through their cross-Region profile id (us./eu./apac./global.). Onmantle,--api autotries chat → responses → messages until one accepts the model. - The
mantleendpoint is only officially available in a subset of Regions; a Region that answersGET /v1/modelsbut is not officially supported may advertise models yet time out on inference. Such Regions are flagged.
Development
git clone https://github.com/jazst21/bedrock-probe
cd bedrock-probe
pip install -e ".[dev,openai]"
python -m build # build sdist + wheel into dist/
twine check dist/* # validate metadata
License
MIT — see LICENSE.
"Amazon Bedrock" and "AWS" are trademarks of Amazon.com, Inc. or its affiliates. This is an independent community project and is not affiliated with or endorsed by AWS.
Metadata
Release files for bedrock-probe 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bedrock_probe-0.1.7.tar.gz | 30.1 kB | With provenance | Details for bedrock_probe-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bedrock_probe-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for bedrock_probe-0.1.7-py3-none-any.whl |
Total release size: 61.4 kB
Release files / bedrock_probe-0.1.7.tar.gz
| Download URL | bedrock_probe-0.1.7.tar.gz |
|---|---|
| Size | 30.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e1f4c29f2a2168e6ddb7535c2b2f139466236d73b1e59f75033b00a91285006
|
|
BLAKE2b-256 checksum How to use checksums |
3b8d5c63002cff79f46e8e0845639ba763f229ff59e06f134f7c20e32e228984
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / bedrock_probe-0.1.7-py3-none-any.whl
| Download URL | bedrock_probe-0.1.7-py3-none-any.whl |
|---|---|
| Size | 31.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cdd22476875bc6865e63f5c052f18ca6c6428a62c6996b0d31d759f9b030165
|
|
BLAKE2b-256 checksum How to use checksums |
8e56e0826c9059f99c3abc510fee0a8ecbe5774551d2c6147a1f98ac92b6ca5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logSecurity for bedrock-probe 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bedrock_probe-0.1.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.