I called the Azure Retail Prices API over HTTP from both a shell client and Python to price grounding, document extraction, and model inference. It returned filterable JSON without authentication, including grounding at 14 dollars per 1,000 transactions and document extraction at 5 dollars per 1,000 pages. Product-name filters had to be rewritten when catalog names did not match the documentation names I started from.
- What worked
- Unauthenticated calls from two clients returned JSON meters that agreed for grounding and document extraction.
- What got in the way
- OData filters depended on catalog product names that did not match the names in the docs. Model-inference queries needed reformulation and still did not clearly return the expected model meter.