Repository navigation
Expand file tree
/
Copy pathgroq.yml
More file actions
410 lines (372 loc) · 10.7 KB
/
Copy pathgroq.yml
File metadata and controls
410 lines (372 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
# yaml-language-server: $schema=.schema.json
name: Groq
id: groq
pricing_urls:
- https://console.groq.com/docs/models
api_pattern: 'https://api\.groq\.com'
# https://github.com/groq/groq-python/blob/v0.31.0/src/groq/types/completion_usage.py
extractors:
- root: usage
mappings:
- path: prompt_tokens
dest: input_tokens
- path: completion_tokens
dest: output_tokens
- path:
- prompt_tokens_details
- cached_tokens
dest: cache_read_tokens
required: false
- path:
- prompt_tokens_details
- audio_tokens
dest: input_audio_tokens
required: false
- path:
- completion_tokens_details
- audio_tokens
dest: output_audio_tokens
required: false
- path:
- completion_tokens_details
- reasoning_tokens
dest: output_reasoning_tokens
required: false
models:
- id: canopylabs/orpheus-arabic-saudi
name: Orpheus Arabic Saudi (Canopy Labs)
match:
equals: canopylabs/orpheus-arabic-saudi
context_window: 4000
prices_checked: 2026-10-10
price_comments: "https://console.groq.com/docs/models#canopylabs/orpheus-arabic-saudi"
prices:
input_mchars: 40
- id: canopylabs/orpheus-v1-english
name: Orpheus V1 English (Canopy Labs)
match:
equals: canopylabs/orpheus-v1-english
context_window: 4000
prices_checked: 2026-10-10
price_comments: "https://console.groq.com/docs/models#canopylabs/orpheus-v1-english"
prices:
input_mchars: 22
- id: deepseek-r1-distill-llama-70b
name: DeepSeek R1 Distill Llama 70B
context_window: 131072
match:
equals: deepseek-r1-distill-llama-70b
prices_checked: 2025-08-12
prices:
input_mtok: 0.75
output_mtok: 0.99
- id: gemma-7b-it
match:
equals: gemma-7b-it
prices:
input_mtok: 0.07
output_mtok: 0.07
- id: gemma2-9b-it
name: Gemma 2 9B 8k
match:
or:
- equals: gemma2-9b-it
- equals: gemma2-9b
prices_checked: 2025-08-12
prices:
input_mtok: 0.2
output_mtok: 0.2
- id: llama-3.1-405b-reasoning
match:
equals: llama-3.1-405b-reasoning
prices:
input_mtok: 0.59
output_mtok: 0.79
- id: llama-3.1-70b-versatile
match:
equals: llama-3.1-70b-versatile
prices:
input_mtok: 0.59
output_mtok: 0.79
- id: llama-3.1-8b-instant
name: Llama 3.1 8B Instant 128k
match:
equals: llama-3.1-8b-instant
prices_checked: 2025-08-12
prices:
input_mtok: 0.05
output_mtok: 0.08
- id: llama-3.2-11b-text-preview
match:
equals: llama-3.2-11b-text-preview
prices:
input_mtok: 0.18
output_mtok: 0.18
- id: llama-3.2-11b-vision-preview
match:
equals: llama-3.2-11b-vision-preview
prices:
input_mtok: 0.18
output_mtok: 0.18
- id: llama-3.2-1b-preview
match:
equals: llama-3.2-1b-preview
prices:
input_mtok: 0.04
output_mtok: 0.04
- id: llama-3.2-3b-preview
match:
equals: llama-3.2-3b-preview
prices:
input_mtok: 0.06
output_mtok: 0.06
- id: llama-3.2-90b-text-preview
match:
equals: llama-3.2-90b-text-preview
prices:
input_mtok: 0.9
output_mtok: 0.9
- id: llama-3.2-90b-vision-preview
match:
equals: llama-3.2-90b-vision-preview
prices:
input_mtok: 0.9
output_mtok: 0.9
- id: llama-3.3-70b-specdec
match:
equals: llama-3.3-70b-specdec
prices:
input_mtok: 0.59
output_mtok: 0.99
- id: llama-3.3-70b-versatile
name: Llama 3.3 70B Versatile 128k
match:
equals: llama-3.3-70b-versatile
prices_checked: 2025-08-12
prices:
input_mtok: 0.59
output_mtok: 0.79
- id: llama-guard-3-8b
match:
equals: llama-guard-3-8b
prices:
input_mtok: 0.2
output_mtok: 0.2
- id: llama2-70b-4096
match:
equals: llama2-70b-4096
prices:
input_mtok: 0.7
output_mtok: 0.8
- id: llama3-70b-8192
match:
equals: llama3-70b-8192
prices:
input_mtok: 0.59
output_mtok: 0.79
- id: llama3-8b-8192
match:
equals: llama3-8b-8192
prices:
input_mtok: 0.05
output_mtok: 0.08
- id: llama3-groq-70b-8192-tool-use-preview
match:
equals: llama3-groq-70b-8192-tool-use-preview
prices:
input_mtok: 0.89
output_mtok: 0.89
- id: llama3-groq-8b-8192-tool-use-preview
match:
equals: llama3-groq-8b-8192-tool-use-preview
prices:
input_mtok: 0.19
output_mtok: 0.19
- id: meta-llama/llama-4-maverick-17b-128e-instruct
name: Llama 4 Maverick 17B 128E
context_window: 131072
match:
equals: meta-llama/llama-4-maverick-17b-128e-instruct
prices_checked: 2025-08-12
prices:
input_mtok: 0.2
output_mtok: 0.6
- id: meta-llama/llama-4-scout-17b-16e-instruct
name: Llama 4 Scout (17Bx16E) 128k
match:
equals: meta-llama/llama-4-scout-17b-16e-instruct
prices_checked: 2025-08-12
prices:
input_mtok: 0.11
output_mtok: 0.34
- id: meta-llama/llama-guard-4-12b
name: Llama Guard 4 12B
context_window: 131072
match:
equals: meta-llama/llama-guard-4-12b
prices_checked: 2025-08-12
prices:
input_mtok: 0.2
output_mtok: 0.2
- id: meta-llama/llama-prompt-guard-2-22m
name: Llama Prompt Guard 2 22M
match:
equals: meta-llama/llama-prompt-guard-2-22m
context_window: 512
prices_checked: 2026-10-10
price_comments: "https://console.groq.com/docs/models#meta-llama/llama-prompt-guard-2-22m"
prices:
input_mtok: 0.03
output_mtok: 0.03
- id: meta-llama/llama-prompt-guard-2-86m
name: Llama Prompt Guard 2 86M
match:
equals: meta-llama/llama-prompt-guard-2-86m
context_window: 512
prices_checked: 2026-10-10
price_comments: "https://console.groq.com/docs/models#meta-llama/llama-prompt-guard-2-86m"
prices:
input_mtok: 0.04
output_mtok: 0.04
- id: mistral-saba-24b
match:
equals: mistral-saba-24b
prices:
input_mtok: 0.79
output_mtok: 0.79
- id: mixtral-8x7b-32768
match:
equals: mixtral-8x7b-32768
prices:
input_mtok: 0.24
output_mtok: 0.24
- id: moonshotai/kimi-k2-instruct
name: Kimi K2 1T 128k
context_window: 131072
match:
or:
- equals: moonshotai/kimi-k2-instruct
- equals: moonshotai/kimi-k2-instruct-0905
prices_checked: 2025-08-12
prices:
input_mtok: 1
cache_read_mtok: 0.5
output_mtok: 3
# https://console.groq.com/docs/model/openai/gpt-oss-120b
- id: openai/gpt-oss-120b
description: |
GPT-OSS 120B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with
120 billion parameters and 128 experts.
match:
equals: openai/gpt-oss-120b
context_window: 131072
prices_checked: 2026-10-14
price_comments: >-
Batch API is 50% of the synchronous rates and does not stack with prompt caching: cached input is billed
at the halved input rate. See https://console.groq.com/docs/batch.
prices:
input_mtok: 0.15
cache_read_mtok: 0.075
output_mtok: 0.6
price_variants:
- when: { processing: batch }
constraint: { start_date: 2026-10-14 }
prices:
input_mtok: 0.075
cache_read_mtok: 0.075
output_mtok: 0.3
# https://console.groq.com/docs/model/openai/gpt-oss-20b
- id: openai/gpt-oss-20b
description: |
GPT-OSS 20B is OpenAI's flagship open source model, built on a Mixture-of-Experts (MoE) architecture with
20 billion parameters and 32 experts.
match:
equals: openai/gpt-oss-20b
context_window: 131072
prices_checked: 2026-10-14
price_comments: >-
Batch API is 50% of the synchronous rates and does not stack with prompt caching: cached input is billed
at the halved input rate. See https://console.groq.com/docs/batch.
prices:
input_mtok: 0.075
cache_read_mtok: 0.0375
output_mtok: 0.30
price_variants:
- when: { processing: batch }
constraint: { start_date: 2026-10-14 }
prices:
input_mtok: 0.0375
cache_read_mtok: 0.0375
output_mtok: 0.15
# https://console.groq.com/docs/model/openai/gpt-oss-safeguard-20b
- id: openai/gpt-oss-safeguard-20b
name: GPT-OSS Safeguard 20B
description: |
GPT-OSS Safeguard 20B is OpenAI's open-weight safety model. It classifies content against a policy supplied
in the prompt.
match:
equals: openai/gpt-oss-safeguard-20b
context_window: 131072
prices_checked: 2026-09-29
prices:
input_mtok: 0.075
cache_read_mtok: 0.0375
output_mtok: 0.30
- id: qwen/qwen3-32b
name: Qwen3 32B 131k
match:
equals: qwen/qwen3-32b
context_window: 131072
prices_checked: 2025-08-12
prices:
input_mtok: 0.29
output_mtok: 0.59
# https://console.groq.com/docs/model/qwen/qwen3.8-27b
- id: qwen/qwen3.8-27b
name: Qwen 3.8 27B
match:
equals: qwen/qwen3.8-27b
context_window: 131072
prices_checked: 2026-09-29
price_comments: Preview model. Groq lists no cached-input rate.
prices:
input_mtok: 0.80
output_mtok: 4.00
- id: whisper-large-v3
name: Whisper Large V3
match:
equals: whisper-large-v3
# No context_window: Groq's catalog reports 448 here, but that is the audio decoder's
# token limit, not a text context window
prices_checked: 2026-10-14
price_comments: >-
See https://console.groq.com/docs/model/whisper-large-v3. Batch API is 50% of the synchronous rate, see
https://console.groq.com/docs/batch.
prices:
audio_hours: 0.111
input_audio_hours: 0.111
price_variants:
- when: { processing: batch }
constraint: { start_date: 2026-10-14 }
prices:
audio_hours: 0.0555
input_audio_hours: 0.0555
- id: whisper-large-v3-turbo
name: Whisper Large V3 Turbo
match:
equals: whisper-large-v3-turbo
# No context_window: Groq's catalog reports 448 here, but that is the audio decoder's
# token limit, not a text context window
prices_checked: 2026-10-14
price_comments: >-
See https://console.groq.com/docs/model/whisper-large-v3-turbo. Batch API is 50% of the synchronous rate, see
https://console.groq.com/docs/batch.
prices:
audio_hours: 0.04
input_audio_hours: 0.04
price_variants:
- when: { processing: batch }
constraint: { start_date: 2026-10-14 }
prices:
audio_hours: 0.02
input_audio_hours: 0.02