Repository navigation
feat(cost-map): sync azure models, add MAI-Image-2.6, deepseek-v4.1-flash, muse-spark-1.3 #42970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63384,6 +63384,73 @@ | |
| "supports_tool_choice": true, | ||
| "supports_vision": true | ||
| }, | ||
| "azure_ai/deepseek-v4.1-flash": { | ||
| "cache_read_input_token_cost": 8e-09, | ||
| "input_cost_per_token": 3.75e-07, | ||
| "litellm_provider": "azure_ai", | ||
| "max_input_tokens": 1000000, | ||
| "max_output_tokens": 384000, | ||
| "max_tokens": 384000, | ||
| "mode": "chat", | ||
| "output_cost_per_token": 1.5e-06, | ||
| "supports_function_calling": true, | ||
| "supports_prompt_caching": true, | ||
| "supports_reasoning": true, | ||
| "supports_tool_choice": true, | ||
| "deprecation_date": "2026-12-15", | ||
| "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'" | ||
| }, | ||
| "azure_ai/muse-spark-1.3": { | ||
| "cache_read_input_token_cost": 1.5e-07, | ||
| "input_cost_per_token": 1.25e-06, | ||
| "litellm_provider": "azure_ai", | ||
| "max_input_tokens": 1048576, | ||
| "max_output_tokens": 131072, | ||
| "max_tokens": 131072, | ||
| "mode": "chat", | ||
| "output_cost_per_token": 4.25e-06, | ||
| "source": "https://ai.developer.meta.com/docs/pricing-rate-limits", | ||
| "supported_endpoints": [ | ||
| "/v1/chat/completions" | ||
| ], | ||
| "supported_modalities": [ | ||
| "text", | ||
| "image" | ||
| ], | ||
| "supported_output_modalities": [ | ||
| "text" | ||
| ], | ||
| "supports_function_calling": true, | ||
| "supports_prompt_caching": true, | ||
| "supports_reasoning": true, | ||
| "supports_response_schema": true, | ||
| "supports_tool_choice": true, | ||
| "supports_vision": true | ||
| }, | ||
| "azure_ai/MAI-Image-2.6": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Context Used: AGENTS.md (source)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Data-only rows: the schema and cost-map guard tests validate them, and pinning vendor prices in tests is disallowed by AGENTS.md
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That’s fair. Schema and cost-map guard coverage is appropriate for data-only rows, so I’m withdrawing the request for vendor-price-specific billing tests |
||
| "input_cost_per_image_token": 8e-06, | ||
| "input_cost_per_token": 5e-06, | ||
| "litellm_provider": "azure_ai", | ||
| "mode": "image_generation", | ||
| "output_cost_per_image_token": 3.8e-05, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Knowledge Base Used: Spend, budgets, and rate limits
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Azure publishes only token meters for MAI-Image-2.6, no per-image price, so a flat output_cost_per_image would be invented rather than sourced
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That’s fair. A flat |
||
| "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'", | ||
| "supported_endpoints": [ | ||
| "/v1/images/generations", | ||
| "/v1/images/edits" | ||
| ] | ||
| }, | ||
| "azure_ai/MAI-Image-2.6-Flash": { | ||
| "input_cost_per_image_token": 2.5e-06, | ||
| "input_cost_per_token": 1.75e-06, | ||
| "litellm_provider": "azure_ai", | ||
| "mode": "image_generation", | ||
| "output_cost_per_image_token": 1.9e-05, | ||
| "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'", | ||
| "supported_endpoints": [ | ||
| "/v1/images/generations", | ||
| "/v1/images/edits" | ||
| ] | ||
| }, | ||
| "azure_ai/FW-DeepSeek-V4.1-Flash": { | ||
| "cache_read_input_token_cost": 8e-09, | ||
| "input_cost_per_token": 3.75e-07, | ||
|
|
@@ -63445,6 +63512,7 @@ | |
| "supports_tool_choice": true | ||
| }, | ||
| "azure_ai/FW-GPT-OSS-120B": { | ||
| "deprecation_date": "2027-07-01", | ||
| "cache_read_input_token_cost": 8.2e-08, | ||
| "input_cost_per_token": 1.65e-07, | ||
| "litellm_provider": "azure_ai", | ||
|
|
@@ -63462,6 +63530,7 @@ | |
| "supports_tool_choice": true | ||
| }, | ||
| "azure_ai/Cohere-command-a-plus-05-2026": { | ||
| "deprecation_date": "2026-10-16", | ||
| "input_cost_per_token": 8e-07, | ||
| "litellm_provider": "azure_ai", | ||
| "max_input_tokens": 128000, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Knowledge Base Used: Spend, budgets, and rate limits
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cost map has no estimate flag; the PR body records inherited_from for both rows and the source URLs point at the sibling meters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s fair. Since the cost-map schema has no established estimate field, adding one would be inconsistent with the existing model metadata. The inherited pricing is documented via
inherited_fromand the referenced sibling-meter sources, so I’m withdrawing this suggestion; no change is needed for this comment.