Skip to content

Azure cost calc fix#644

Open
itsthusharashenoi wants to merge 5 commits intomainfrom
azure-cost-calc-fix
Open

Azure cost calc fix#644
itsthusharashenoi wants to merge 5 commits intomainfrom
azure-cost-calc-fix

Conversation

@itsthusharashenoi
Copy link
Copy Markdown
Contributor

Azure pricing fix

…ite for other models

- Split cache_write into cache_write_5m_input_token and cache_write_1h_input_token for claude-* SKUs (1h = 2× base vs 5m = 1.25×).
- Restore cache_write_input_token-only pricing for non-Claude models.
- Normalize pay_as_you_go key order (cache_read before cache_write) where touched.

Made-with: Cursor
…cache writes

- Reset pricing/azure-ai.json to match main for all non-claude-* models (removes incidental key reorder / churn).
- Replace cache_write_input_token with cache_write_5m_input_token + cache_write_1h_input_token only on claude-* SKUs (1h = 2× input vs 5m = 1.25×).

Made-with: Cursor
…ache_write_input_token_1h)

Made-with: Cursor
Copy all DashScope catalog entries into pricing/azure-ai.json with Azure-style
pay_as_you_go blocks (cache slots, audio, reasoning where applicable).
Existing deepseek-r1 row unchanged where it conflicted with Azure rates.

Made-with: Cursor
Replace scientific-notation numeric literals in Azure AI pricing with plain decimal values to keep model pricing files consistent and easier to review.

Made-with: Cursor
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