@dcdr/contracts 2.0.2 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,7 @@ export declare enum IntentProvider {
|
|
|
20
20
|
* Virtual provider managed by DCDR.
|
|
21
21
|
*
|
|
22
22
|
* Notes
|
|
23
|
-
* - Cloud-only concept: the registry/runtime can resolve the underlying real provider (OpenAI/Anthropic/Gemini/Office).
|
|
23
|
+
* - Cloud-only concept: the registry/runtime can resolve the underlying real provider (OpenAI/Anthropic/Gemini/Grok/Mistral/Office).
|
|
24
24
|
* - Model IDs are namespaced as `provider/model` (e.g. `openai/gpt-4o-mini`) for deterministic resolution.
|
|
25
25
|
*/
|
|
26
26
|
DCDR = "DCDR",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.contract.d.ts","sourceRoot":"","sources":["../src/provider.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,oBAAY,cAAc;IACxB;;;;;;OAMG;IACH,IAAI,SAAS;IAEb,0DAA0D;IAC1D,OAAO,YAAY;IAEnB,2BAA2B;IAC3B,MAAM,WAAW;IAEjB,sBAAsB;IACtB,IAAI,SAAS;IAEb,8BAA8B;IAC9B,SAAS,cAAc;IAEvB,4BAA4B;IAC5B,OAAO,YAAY;IAEnB,wCAAwC;IACxC,MAAM,WAAW;IAEjB;;;;;;OAMG;IACH,M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
|
*
|
|
23
23
|
* Notes
|
|
24
|
-
* - Cloud-only concept: the registry/runtime can resolve the underlying real provider (OpenAI/Anthropic/Gemini/Office).
|
|
24
|
+
* - Cloud-only concept: the registry/runtime can resolve the underlying real provider (OpenAI/Anthropic/Gemini/Grok/Mistral/Office).
|
|
25
25
|
* - Model IDs are namespaced as `provider/model` (e.g. `openai/gpt-4o-mini`) for deterministic resolution.
|
|
26
26
|
*/
|
|
27
27
|
IntentProvider["DCDR"] = "DCDR";
|
|
@@ -146,8 +146,9 @@ const PRICING_UPDATED_AT_20260430 = Date.UTC(2026, 3, 30);
|
|
|
146
146
|
const PRICING_UPDATED_AT_20260519 = Date.UTC(2026, 4, 19);
|
|
147
147
|
const PRICING_UPDATED_AT_20260522 = Date.UTC(2026, 4, 22);
|
|
148
148
|
const OPENAI_PRICING_URL = "https://developers.openai.com/api/docs/pricing";
|
|
149
|
-
const XAI_PRICING_URL = "https://docs.x.ai/developers/
|
|
150
|
-
const
|
|
149
|
+
const XAI_PRICING_URL = "https://docs.x.ai/developers/pricing";
|
|
150
|
+
const ANTHROPIC_PRICING_URL = "https://platform.claude.com/docs/en/about-claude/pricing";
|
|
151
|
+
const MISTRAL_PRICING_URL = "https://mistral.ai/pricing";
|
|
151
152
|
const MISTRAL_MODELS_URL = "https://docs.mistral.ai/getting-started/models/";
|
|
152
153
|
const GEMINI_PRICING_URL = "https://ai.google.dev/gemini-api/docs/pricing";
|
|
153
154
|
const OPENAI_GPT5_PARAMETER_SUPPORT = {
|
|
@@ -163,6 +164,29 @@ const OPENAI_GPT5_PARAMETER_SUPPORT = {
|
|
|
163
164
|
notes: "GPT-5 family: avoid custom sampling params; ensure sufficient max_tokens budget.",
|
|
164
165
|
updatedAt: "2026-04-28",
|
|
165
166
|
};
|
|
167
|
+
const GROK_CHAT_PARAMETER_SUPPORT = {
|
|
168
|
+
parameters: {
|
|
169
|
+
[PromptParameterKey.PRESENCE_PENALTY]: ProviderModelParameterSupportStatus.NOT_SUPPORTED,
|
|
170
|
+
[PromptParameterKey.FREQUENCY_PENALTY]: ProviderModelParameterSupportStatus.NOT_SUPPORTED,
|
|
171
|
+
},
|
|
172
|
+
notes: "Grok chat models reject presence/frequency penalties on current OpenAI-compatible endpoint.",
|
|
173
|
+
updatedAt: "2026-06-07",
|
|
174
|
+
};
|
|
175
|
+
const ANTHROPIC_OPUS47_PARAMETER_SUPPORT = {
|
|
176
|
+
parameters: {
|
|
177
|
+
[PromptParameterKey.TEMPERATURE]: ProviderModelParameterSupportStatus.NOT_SUPPORTED,
|
|
178
|
+
[PromptParameterKey.TOP_P]: ProviderModelParameterSupportStatus.NOT_SUPPORTED,
|
|
179
|
+
},
|
|
180
|
+
notes: "Opus 4.7 rejects explicit temperature/top_p in provider E2E on current Anthropic Messages API.",
|
|
181
|
+
updatedAt: "2026-06-07",
|
|
182
|
+
};
|
|
183
|
+
const ANTHROPIC_OPUS48_PARAMETER_SUPPORT = {
|
|
184
|
+
parameters: {
|
|
185
|
+
[PromptParameterKey.TOP_P]: ProviderModelParameterSupportStatus.NOT_SUPPORTED,
|
|
186
|
+
},
|
|
187
|
+
notes: "Opus 4.8 reports top_p as deprecated; runtime should avoid sending top_p.",
|
|
188
|
+
updatedAt: "2026-06-07",
|
|
189
|
+
};
|
|
166
190
|
const PRICING_FALLBACK_RULES_BY_PROVIDER = {
|
|
167
191
|
[IntentProvider.DCDR]: [],
|
|
168
192
|
[IntentProvider.OPEN_AI]: [
|
|
@@ -191,12 +215,17 @@ const DCDR_VIRTUAL_PROVIDER_PREFIX_BY_PROVIDER = {
|
|
|
191
215
|
[IntentProvider.OPEN_AI]: "openai",
|
|
192
216
|
[IntentProvider.ANTHROPIC]: "anthropic",
|
|
193
217
|
[IntentProvider.GEMINI]: "gemini",
|
|
218
|
+
[IntentProvider.GROK]: "grok",
|
|
219
|
+
[IntentProvider.MISTRAL]: "mistral",
|
|
194
220
|
[IntentProvider.OFFICE]: "office",
|
|
195
221
|
};
|
|
196
222
|
const DCDR_VIRTUAL_PROVIDER_BY_PREFIX = {
|
|
197
223
|
openai: IntentProvider.OPEN_AI,
|
|
198
224
|
anthropic: IntentProvider.ANTHROPIC,
|
|
199
225
|
gemini: IntentProvider.GEMINI,
|
|
226
|
+
grok: IntentProvider.GROK,
|
|
227
|
+
xai: IntentProvider.GROK,
|
|
228
|
+
mistral: IntentProvider.MISTRAL,
|
|
200
229
|
office: IntentProvider.OFFICE,
|
|
201
230
|
};
|
|
202
231
|
/**
|
|
@@ -241,7 +270,7 @@ function parseDcdrVirtualModelId(prefixedModelId) {
|
|
|
241
270
|
* - Allow DCDR to reference any model that DCDR runtime explicitly supports.
|
|
242
271
|
*
|
|
243
272
|
* Rules
|
|
244
|
-
* - For hosted providers (OpenAI/Anthropic/Gemini): include only models marked `runtimeSupport.status=SUPPORTED`.
|
|
273
|
+
* - For hosted providers (OpenAI/Anthropic/Gemini/Grok/Mistral): include only models marked `runtimeSupport.status=SUPPORTED`.
|
|
245
274
|
* - For `OFFICE`: include all declared models (local/runtime-managed; support is deployment-dependent).
|
|
246
275
|
* - Stable deterministic ordering: provider order then model declaration order.
|
|
247
276
|
*/
|
|
@@ -250,6 +279,8 @@ function buildDcdrVirtualProviderModelDefinitions(modelsByProvider) {
|
|
|
250
279
|
IntentProvider.OPEN_AI,
|
|
251
280
|
IntentProvider.ANTHROPIC,
|
|
252
281
|
IntentProvider.GEMINI,
|
|
282
|
+
IntentProvider.GROK,
|
|
283
|
+
IntentProvider.MISTRAL,
|
|
253
284
|
IntentProvider.OFFICE,
|
|
254
285
|
];
|
|
255
286
|
const out = [];
|
|
@@ -617,6 +648,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
617
648
|
{
|
|
618
649
|
id: "gpt-5.2-chat-latest",
|
|
619
650
|
types: [intent_contract_1.IntentType.CHAT],
|
|
651
|
+
pricing: pricingPerMillionTokens({
|
|
652
|
+
input: 1.75,
|
|
653
|
+
cachedInput: 0.175,
|
|
654
|
+
output: 14.0,
|
|
655
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
656
|
+
}),
|
|
620
657
|
runtimeSupport: {
|
|
621
658
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
622
659
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -628,6 +665,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
628
665
|
{
|
|
629
666
|
id: "gpt-5.2-codex",
|
|
630
667
|
types: [intent_contract_1.IntentType.CHAT],
|
|
668
|
+
pricing: pricingPerMillionTokens({
|
|
669
|
+
input: 1.75,
|
|
670
|
+
cachedInput: 0.175,
|
|
671
|
+
output: 14.0,
|
|
672
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
673
|
+
}),
|
|
631
674
|
runtimeSupport: {
|
|
632
675
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
633
676
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -703,6 +746,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
703
746
|
{
|
|
704
747
|
id: "gpt-5.1-chat-latest",
|
|
705
748
|
types: [intent_contract_1.IntentType.CHAT],
|
|
749
|
+
pricing: pricingPerMillionTokens({
|
|
750
|
+
input: 1.25,
|
|
751
|
+
cachedInput: 0.125,
|
|
752
|
+
output: 10.0,
|
|
753
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
754
|
+
}),
|
|
706
755
|
runtimeSupport: {
|
|
707
756
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
708
757
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -714,6 +763,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
714
763
|
{
|
|
715
764
|
id: "gpt-5.1-codex",
|
|
716
765
|
types: [intent_contract_1.IntentType.CHAT],
|
|
766
|
+
pricing: pricingPerMillionTokens({
|
|
767
|
+
input: 1.25,
|
|
768
|
+
cachedInput: 0.125,
|
|
769
|
+
output: 10.0,
|
|
770
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
771
|
+
}),
|
|
717
772
|
runtimeSupport: {
|
|
718
773
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
719
774
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -725,6 +780,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
725
780
|
{
|
|
726
781
|
id: "gpt-5.1-codex-max",
|
|
727
782
|
types: [intent_contract_1.IntentType.CHAT],
|
|
783
|
+
pricing: pricingPerMillionTokens({
|
|
784
|
+
input: 1.25,
|
|
785
|
+
cachedInput: 0.125,
|
|
786
|
+
output: 10.0,
|
|
787
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
788
|
+
}),
|
|
728
789
|
runtimeSupport: {
|
|
729
790
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
730
791
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -736,6 +797,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
736
797
|
{
|
|
737
798
|
id: "gpt-5.1-codex-mini",
|
|
738
799
|
types: [intent_contract_1.IntentType.CHAT],
|
|
800
|
+
pricing: pricingPerMillionTokens({
|
|
801
|
+
input: 1.25,
|
|
802
|
+
cachedInput: 0.125,
|
|
803
|
+
output: 10.0,
|
|
804
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
805
|
+
}),
|
|
739
806
|
runtimeSupport: {
|
|
740
807
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
741
808
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -780,6 +847,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
780
847
|
{
|
|
781
848
|
id: "gpt-5-chat-latest",
|
|
782
849
|
types: [intent_contract_1.IntentType.CHAT],
|
|
850
|
+
pricing: pricingPerMillionTokens({
|
|
851
|
+
input: 1.25,
|
|
852
|
+
cachedInput: 0.125,
|
|
853
|
+
output: 10.0,
|
|
854
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
855
|
+
}),
|
|
783
856
|
runtimeSupport: {
|
|
784
857
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
785
858
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -791,6 +864,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
791
864
|
{
|
|
792
865
|
id: "gpt-5-codex",
|
|
793
866
|
types: [intent_contract_1.IntentType.CHAT],
|
|
867
|
+
pricing: pricingPerMillionTokens({
|
|
868
|
+
input: 1.25,
|
|
869
|
+
cachedInput: 0.125,
|
|
870
|
+
output: 10.0,
|
|
871
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
872
|
+
}),
|
|
794
873
|
runtimeSupport: {
|
|
795
874
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
796
875
|
preferredApi: ProviderModelPreferredApi.RESPONSES,
|
|
@@ -1145,6 +1224,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
1145
1224
|
{
|
|
1146
1225
|
id: "gpt-4-turbo",
|
|
1147
1226
|
types: [intent_contract_1.IntentType.CHAT],
|
|
1227
|
+
pricing: pricingPerMillionTokens({
|
|
1228
|
+
input: 10.0,
|
|
1229
|
+
output: 30.0,
|
|
1230
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
1231
|
+
}),
|
|
1148
1232
|
runtimeSupport: {
|
|
1149
1233
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
1150
1234
|
preferredApi: ProviderModelPreferredApi.CHAT_COMPLETIONS,
|
|
@@ -1170,6 +1254,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
1170
1254
|
{
|
|
1171
1255
|
id: "gpt-4",
|
|
1172
1256
|
types: [intent_contract_1.IntentType.CHAT],
|
|
1257
|
+
pricing: pricingPerMillionTokens({
|
|
1258
|
+
input: 30.0,
|
|
1259
|
+
output: 60.0,
|
|
1260
|
+
sourceUrl: OPENAI_PRICING_URL,
|
|
1261
|
+
}),
|
|
1173
1262
|
runtimeSupport: {
|
|
1174
1263
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
1175
1264
|
preferredApi: ProviderModelPreferredApi.CHAT_COMPLETIONS,
|
|
@@ -1984,6 +2073,12 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
1984
2073
|
{
|
|
1985
2074
|
id: "gemini-3.1-flash-lite",
|
|
1986
2075
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2076
|
+
pricing: pricingGeminiPerMillionTokens({
|
|
2077
|
+
input: 0.25,
|
|
2078
|
+
output: 1.5,
|
|
2079
|
+
tiers: [{ name: "audio", condition: "audio", input: 0.5, output: 1.5 }],
|
|
2080
|
+
notes: "Prices may differ by modality; output includes thinking tokens.",
|
|
2081
|
+
}),
|
|
1987
2082
|
runtimeSupport: {
|
|
1988
2083
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
1989
2084
|
reason: "Validated via provider E2E (text + structured)",
|
|
@@ -1992,7 +2087,7 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
1992
2087
|
},
|
|
1993
2088
|
{
|
|
1994
2089
|
id: "gemini-3.1-flash-image-preview",
|
|
1995
|
-
types: [intent_contract_1.IntentType.
|
|
2090
|
+
types: [intent_contract_1.IntentType.IMAGE_GENERATION],
|
|
1996
2091
|
pricing: pricingGeminiPerMillionTokens({
|
|
1997
2092
|
input: 0.5,
|
|
1998
2093
|
output: 3.0,
|
|
@@ -2004,6 +2099,15 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2004
2099
|
updatedAt: "2026-05-04",
|
|
2005
2100
|
},
|
|
2006
2101
|
},
|
|
2102
|
+
{
|
|
2103
|
+
id: "gemini-3.1-flash-image",
|
|
2104
|
+
types: [intent_contract_1.IntentType.IMAGE_GENERATION],
|
|
2105
|
+
runtimeSupport: {
|
|
2106
|
+
status: ProviderModelRuntimeSupportStatus.IN_PROGRESS,
|
|
2107
|
+
reason: "Discovered in provider drift check; pending provider E2E curation for runtime image behavior.",
|
|
2108
|
+
updatedAt: "2026-06-07",
|
|
2109
|
+
},
|
|
2110
|
+
},
|
|
2007
2111
|
{
|
|
2008
2112
|
id: "gemini-3-pro-preview",
|
|
2009
2113
|
types: [intent_contract_1.IntentType.CHAT],
|
|
@@ -2031,14 +2135,23 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2031
2135
|
notes: "Not explicitly listed on pricing page; approximated from Gemini 3.1 Pro Preview.",
|
|
2032
2136
|
},
|
|
2033
2137
|
runtimeSupport: {
|
|
2034
|
-
status: ProviderModelRuntimeSupportStatus.
|
|
2035
|
-
reason: "
|
|
2036
|
-
updatedAt: "2026-
|
|
2138
|
+
status: ProviderModelRuntimeSupportStatus.FAILING,
|
|
2139
|
+
reason: "Provider E2E returns MODEL_NOT_FOUND (upstream 404) for this account/endpoint.",
|
|
2140
|
+
updatedAt: "2026-06-07",
|
|
2141
|
+
},
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
id: "gemini-3-pro-image",
|
|
2145
|
+
types: [intent_contract_1.IntentType.IMAGE_GENERATION],
|
|
2146
|
+
runtimeSupport: {
|
|
2147
|
+
status: ProviderModelRuntimeSupportStatus.IN_PROGRESS,
|
|
2148
|
+
reason: "Discovered in provider drift check; pending provider E2E curation for runtime image behavior.",
|
|
2149
|
+
updatedAt: "2026-06-07",
|
|
2037
2150
|
},
|
|
2038
2151
|
},
|
|
2039
2152
|
{
|
|
2040
2153
|
id: "gemini-3-pro-image-preview",
|
|
2041
|
-
types: [intent_contract_1.IntentType.
|
|
2154
|
+
types: [intent_contract_1.IntentType.IMAGE_GENERATION],
|
|
2042
2155
|
pricing: pricingGeminiPerMillionTokens({
|
|
2043
2156
|
input: 2.0,
|
|
2044
2157
|
output: 12.0,
|
|
@@ -2120,8 +2233,8 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2120
2233
|
}),
|
|
2121
2234
|
runtimeSupport: {
|
|
2122
2235
|
status: ProviderModelRuntimeSupportStatus.FAILING,
|
|
2123
|
-
reason: "Provider E2E:
|
|
2124
|
-
updatedAt: "2026-
|
|
2236
|
+
reason: "Provider E2E is unstable: model requires thinking mode, and structured path can still return empty visible text.",
|
|
2237
|
+
updatedAt: "2026-06-07",
|
|
2125
2238
|
},
|
|
2126
2239
|
},
|
|
2127
2240
|
{
|
|
@@ -2172,7 +2285,7 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2172
2285
|
},
|
|
2173
2286
|
{
|
|
2174
2287
|
id: "gemini-2.5-flash-image",
|
|
2175
|
-
types: [intent_contract_1.IntentType.
|
|
2288
|
+
types: [intent_contract_1.IntentType.IMAGE_GENERATION],
|
|
2176
2289
|
pricing: pricingGeminiPerMillionTokens({
|
|
2177
2290
|
input: 0.3,
|
|
2178
2291
|
output: 2.5,
|
|
@@ -2480,13 +2593,131 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2480
2593
|
},
|
|
2481
2594
|
},
|
|
2482
2595
|
],
|
|
2483
|
-
[IntentProvider.GROK]: [
|
|
2596
|
+
[IntentProvider.GROK]: [
|
|
2597
|
+
// Source: xAI pricing page (snapshot 2026-06-07)
|
|
2598
|
+
// Runtime posture: curated public candidates are enabled for customer-facing BEST/FAST options.
|
|
2599
|
+
{
|
|
2600
|
+
id: "grok-4.3",
|
|
2601
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2602
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
2603
|
+
publicForCustomers: true,
|
|
2604
|
+
tokenUsageCovered: true,
|
|
2605
|
+
publicName: "DCDR Best",
|
|
2606
|
+
badge: "Grok",
|
|
2607
|
+
primaryCategory: DcdrPublicModelCategory.BEST,
|
|
2608
|
+
categories: [DcdrPublicModelCategory.BEST, DcdrPublicModelCategory.SMART],
|
|
2609
|
+
qualityTier: 5,
|
|
2610
|
+
speedTier: 4,
|
|
2611
|
+
costTier: 3,
|
|
2612
|
+
recommendedUseCases: ["reasoning", "analysis", "production_chat"],
|
|
2613
|
+
isRecommended: false,
|
|
2614
|
+
isGlobalDefault: false,
|
|
2615
|
+
isCategoryDefault: false,
|
|
2616
|
+
pricing: pricingPerMillionTokens({
|
|
2617
|
+
input: 1.25,
|
|
2618
|
+
cachedInput: 0.2,
|
|
2619
|
+
output: 2.5,
|
|
2620
|
+
sourceUrl: XAI_PRICING_URL,
|
|
2621
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2622
|
+
}),
|
|
2623
|
+
runtimeSupport: {
|
|
2624
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2625
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
2626
|
+
updatedAt: "2026-06-07",
|
|
2627
|
+
},
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
id: "grok-4.20-0309-non-reasoning",
|
|
2631
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2632
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
2633
|
+
pricing: pricingPerMillionTokens({
|
|
2634
|
+
input: 1.25,
|
|
2635
|
+
cachedInput: 0.2,
|
|
2636
|
+
output: 2.5,
|
|
2637
|
+
sourceUrl: XAI_PRICING_URL,
|
|
2638
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2639
|
+
}),
|
|
2640
|
+
runtimeSupport: {
|
|
2641
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2642
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
2643
|
+
updatedAt: "2026-06-07",
|
|
2644
|
+
},
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
id: "grok-4.20-0309-reasoning",
|
|
2648
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2649
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
2650
|
+
pricing: pricingPerMillionTokens({
|
|
2651
|
+
input: 1.25,
|
|
2652
|
+
cachedInput: 0.2,
|
|
2653
|
+
output: 2.5,
|
|
2654
|
+
sourceUrl: XAI_PRICING_URL,
|
|
2655
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2656
|
+
}),
|
|
2657
|
+
runtimeSupport: {
|
|
2658
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2659
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
2660
|
+
updatedAt: "2026-06-07",
|
|
2661
|
+
},
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
id: "grok-4.20-multi-agent-0309",
|
|
2665
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2666
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
2667
|
+
pricing: pricingPerMillionTokens({
|
|
2668
|
+
input: 1.25,
|
|
2669
|
+
cachedInput: 0.2,
|
|
2670
|
+
output: 2.5,
|
|
2671
|
+
sourceUrl: XAI_PRICING_URL,
|
|
2672
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2673
|
+
}),
|
|
2674
|
+
runtimeSupport: {
|
|
2675
|
+
status: ProviderModelRuntimeSupportStatus.FAILING,
|
|
2676
|
+
reason: "Provider E2E returns upstream 400 on both run and structured paths (OpenAI-compatible chat endpoint).",
|
|
2677
|
+
updatedAt: "2026-06-07",
|
|
2678
|
+
},
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
id: "grok-build-0.1",
|
|
2682
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2683
|
+
parameterSupport: GROK_CHAT_PARAMETER_SUPPORT,
|
|
2684
|
+
publicForCustomers: true,
|
|
2685
|
+
tokenUsageCovered: true,
|
|
2686
|
+
publicName: "DCDR Fast",
|
|
2687
|
+
badge: "Grok",
|
|
2688
|
+
primaryCategory: DcdrPublicModelCategory.FAST,
|
|
2689
|
+
categories: [
|
|
2690
|
+
DcdrPublicModelCategory.FAST,
|
|
2691
|
+
DcdrPublicModelCategory.ECONOMY,
|
|
2692
|
+
],
|
|
2693
|
+
qualityTier: 3,
|
|
2694
|
+
speedTier: 5,
|
|
2695
|
+
costTier: 4,
|
|
2696
|
+
recommendedUseCases: ["interactive_chat", "classification", "support"],
|
|
2697
|
+
isRecommended: false,
|
|
2698
|
+
isGlobalDefault: false,
|
|
2699
|
+
isCategoryDefault: false,
|
|
2700
|
+
pricing: pricingPerMillionTokens({
|
|
2701
|
+
input: 1.0,
|
|
2702
|
+
cachedInput: 0.2,
|
|
2703
|
+
output: 2.0,
|
|
2704
|
+
sourceUrl: XAI_PRICING_URL,
|
|
2705
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2706
|
+
}),
|
|
2707
|
+
runtimeSupport: {
|
|
2708
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2709
|
+
reason: "Validated via provider E2E (run + structured)",
|
|
2710
|
+
updatedAt: "2026-06-07",
|
|
2711
|
+
},
|
|
2712
|
+
},
|
|
2713
|
+
],
|
|
2484
2714
|
[IntentProvider.ANTHROPIC]: [
|
|
2485
2715
|
// Source: Anthropic Models overview (latest models comparison), updated 2026-05-04
|
|
2486
2716
|
// Note: DCDR runtime v1 treats Anthropic as CHAT-only; multimodal/vision intent types are intentionally not listed yet.
|
|
2487
2717
|
{
|
|
2488
|
-
id: "claude-opus-4-
|
|
2718
|
+
id: "claude-opus-4-8",
|
|
2489
2719
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2720
|
+
parameterSupport: ANTHROPIC_OPUS48_PARAMETER_SUPPORT,
|
|
2490
2721
|
publicForCustomers: true,
|
|
2491
2722
|
tokenUsageCovered: true,
|
|
2492
2723
|
publicName: "DCDR Best",
|
|
@@ -2503,7 +2734,22 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2503
2734
|
pricing: pricingPerMillionTokens({
|
|
2504
2735
|
input: 5.0,
|
|
2505
2736
|
output: 25.0,
|
|
2506
|
-
sourceUrl:
|
|
2737
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2738
|
+
}),
|
|
2739
|
+
runtimeSupport: {
|
|
2740
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2741
|
+
reason: "Validated via provider E2E (text + structured) with model-specific sampling parameter filtering.",
|
|
2742
|
+
updatedAt: "2026-06-07",
|
|
2743
|
+
},
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
id: "claude-opus-4-7",
|
|
2747
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2748
|
+
parameterSupport: ANTHROPIC_OPUS47_PARAMETER_SUPPORT,
|
|
2749
|
+
pricing: pricingPerMillionTokens({
|
|
2750
|
+
input: 5.0,
|
|
2751
|
+
output: 25.0,
|
|
2752
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2507
2753
|
}),
|
|
2508
2754
|
runtimeSupport: {
|
|
2509
2755
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
@@ -2515,6 +2761,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2515
2761
|
{
|
|
2516
2762
|
id: "claude-opus-4-6",
|
|
2517
2763
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2764
|
+
pricing: pricingPerMillionTokens({
|
|
2765
|
+
input: 5.0,
|
|
2766
|
+
output: 25.0,
|
|
2767
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2768
|
+
}),
|
|
2518
2769
|
runtimeSupport: {
|
|
2519
2770
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2520
2771
|
reason: "Validated via provider E2E (run + structured + streaming SSE)",
|
|
@@ -2524,6 +2775,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2524
2775
|
{
|
|
2525
2776
|
id: "claude-opus-4-5-20251101",
|
|
2526
2777
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2778
|
+
pricing: pricingPerMillionTokens({
|
|
2779
|
+
input: 5.0,
|
|
2780
|
+
output: 25.0,
|
|
2781
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2782
|
+
}),
|
|
2527
2783
|
runtimeSupport: {
|
|
2528
2784
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2529
2785
|
reason: "Validated via provider E2E (run + structured + streaming SSE)",
|
|
@@ -2533,6 +2789,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2533
2789
|
{
|
|
2534
2790
|
id: "claude-opus-4-1-20250805",
|
|
2535
2791
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2792
|
+
pricing: pricingPerMillionTokens({
|
|
2793
|
+
input: 15.0,
|
|
2794
|
+
output: 75.0,
|
|
2795
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2796
|
+
}),
|
|
2536
2797
|
runtimeSupport: {
|
|
2537
2798
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2538
2799
|
reason: "Validated via provider E2E (run + structured + streaming SSE)",
|
|
@@ -2558,7 +2819,7 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2558
2819
|
pricing: pricingPerMillionTokens({
|
|
2559
2820
|
input: 3.0,
|
|
2560
2821
|
output: 15.0,
|
|
2561
|
-
sourceUrl:
|
|
2822
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2562
2823
|
}),
|
|
2563
2824
|
runtimeSupport: {
|
|
2564
2825
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
@@ -2569,6 +2830,11 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2569
2830
|
{
|
|
2570
2831
|
id: "claude-sonnet-4-5-20250929",
|
|
2571
2832
|
types: [intent_contract_1.IntentType.CHAT],
|
|
2833
|
+
pricing: pricingPerMillionTokens({
|
|
2834
|
+
input: 3.0,
|
|
2835
|
+
output: 15.0,
|
|
2836
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2837
|
+
}),
|
|
2572
2838
|
runtimeSupport: {
|
|
2573
2839
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2574
2840
|
reason: "Validated via provider E2E (run + structured + streaming SSE)",
|
|
@@ -2598,7 +2864,7 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2598
2864
|
pricing: pricingPerMillionTokens({
|
|
2599
2865
|
input: 1.0,
|
|
2600
2866
|
output: 5.0,
|
|
2601
|
-
sourceUrl:
|
|
2867
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2602
2868
|
}),
|
|
2603
2869
|
runtimeSupport: {
|
|
2604
2870
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
@@ -2612,7 +2878,7 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2612
2878
|
pricing: pricingPerMillionTokens({
|
|
2613
2879
|
input: 1.0,
|
|
2614
2880
|
output: 5.0,
|
|
2615
|
-
sourceUrl:
|
|
2881
|
+
sourceUrl: ANTHROPIC_PRICING_URL,
|
|
2616
2882
|
}),
|
|
2617
2883
|
runtimeSupport: {
|
|
2618
2884
|
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
@@ -2621,7 +2887,142 @@ const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER_RAW = {
|
|
|
2621
2887
|
},
|
|
2622
2888
|
},
|
|
2623
2889
|
],
|
|
2624
|
-
[IntentProvider.MISTRAL]: [
|
|
2890
|
+
[IntentProvider.MISTRAL]: [
|
|
2891
|
+
// Source: Mistral API pricing page + models API snapshot (2026-06-07).
|
|
2892
|
+
// Keep this catalog CHAT-focused for runtime v1; embedding/moderation/ocr families are intentionally excluded.
|
|
2893
|
+
{
|
|
2894
|
+
id: "mistral-large-latest",
|
|
2895
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2896
|
+
pricing: pricingPerMillionTokens({
|
|
2897
|
+
input: 0.5,
|
|
2898
|
+
output: 1.5,
|
|
2899
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2900
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2901
|
+
}),
|
|
2902
|
+
runtimeSupport: {
|
|
2903
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2904
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2905
|
+
updatedAt: "2026-06-07",
|
|
2906
|
+
},
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
id: "mistral-medium-latest",
|
|
2910
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2911
|
+
pricing: pricingPerMillionTokens({
|
|
2912
|
+
input: 1.5,
|
|
2913
|
+
output: 7.5,
|
|
2914
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2915
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2916
|
+
}),
|
|
2917
|
+
runtimeSupport: {
|
|
2918
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2919
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2920
|
+
updatedAt: "2026-06-07",
|
|
2921
|
+
},
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
id: "mistral-small-latest",
|
|
2925
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2926
|
+
pricing: pricingPerMillionTokens({
|
|
2927
|
+
input: 0.1,
|
|
2928
|
+
output: 0.3,
|
|
2929
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2930
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2931
|
+
}),
|
|
2932
|
+
runtimeSupport: {
|
|
2933
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2934
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2935
|
+
updatedAt: "2026-06-07",
|
|
2936
|
+
},
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
id: "mistral-tiny-latest",
|
|
2940
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2941
|
+
runtimeSupport: {
|
|
2942
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2943
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2944
|
+
updatedAt: "2026-06-07",
|
|
2945
|
+
},
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
id: "ministral-14b-latest",
|
|
2949
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2950
|
+
pricing: pricingPerMillionTokens({
|
|
2951
|
+
input: 0.2,
|
|
2952
|
+
output: 0.2,
|
|
2953
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2954
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2955
|
+
}),
|
|
2956
|
+
runtimeSupport: {
|
|
2957
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2958
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2959
|
+
updatedAt: "2026-06-07",
|
|
2960
|
+
},
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
id: "ministral-8b-latest",
|
|
2964
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2965
|
+
pricing: pricingPerMillionTokens({
|
|
2966
|
+
input: 0.15,
|
|
2967
|
+
output: 0.15,
|
|
2968
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2969
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2970
|
+
}),
|
|
2971
|
+
runtimeSupport: {
|
|
2972
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2973
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2974
|
+
updatedAt: "2026-06-07",
|
|
2975
|
+
},
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
id: "ministral-3b-latest",
|
|
2979
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2980
|
+
pricing: pricingPerMillionTokens({
|
|
2981
|
+
input: 0.1,
|
|
2982
|
+
output: 0.1,
|
|
2983
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2984
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
2985
|
+
}),
|
|
2986
|
+
runtimeSupport: {
|
|
2987
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
2988
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
2989
|
+
updatedAt: "2026-06-07",
|
|
2990
|
+
},
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
id: "codestral-latest",
|
|
2994
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
2995
|
+
pricing: pricingPerMillionTokens({
|
|
2996
|
+
input: 0.3,
|
|
2997
|
+
output: 0.9,
|
|
2998
|
+
sourceUrl: MISTRAL_PRICING_URL,
|
|
2999
|
+
updatedAt: PRICING_UPDATED_AT_20260522,
|
|
3000
|
+
}),
|
|
3001
|
+
runtimeSupport: {
|
|
3002
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
3003
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
3004
|
+
updatedAt: "2026-06-07",
|
|
3005
|
+
},
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
id: "mistral-code-latest",
|
|
3009
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
3010
|
+
runtimeSupport: {
|
|
3011
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
3012
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
3013
|
+
updatedAt: "2026-06-07",
|
|
3014
|
+
},
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
id: "mistral-vibe-cli-latest",
|
|
3018
|
+
types: [intent_contract_1.IntentType.CHAT],
|
|
3019
|
+
runtimeSupport: {
|
|
3020
|
+
status: ProviderModelRuntimeSupportStatus.SUPPORTED,
|
|
3021
|
+
reason: "Validated via provider E2E (text + structured)",
|
|
3022
|
+
updatedAt: "2026-06-07",
|
|
3023
|
+
},
|
|
3024
|
+
},
|
|
3025
|
+
],
|
|
2625
3026
|
[IntentProvider.COHERE]: [],
|
|
2626
3027
|
[IntentProvider.OFFICE]: [
|
|
2627
3028
|
// Office = internal/local OpenAI-compatible runtime (vLLM etc.)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcdr/contracts",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"homepage": "https://dcdr.ai",
|
|
5
5
|
"description": "TypeScript contracts and runtime client for DCDR intent-based AI execution",
|
|
6
6
|
"private": false,
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/jest": "^30.0.0",
|
|
42
|
-
"jest": "^30.
|
|
43
|
-
"jest-junit": "^
|
|
44
|
-
"ts-jest": "^29.4.
|
|
45
|
-
"typescript": "^
|
|
42
|
+
"jest": "^30.4.2",
|
|
43
|
+
"jest-junit": "^17.0.0",
|
|
44
|
+
"ts-jest": "^29.4.11",
|
|
45
|
+
"typescript": "^6.0.3"
|
|
46
46
|
},
|
|
47
47
|
"volta": {
|
|
48
48
|
"node": "22.22.0"
|