Skip to content

fix(catalog): add bedrock and databricks standard pricing - #1880

Closed
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795474096-bedrock-databricks-standard-pricing
Closed

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795474096-bedrock-databricks-standard-pricing

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🤖 This text was AI-generated.

Summary

Adds verified provider-specific pricing[provider].standard rates for bedrock (22 model IDs) and databricks (4 model IDs) in model_list.json. Top-level rates, ordering, providers, aliases and other tiers are unchanged. Catalog-only.

Rates: USD / 1M text tokens, input / output / cache read / cache write (cache write = total; Claude shows 5m / 1h writes, GPT-6.2 cache write = 30m). Each row is scoped to the listed endpoint and the exact source regions from the AWS model cards and the AWS Bedrock Foundation Models Price List.

Bedrock

Model ID Conditions Rates Source
us.xai.grok-4.7 runtime; GovCloud East/West 2.64 / 7.92 / 0.66 model card
openai.gpt-6.2-astra mantle; us-east-1; ≤272k / >272k input 8.80 / 44 / 0.44 / 11 → 17.60 / 66 / 0.88 / 22 model card
us.openai.gpt-6.2-astra runtime; US geo; ≤272k / >272k 8.80 / 44 / 0.44 / 11 → 17.60 / 66 / 0.88 / 22 model card
global.openai.gpt-6.2-astra runtime; global (31 regions); ≤272k / >272k 8 / 40 / 0.40 / 10 → 16 / 60 / 0.80 / 20 model card
openai.gpt-6.2-sol mantle; us-east-1; ≤272k / >272k 2.20 / 11 / 0.11 / 2.75 → 4.40 / 16.50 / 0.22 / 5.50 model card
us.openai.gpt-6.2-sol runtime; US geo; ≤272k / >272k 2.20 / 11 / 0.11 / 2.75 → 4.40 / 16.50 / 0.22 / 5.50 model card
global.openai.gpt-6.2-sol runtime; global (31 regions); ≤272k / >272k 2 / 10 / 0.10 / 2.50 → 4 / 15 / 0.20 / 5 model card
anthropic.claude-haiku-5-5 mantle; GovCloud West; ≤100k / >100k 0.12 / 0.60 / 0.012 / 0.15 / 0.24 → 0.60 / 3 / 0.06 / 0.75 / 1.20 model card
us. / eu. / au. / jp.anthropic.claude-haiku-5-5 runtime; geo; ≤100k / >100k 0.11 / 0.55 / 0.011 / 0.1375 / 0.22 → 0.55 / 2.75 / 0.055 / 0.6875 / 1.10 model card
global.anthropic.claude-haiku-5-5 runtime; global (33 regions); ≤100k / >100k 0.10 / 0.50 / 0.01 / 0.125 / 0.20 → 0.50 / 2.50 / 0.05 / 0.625 / 1 model card
anthropic.claude-sonnet-5-5 mantle; GovCloud West; from 2026-10-07 2.40 / 12 / 0.12 / 3 / 4.80 AWS pricing
us.anthropic.claude-sonnet-5-5 runtime; US geo; from 2026-10-07 2.20 / 11 / 0.11 / 2.75 / 4.40 AWS pricing
global.anthropic.claude-sonnet-5-5 runtime; global (31 regions); from 2026-10-07 2 / 10 / 0.10 / 2.50 / 4 AWS pricing
anthropic.claude-opus-5-5 mantle us-east-1, ap-southeast-4; runtime eu-west-2 / mantle GovCloud West 4.40 / 22 / 0.22 / 5.50 / 8.80; GovCloud 4.80 / 24 / 0.24 / 6 / 9.60 model card
us. / eu. / au. / jp.anthropic.claude-opus-5-5 runtime; geo 4.40 / 22 / 0.22 / 5.50 / 8.80 model card
global.anthropic.claude-opus-5-5 runtime; global (33 regions) 4 / 20 / 0.20 / 5 / 8 model card

Databricks (AWS us-east-1, standard pay-per-token, published $0.07/DBU conversion)

Model ID Input / output / cache read Source
databricks-glm-5-3 1.40 / 4.39999 / 0.25998 pricing, regions
databricks-glm-5-3-flash 0.15001 / 0.50001 / 0.03003 same
databricks-qwen35-122b-a10b 0.22001 / 2.20003 / — same
databricks-qwen3-next-80b-a3b-instruct 0.15001 / 1.20001 / — same
Skipped candidates
Provider Candidate Reason
Bedrock Grok 4.7 global / commercial US Same as flat default
Bedrock Global Sonnet 5.5 from ap-northeast-1/-3 Couldn't verify full price + cache SKU coverage
Bedrock Sonnet 5.5 before 2026-10-07 Historical rates not reconstructed
Bedrock DeepSeek V3.2, GPT-OSS 20B/120B, Nova 2 Lite Exact catalog ID / endpoint scope not established
Bedrock GPT-6.2 Astra Ultrafast; Grok Priority/Flex Not standard tier
Databricks glm-5-2, deepseek-v4-pro-0813, inkling Deprecated/retired
Databricks kimi-k3, kimi-k3.1-pro Price varies by data-residency setting; not expressible
Databricks GPT-OSS 120B/20B, Gemma 3 12B, Llama 4 Maverick, Llama 3.3 70B, Llama 3.1 8B, DeepSeek V4.1 Flash Flat rate already matches (within DBU rounding)
Databricks Kimi K2.7, remaining embedding rows No differing provider rate established
Databricks Other regions/clouds No regional parity assumed

Cost-matching caveat: current cost selection doesn't consume supported_regions or model_id conditions, the gateway passes inference_geo: None, and the estimated-cost selector skips date-scoped rates. Conditions are kept as published rather than broadened.

Pricing applicability on current Braintrust main (verified at c3f05c7d): none of the 40 conditional rows is selected yet; until the selector/Gateway context is fixed, usage falls back as follows.

Condition Matches today?
Endpoint bedrock-runtime / bedrock-mantle No. Pricing gets api_host = configured hostname (e.g. bedrock-runtime.us-east-1.amazonaws.com) or None, compared by exact equality (same root cause as OpenRouter endpoint rows, which see openrouter.ai)
supported_regions (Bedrock + Databricks) No. Selector rejects the condition
model_id row condition No. Selector rejects the condition
Geo / inference profile No. Profiles are encoded by catalog key; inference_geo isn't derived from the region or prefix
min_/max_input_tokens Yes
valid_from Yes (Brainstore estimates compare against estimate time, not span time)
  • Use their own top-level rates (17 Bedrock IDs): us.xai.grok-4.7; bare/us./global. openai.gpt-6.2-astra and openai.gpt-6.2-sol; all six anthropic.claude-haiku-5-5 variants; bare/global. anthropic.claude-sonnet-5-5 and anthropic.claude-opus-5-5.
  • No top-level rates of their own (5 Bedrock IDs): us.anthropic.claude-sonnet-5-5, us./eu./au./jp.anthropic.claude-opus-5-5. Brainstore estimates fall back to the unprefixed model's flat rates; Gateway's built-in lookup does not.
  • No built-in price at all (4 Databricks IDs): databricks-glm-5-3, databricks-glm-5-3-flash, databricks-qwen35-122b-a10b, databricks-qwen3-next-80b-a3b-instruct. Cost loaders skip entries that only have nested rates.

Discount audit: audited all 40 added rows against official AWS and Databricks pricing; no promotional or temporary discounts are included. The Claude Sonnet 5.5 valid_from 2026-10-07 marks AWS's permanent 50% cache-read reduction (no end date published). Databricks free trial and committed-use discounts are not reflected.

Link to Devin session: https://braintrust.devinenterprise.com/sessions/bd684a3cb79a4cc2ba08895c366922ab
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/bd684a3cb79a4cc2ba08895c366922ab?variant=devin

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T22:59:23.844394Z 6105b6a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6105b6ac70

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment on lines +15584 to +15585
"supported_regions": [
"us-gov-west-1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Match the region before selecting the GovCloud Opus rate

For anthropic.claude-opus-5-5 requests through bedrock-mantle in us-gov-west-1, the current cost matcher does not inspect supported_regions, so this GovCloud rate is indistinguishable from the preceding commercial-region rate with the same endpoint and model ID. The commercial row is therefore selected first, underestimating GovCloud input/output and cache costs (for example, 4.4/22 instead of 4.8/24); either region matching must be implemented before publishing both rows or the condition must be encoded in a field the matcher consumes.

Useful? React with 👍 / 👎.

Comment on lines +15182 to +15183
"model_id": "us.anthropic.claude-sonnet-5-5",
"valid_from": "2026-10-07"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Make the dated Sonnet rate usable by cost estimation

When estimated costs are calculated for us.anthropic.claude-sonnet-5-5, the estimator skips rates containing date bounds, and this model has no top-level token-price fallback. Consequently the newly added standard rate is never used by that path—even after 2026-10-07—and those requests remain unpriced; the estimator needs to evaluate valid_from, or this currently applicable rate must be represented without a date condition.

Useful? React with 👍 / 👎.

@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1795474096-bedrock-databricks-standard-pricing branch 2 times, most recently from abdc707 to 1dda228 Compare November 24, 2026 19:15
> 🤖 **This text was AI-generated.**

Flat catalog rates do not capture some Bedrock inference options or missing Databricks pay-per-token prices. Record verified provider-specific rates with their published conditions without changing defaults or other tiers.

Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1795474096-bedrock-databricks-standard-pricing branch from 1dda228 to 3506872 Compare November 24, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant