Skip to content

Commit 5d02099

Browse files
daniel-lxsmrubens
andauthored
feat(groq): enable native tool support for models that support function calling (#9673)
Co-authored-by: Matt Rubens <[email protected]>
1 parent 53d1f43 commit 5d02099

File tree

1 file changed

+7
-0
lines changed
  • packages/types/src/providers

1 file changed

+7
-0
lines changed

packages/types/src/providers/groq.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const groqModels = {
2424
contextWindow: 131072,
2525
supportsImages: false,
2626
supportsPromptCache: false,
27+
supportsNativeTools: true,
2728
inputPrice: 0.05,
2829
outputPrice: 0.08,
2930
description: "Meta Llama 3.1 8B Instant model, 128K context.",
@@ -33,6 +34,7 @@ export const groqModels = {
3334
contextWindow: 131072,
3435
supportsImages: false,
3536
supportsPromptCache: false,
37+
supportsNativeTools: true,
3638
inputPrice: 0.59,
3739
outputPrice: 0.79,
3840
description: "Meta Llama 3.3 70B Versatile model, 128K context.",
@@ -42,6 +44,7 @@ export const groqModels = {
4244
contextWindow: 131072,
4345
supportsImages: false,
4446
supportsPromptCache: false,
47+
supportsNativeTools: true,
4548
inputPrice: 0.11,
4649
outputPrice: 0.34,
4750
description: "Meta Llama 4 Scout 17B Instruct model, 128K context.",
@@ -78,6 +81,7 @@ export const groqModels = {
7881
contextWindow: 131072,
7982
supportsImages: false,
8083
supportsPromptCache: false,
84+
supportsNativeTools: true,
8185
inputPrice: 0.29,
8286
outputPrice: 0.59,
8387
description: "Alibaba Qwen 3 32B model, 128K context.",
@@ -106,6 +110,7 @@ export const groqModels = {
106110
contextWindow: 262144,
107111
supportsImages: false,
108112
supportsPromptCache: true,
113+
supportsNativeTools: true,
109114
inputPrice: 0.6,
110115
outputPrice: 2.5,
111116
cacheReadsPrice: 0.15,
@@ -117,6 +122,7 @@ export const groqModels = {
117122
contextWindow: 131072,
118123
supportsImages: false,
119124
supportsPromptCache: false,
125+
supportsNativeTools: true,
120126
inputPrice: 0.15,
121127
outputPrice: 0.75,
122128
description:
@@ -127,6 +133,7 @@ export const groqModels = {
127133
contextWindow: 131072,
128134
supportsImages: false,
129135
supportsPromptCache: false,
136+
supportsNativeTools: true,
130137
inputPrice: 0.1,
131138
outputPrice: 0.5,
132139
description:

0 commit comments

Comments
 (0)