Last reviewed: November 12, 2026 (Asia/Shanghai). Public references were retrieved November 11 UTC.
Direct answer
Attribute Amazon Bedrock model costs by creating an application inference profile for a defined workload, attaching approved ownership tags, routing that workload’s inference calls through the profile ARN, and activating the tag keys for cost allocation in AWS Billing. A tagged profile that the application never invokes does not establish attribution for its traffic.
AWS’s inference profile overview explicitly supports attaching tags to application inference profiles to track costs for on-demand model invocation. The setup has three separate checks: the resource carries the intended tags, the runtime selects that resource, and billing recognizes the tag keys. Verify all three before using the resulting report for team chargeback.
This is an attribution mechanism. Keep budget admission and dispatch limits in the application control path; do not treat a reporting tag as an instruction to stop spending.
Who this is for
This guide is for platform engineers and FinOps owners running several applications or environments through Amazon Bedrock. It addresses a common migration problem: teams create tagged profiles, but an older SDK wrapper, background worker, or fallback route continues selecting the original model target.
The workflow covers on-demand inference attribution. Verify model, Region, feature support, and permissions in the target account before changing routing. The examples are proposed designs and synthetic reporting fixtures. No authenticated AWS account, paid inference call, or production billing report was tested for this article.
Key takeaways
- Use application inference profiles for workload attribution; a system-defined cross-Region profile describes routing across Regions.
- Give each profile a clear business scope and retain its model source and Region configuration.
- Pass the application profile ARN in the field required by the specific inference operation.
- Activate user-defined tag keys in AWS Billing separately from attaching tags to the resource.
- Allow for tag discovery and activation delays, then verify the reporting dataset itself.
- Keep bypass traffic, missing attribution, and costs outside the profile’s scope visible.
Contract details to verify
Choose the profile type and business boundary
AWS distinguishes system-defined cross-Region inference profiles from application inference profiles that users create to track costs and usage. An application profile can reference a foundation model for one Region or a system-defined cross-Region profile for multiple Regions. The model source is therefore part of the profile’s meaning, not just an implementation detail.
For example, define an internal allocation unit as an application, environment, and approved model route. Keep its owner and cost-center mapping in a controlled registry. If two products need separate billing attribution, route them through separately scoped application profiles rather than sharing one profile tagged with a generic platform owner.
Avoid changing a shared profile’s owner tag for each request. That makes resource ownership depend on competing runtime updates. Use stable resource tags for the profile’s scope, and retain finer request context in the application ledger when several internal activities share that scope.
Create the resource and preserve the returned ARN
The application profile creation guide
documents console and API creation. For the API, CreateInferenceProfile uses a Bedrock control-plane endpoint. Its required fields are inferenceProfileName and modelSource; optional fields include description, tags, and clientRequestToken. The response returns inferenceProfileArn.
Record the returned ARN alongside the intended account, Region, model source, tags, and business owner. Do not reconstruct it from a display name. Treat profile creation and runtime configuration as separate changes so reviewers can see whether the new resource is actually selected.
The following is an illustrative internal registry entry, not an AWS request body:
allocation_unit: support-summary-production
owner: customer-operations
environment: production
cost_center: cc-support
application_profile_arn: <ARN_RETURNED_BY_CREATE_INFERENCE_PROFILE>
approved_model_source: <VERIFIED_MODEL_OR_SYSTEM_PROFILE_ARN>
routing_revision: support-summary-v2
These field names are local design choices. Select the actual AWS resource tag keys under your organization’s tagging policy and maintain a reviewed mapping between those keys and the registry.
Put the ARN in the operation’s actual field
AWS’s profile invocation instructions specify different fields for different operations:
| Operation | Field that selects the inference profile |
|---|---|
InvokeModel and InvokeModelWithResponseStream | modelId |
Converse and ConverseStream | modelId |
RetrieveAndGenerate | modelArn |
Use the application profile ARN in the documented field. A custom application label elsewhere in a request does not replace that selection. Verify the final parameters produced by the deployed adapter, because a framework may keep its own default model configuration.
Check streaming, background, evaluation, and fallback paths individually when they are in scope. The same AWS page documents additional supported features with their own configuration fields. Do not generalize the table into a promise that every Bedrock operation accepts modelId.
Activate the billing tag keys
Attaching tags to the profile does not complete the billing setup. The AWS Billing activation guide says user-defined cost allocation tags must be activated to appear in billing reports. In Billing and Cost Management, open Cost allocation tags, select the relevant keys, and choose Activate. Activation applies to the key and affects all values sharing that key.
AWS documents two potential delays: up to 24 hours for newly applied tag keys to appear on the activation page, then up to 24 hours for those keys to activate. Record both milestones. These are tag discovery and activation windows, not a guarantee that a particular export is complete at a particular minute.
Verify the selected report or export after activation. Preserve its reporting interval, refresh time, account scope, currency, and cost basis. A request log can show that the application selected an ARN; it cannot by itself prove that the billing dataset contains the intended allocation values.
Migrate one workload without hiding the remainder
- Inventory dispatch paths. List the service, scheduled jobs, streaming client, and fallback code that can invoke the model. Record the target each path currently selects and who owns its cost.
- Define the allocation unit. Approve the application, environment, model source, owner, and tag mapping. Separate workloads that require independent provider-side attribution.
- Create and inspect the profile. Confirm the returned ARN, intended model source, Region configuration, and tags against that approved record.
- Activate the billing keys. Save the observed discovery and activation times. Coordinate access with the billing owner instead of assuming the application’s runtime identity can administer billing settings.
- Change one controlled route. Update its final inference parameter to the application profile ARN. Inspect generated request parameters with an injected client or local fake before permitting paid traffic.
- Run a bounded canary. Approve a small workload and spending allowance. Record attempts, selected profile, operation, timestamps, and outcomes without copying prompts, credentials, or generated text into allocation diagnostics.
- Verify billing attribution. After the relevant reporting refresh, inspect the intended tag values and reconcile the matching scope. Expand only when routing evidence and billing evidence agree.
Maintain a separate accounting path for every attempt while making this change. The site’s guide to keeping AI API cost records independent of trace sampling explains why sampled diagnostics cannot establish complete usage. Profile selection should remain available in durable dispatch evidence even when a trace is absent.
During migration, define mutually exclusive reporting buckets. Profile-attributed spend, remaining unattributed spend within the chosen invocation scope, and separately scoped charges must reconcile to the same source total. Do not hide legacy routes by filtering the report to tagged rows only.
For a synthetic example, suppose the accepted billing snapshot contains $100 of costs in one reviewed scope. It assigns $70 to the support profile, $20 to an analytics profile, and leaves $10 without the expected owner attribution. Assigned coverage by cost is 90%, and the report still totals $100. Showing only the $90 tagged subtotal would conceal the unresolved amount. These figures are fictional ledger amounts, not Bedrock prices.
Use the same currency and cost basis in that comparison. A decrease in unattributed spend after migration demonstrates improved attribution only after reconciliation; it does not demonstrate lower consumption or savings.
Smoke-test workflow
Start with offline request-capture fixtures. Then use the approved canary to check the billing boundary. These are acceptance criteria, not reported test results.
| Scenario | Required observation |
|---|---|
| Ordinary inference route | Final modelId contains the intended application profile ARN |
| Streaming route | Its final request selects the same approved allocation scope |
| Legacy wrapper retains a foundation-model target | The routing check detects the bypass before expansion |
| Fallback changes the selected model route | The actual profile and allocation mapping remain identifiable |
| Profile has tags but a key is not activated | Billing readiness remains pending despite resource setup succeeding |
| Tag key is newly applied | Discovery and activation milestones are tracked separately |
| Two applications require separate attribution | Each dispatch resolves to its own approved profile scope |
| Billing data is unavailable or incomplete | Attribution remains unverified; missing cost does not become zero |
| Tagged and unattributed rows coexist | Both remain in the reconciliation total |
Separate a successful model response from a successful attribution check. If inference succeeds but billing tags remain absent, investigate the selected ARN, resource tags, activation status, reporting interval, and dataset refresh. Repeatedly generating more text does not resolve those configuration questions and creates additional spend.
For rollback, retain the previous routing configuration and record the time and revision of any reversion. Keep the new profile’s historical mapping available for reconciliation. If traffic returns to a legacy target, expose that attribution gap in the report rather than presenting the rollout as complete.
Failure modes
The profile exists but receives no intended traffic. Configuration changes a friendly model alias while the SDK continues using its original target. Inspect the request at the dispatch boundary and check every relevant operation.
One generic profile represents several budget owners. Resource-level tags cannot explain the requested internal split on their own. Separate the provider-side scopes or use an explicit internal allocation method with its own evidence.
Tag attachment is mistaken for billing activation. The resource looks correct, but the report has no corresponding allocation dimension. Verify the billing key’s status and the reporting refresh before declaring readiness.
Unattributed rows disappear from the dashboard. A tag filter makes coverage appear complete. Reconcile against the unfiltered source scope and retain the remainder with an owner for investigation.
Profile-attributed model charges are treated as the whole application cost. Gateway infrastructure and other services may have separate records. Use the guide to allocating shared AI gateway costs with separate cost pools for overhead that needs a separate allocation rule. Avoid adding model charges to a second pool after assigning them directly.
Sources checked
Four distinct primary AWS documentation pages returned HTTP 200 on November 11, 2026 UTC, November 12 in Asia/Shanghai:
- Set up a model invocation resource using inference profiles supports profile types, model and Region scope, and tagged application profiles for on-demand invocation cost tracking.
- Create an application inference profile supports creation methods, required and optional API fields, model-source choices, and the returned ARN.
- Use an inference profile in model invocation supports operation-specific selection fields and the distinction between application attribution and system-defined cross-Region routing.
- Activating user-defined cost allocation tags supports separate key activation, its effect across tag values, and the two documented delay windows.
These are currently served technical references for an evergreen operating task. No page-specific revision date was visible in the retrieved text. Retrieval establishes availability, not a new feature announcement. Verify account eligibility, model and Region support, and the actual billing output before relying on the configuration for chargeback.
FAQ
Is a system-defined cross-Region profile enough for application attribution?
Use an application inference profile for the workload’s cost and usage scope. It can reference a system-defined cross-Region profile when that is the approved model route. Keep the two resource identities distinct in configuration and records.
Can a profile name replace its ARN in the examples above?
Use the returned application profile ARN as documented. AWS separately permits an ARN or ID for system-defined cross-Region profiles; do not extend that exception to a display name or assume it applies to application profiles.
Does activating one tag key activate only one application’s value?
No. AWS says activating or deactivating a key affects all values sharing that key. Review the billing-wide consequence before changing a key used by several applications.
When is the attribution migration complete?
When intended dispatch paths select the approved profile, the resource and billing keys are configured, and the relevant billing data demonstrates the allocation within a reconciled scope. A successful inference canary alone satisfies only part of that evidence.
Reader next step
Choose one application and environment. Write down its current inference targets, create an approved profile-to-owner mapping, and capture the final request parameters offline. Activate the billing keys and schedule one bounded canary with a named billing reviewer. Expand after the report shows the intended attribution and preserves every unresolved amount.