Skip to content

Commit 47ad2ba

Browse files
committed
feat(models): added llama4 groq
1 parent d728ae6 commit 47ad2ba

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

sim/providers/groq/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ export const groqProvider: ProviderConfig = {
1010
name: 'Groq',
1111
description: "Groq's LLM models with high-performance inference",
1212
version: '1.0.0',
13-
models: ['groq/llama-3.3-70b-specdec', 'groq/deepseek-r1-distill-llama-70b', 'groq/qwen-2.5-32b'],
13+
models: [
14+
'groq/llama-3.3-70b-specdec',
15+
'groq/meta-llama/llama-4-scout-17b-16e-instruct',
16+
'groq/deepseek-r1-distill-llama-70b',
17+
'groq/qwen-2.5-32b',
18+
],
1419
defaultModel: 'groq/llama-3.3-70b-specdec',
1520

1621
executeRequest: async (request: ProviderRequest): Promise<ProviderResponse> => {

sim/providers/pricing.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ const modelPricing: ModelPricingMap = {
9292
output: 0.99,
9393
updatedAt: '2025-03-21',
9494
},
95+
'groq/meta-llama/llama-4-scout-17b-16e-instruct': {
96+
input: 0.4,
97+
cachedInput: 0.2,
98+
output: 0.6,
99+
updatedAt: '2025-04-06',
100+
},
95101
'groq/deepseek-r1-distill-llama-70b': {
96102
input: 0.75,
97103
cachedInput: 0.38,

sim/providers/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const providers: Record<
5656
groq: {
5757
...groqProvider,
5858
models: [
59+
'groq/meta-llama/llama-4-scout-17b-16e-instruct',
5960
'groq/llama-3.3-70b-specdec',
6061
'groq/deepseek-r1-distill-llama-70b',
6162
'groq/qwen-2.5-32b',

0 commit comments

Comments
 (0)