Repository navigation
Add Bing grounding tool pricing for Azure AI Foundry (1.4¢/call) - #967
Open
akhilmmenon wants to merge 1 commit into
Open
akhilmmenon wants to merge 1 commit into
akhilmmenon wants to merge 1 commit into
Conversation
… Foundry models that support it
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The JSON is valid, and all 68 web-search pricing blocks consistently include both Bing tools at the documented rate.
Review effort: Balanced
Findings: None
What changed in this PR
Adds Bing grounding tool pricing to all Azure AI Foundry configurations that already support web search billing.
Changes:
- Prices
bing_groundingandbing_custom_searchat 1.4¢ per call. - Updates all 68 applicable pricing blocks.
| File | Description |
|---|---|
pricing/azure-ai.json |
Adds Bing tool pricing to web-capable models. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Bing grounding tool pricing for Azure AI Foundry (
azure-ai) models that support web-grounded tools, so these native tool calls are billed correctly.bing_grounding:price: 1.4(1.4¢/call)bing_custom_search:price: 1.4(1.4¢/call)Added to all 68
additional_unitsblocks that already priceweb_search(i.e. the web-capable Foundry models that can emit Bing tool calls). Pure additive change (+408 / -0 lines), no reformatting.Pricing basis: Grounding with Bing Search & Custom Search are both $14 / 1,000 transactions = $0.014/call = 1.4¢, per Grounding with Bing pricing.
Companion gateway change (counting logic for all native tools): Portkey-AI/gateway-enterprise-node#2233
Asana: https://app.asana.com/1/11915891072957/project/1215728220879780/task/1218810414553424
Why only Bing (and not the other 17 native tools)?
The gateway counts all 19 native platform tools and writes them to
tokens_raw, but billing only activates for keys that have apricehere. We added prices only for tools with a clean, flat, per-call list price that fits this repo'sprice × call-countmodel. The rest are session-, token-, or credit-based, or have no published per-call price.web_searchfile_searchbing_groundingbing_custom_searchmcpcomputer_usecode_interpretershelllocal_shellimage_generationazure_ai_search(Foundry IQ)sharepoint_groundingfabric_dataagentapply_patchtool_searchbrowser_automationmemory_searchmemory_commanda2a