Title: Support Bedrock application inference profile ARNs with underlying model capabilities · Issue #26734 · coder/coder · GitHub
Open Graph Title: Support Bedrock application inference profile ARNs with underlying model capabilities · Issue #26734 · coder/coder
X Title: Support Bedrock application inference profile ARNs with underlying model capabilities · Issue #26734 · coder/coder
Description: A customer needs AWS Bedrock usage and cost allocation by team/model for Finance. AWS recommends using application inference profiles for this, then invoking Bedrock with the application inference profile ARN as the modelId. Current Code...
Open Graph Description: A customer needs AWS Bedrock usage and cost allocation by team/model for Finance. AWS recommends using application inference profiles for this, then invoking Bedrock with the application inference ...
X Description: A customer needs AWS Bedrock usage and cost allocation by team/model for Finance. AWS recommends using application inference profiles for this, then invoking Bedrock with the application inference ...
Opengraph URL: https://github.com/coder/coder/issues/26734
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support Bedrock application inference profile ARNs with underlying model capabilities","articleBody":"A customer needs AWS Bedrock usage and cost allocation by team/model for Finance. AWS recommends using application inference profiles for this, then invoking Bedrock with the application inference profile ARN as the `modelId`.\n\nCurrent Coder AI Bridge behavior uses the configured Bedrock `Model` value for both:\n\n1. the Bedrock invocation target, and\n2. model capability detection, such as whether the underlying Claude model requires adaptive thinking.\n\nThis works when the configured model is a direct model ID such as:\n\n```text\neu.anthropic.claude-opus-4-8\n```\n\nIt does not work when the configured model is an opaque application inference profile ARN such as:\n\n```text\narn:aws:bedrock:eu-west-2:123456789012:application-inference-profile/46u2vhiyo6z5\n```\n\nThe ARN does not contain `claude-opus-4-8`, so Coder cannot apply model-specific behavior such as the Opus 4.8 adaptive-thinking conversion. This can cause Bedrock 400 responses or incorrect request shaping while preventing the customer from using the AWS-native cost allocation mechanism.\n\nPotential fixes:\n\n- Add separate configuration for the Bedrock invocation target and the underlying model/capability ID.\n- Or resolve application inference profiles through AWS, for example `GetInferenceProfile`, and derive the underlying model from the returned model ARN. This requires additional AWS permissions.\n\nRelated context:\n\n- AWS docs: https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-create.html\n- AWS docs: https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-use.html\n- Related Opus 4.8 adaptive-thinking PR: https://github.com/coder/coder/pull/26691\n- Linear: https://linear.app/codercom/issue/AIGOV-487/support-bedrock-application-inference-profile-arns-with-underlying\n\nCreated by Coder Agents on behalf of @ericpaulsen.","author":{"url":"https://github.com/ericpaulsen","@type":"Person","name":"ericpaulsen"},"datePublished":"2026-06-26T08:38:43Z","url":"https://github.com/coder/coder/issues/26734"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:112df07e-a555-ba4e-48c9-78478088e996 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B546:3C21B:2DD2208:3A908DC:6B01AE9D |
| html-safe-nonce | 8426424bfab342f41d4f8e8a8213439c42db3c82d3b6914e45fa03ec67618ff6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQ2OjNDMjFCOjJERDIyMDg6M0E5MDhEQzo2QjAxQUU5RCIsInZpc2l0b3JfaWQiOiIyOTM4ODY4NzI3NDEzODQ1NjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7b8ba60427b2abef070a539f28ad3c4ec444b919467e354f3b1c4631a17a3a2c |
| hovercard-subject-tag | issue:4750595327 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/26734/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4bf8a565766a7a1123ea01c4435233eacd425251b4d83cc7f982014e6cf759ff/coder/coder/issues/26734 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4bf8a565766a7a1123ea01c4435233eacd425251b4d83cc7f982014e6cf759ff/coder/coder/issues/26734 |
| og:image:alt | A customer needs AWS Bedrock usage and cost allocation by team/model for Finance. AWS recommends using application inference profiles for this, then invoking Bedrock with the application inference ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericpaulsen |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width