Class BedrockDiscovery

java.lang.Object
ai.redouble.nucleo.providers.bedrock.BedrockDiscovery

public final class BedrockDiscovery extends Object
What the AWS account can reach on Bedrock, from the two surfaces that expose it.

The runtime surface (runtimeModels()): the control plane's foundation models (id, modalities, lifecycle) and inference profiles (the us. / global. ids the runtime actually sends), in the configured region, with each entry's tokens- and requests-per-minute taken from Service Quotas, because Bedrock sends no rate-limit headers on a response. A quota is matched to a model by the name AWS gives it: the profile prefix picks the quota family (global cross-region, cross-region, on-demand) and the provider and model names complete it; a name AWS spells differently from the model's own (a few Mistral and OpenAI entries) matches nothing and the entry keeps its seed limit, which the discovery reports.

The Mantle surface (mantleModels()): GET /v1/models on the bedrock-mantle endpoint, signed with SigV4 under the same credentials the runtime signs with. It is the only surface that carries each model's allowed_modes, which is where requires_lax comes from: a model whose allowed modes exclude none cannot run at zero retention, so the runtime must route it through its LAX project.

Both surfaces price every entry from the AWS price list (BedrockPriceList), the public files AWS publishes per region, matched on the same provider and model names the quota is matched on, the global profile's rate for a global. id and the regional rate for every other. An entry the list does not price says why in its note, as an entry whose quota matched nothing does, and a list that cannot be read prices nothing and is reported the same way.

Since:
0.1 (2026-09-12)
Author:
Andrey Santrosyan