feat(imports): add real pricing and subscription collectors
Add plan catalog and subscription schema support, seed baselines, and real importers for core domestic subscriptions plus stable official pricing sources. This commit also hardens the shared fetch layers so the importers can support live collection and database writes instead of relying on manual placeholders alone.
This commit is contained in:
69
scripts/testdata/azure_openai_pricing_sample.json
vendored
Normal file
69
scripts/testdata/azure_openai_pricing_sample.json
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"Items": [
|
||||
{
|
||||
"currencyCode": "USD",
|
||||
"retailPrice": 0.0022,
|
||||
"unitPrice": 0.0022,
|
||||
"location": "US East",
|
||||
"meterName": "gpt 4.1 Inp regnl Tokens",
|
||||
"productName": "Azure OpenAI",
|
||||
"skuName": "gpt 4.1 Inp regnl",
|
||||
"serviceName": "Foundry Models",
|
||||
"unitOfMeasure": "1K",
|
||||
"type": "Consumption",
|
||||
"armSkuName": "gpt 4.1 Inp regnl"
|
||||
},
|
||||
{
|
||||
"currencyCode": "USD",
|
||||
"retailPrice": 0.0088,
|
||||
"unitPrice": 0.0088,
|
||||
"location": "US East",
|
||||
"meterName": "gpt 4.1 Outp regnl Tokens",
|
||||
"productName": "Azure OpenAI",
|
||||
"skuName": "gpt 4.1 Outp regnl",
|
||||
"serviceName": "Foundry Models",
|
||||
"unitOfMeasure": "1K",
|
||||
"type": "Consumption",
|
||||
"armSkuName": "gpt 4.1 Outp regnl"
|
||||
},
|
||||
{
|
||||
"currencyCode": "USD",
|
||||
"retailPrice": 1.25,
|
||||
"unitPrice": 1.25,
|
||||
"location": "US West",
|
||||
"meterName": "GPT 5 inp Glbl 1M Tokens",
|
||||
"productName": "Azure OpenAI GPT5",
|
||||
"skuName": "GPT 5 inp Glbl",
|
||||
"serviceName": "Foundry Models",
|
||||
"unitOfMeasure": "1M",
|
||||
"type": "Consumption",
|
||||
"armSkuName": "GPT 5 inp Glbl"
|
||||
},
|
||||
{
|
||||
"currencyCode": "USD",
|
||||
"retailPrice": 10,
|
||||
"unitPrice": 10,
|
||||
"location": "US West",
|
||||
"meterName": "GPT 5 outpt Glbl 1M Tokens",
|
||||
"productName": "Azure OpenAI GPT5",
|
||||
"skuName": "GPT 5 outpt Glbl",
|
||||
"serviceName": "Foundry Models",
|
||||
"unitOfMeasure": "1M",
|
||||
"type": "Consumption",
|
||||
"armSkuName": "GPT 5 outpt Glbl"
|
||||
},
|
||||
{
|
||||
"currencyCode": "USD",
|
||||
"retailPrice": 0.625,
|
||||
"unitPrice": 0.625,
|
||||
"location": "US West",
|
||||
"meterName": "GPT 5.1 Batch inp Gl 1M Tokens",
|
||||
"productName": "Azure OpenAI GPT5",
|
||||
"skuName": "GPT 5.1 Batch inp Gl",
|
||||
"serviceName": "Foundry Models",
|
||||
"unitOfMeasure": "1M",
|
||||
"type": "Consumption",
|
||||
"armSkuName": "GPT 5.1 Batch inp Gl"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user