Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions litellm/model_prices_and_context_window_backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
"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,
"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,
Expand Down Expand Up @@ -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",
Expand All @@ -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,
Expand Down
69 changes: 69 additions & 0 deletions model_prices_and_context_window.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Inherited prices lack clear provenance These Azure rows use rates inherited from other offerings, but no Azure-direct meter is identified. Mark them as estimates so operators do not mistake the rates used for spend tracking for published Azure prices.

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!

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor

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_from and the referenced sibling-meter sources, so I’m withdrawing this suggestion; no change is needed for this comment.

},
"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": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 New image pricing lacks tests The new image rows have no tests for billing or budget reservation. Schema checks cannot catch failures in either path. The repository requires meaningful feature tests, so add them before merging.

Context Used: AGENTS.md (source)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The 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,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Image costs are under-reserved For a prompt-based image request, admission estimates the text input but cannot use this output image-token rate. The completed image is charged for output tokens, so concurrent requests can exceed the budget before their actual costs are recorded. The Flash row has the same issue.

Knowledge Base Used: Spend, budgets, and rate limits

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That’s fair. A flat output_cost_per_image would be fabricated here, and the token-meter fields correctly represent Azure’s published pricing. The output image-token rate is still used when the provider returns output-token usage; my earlier concern was limited to speculative pre-admission budgeting, not the correctness of this cost-map row. I’m withdrawing that finding as non-blocking.

"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,
Expand Down Expand Up @@ -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",
Expand All @@ -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,
Expand Down
Loading