openai model in hugging face correct maxtokens (#5371)
* openai model in hugging face correct maxtokens * maxtokens * maxtokens 131k i guess? * maxtokens swap * changeset * Adding Gpt-oss through groq --------- Co-authored-by: arafatkatze <arafat.da.khan@gmail.com>
This commit is contained in:
1 parent
95af95badf
commit
6e5d4a3f9e
2 files changed
+47
-1
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"claude-dev": patch
|
||||
---
|
||||
|
||||
hugging face listing new oss openai models
|
||||
groq listing new oss openai models
|
||||
+41
-1
@@ -1133,6 +1133,26 @@ export const deepSeekModels = {
|
||||
export type HuggingFaceModelId = keyof typeof huggingFaceModels
|
||||
export const huggingFaceDefaultModelId: HuggingFaceModelId = "moonshotai/Kimi-K2-Instruct"
|
||||
export const huggingFaceModels = {
|
||||
"openai/gpt-oss-120b": {
|
||||
maxTokens: 32766,
|
||||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
description:
|
||||
"Large open-weight reasoning model for high-end desktops and data centers, built for complex coding, math, and general AI tasks.",
|
||||
},
|
||||
"openai/gpt-oss-20b": {
|
||||
maxTokens: 32766,
|
||||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
description:
|
||||
"Medium open-weight reasoning model that runs on most desktops, balancing strong reasoning with broad accessibility.",
|
||||
},
|
||||
"moonshotai/Kimi-K2-Instruct": {
|
||||
maxTokens: 131_072,
|
||||
contextWindow: 131_072,
|
||||
@@ -2560,8 +2580,28 @@ export const cerebrasModels = {
|
||||
// https://console.groq.com/docs/models
|
||||
// https://groq.com/pricing/
|
||||
export type GroqModelId = keyof typeof groqModels
|
||||
export const groqDefaultModelId: GroqModelId = "moonshotai/kimi-k2-instruct"
|
||||
export const groqDefaultModelId: GroqModelId = "openai/gpt-oss-120b"
|
||||
export const groqModels = {
|
||||
"openai/gpt-oss-120b": {
|
||||
maxTokens: 32766, // Model fails if you try to use more than 32K tokens
|
||||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 0.15,
|
||||
outputPrice: 0.75,
|
||||
description:
|
||||
"A state-of-the-art 120B open-weight Mixture-of-Experts language model optimized for strong reasoning, tool use, and efficient deployment on large GPUs",
|
||||
},
|
||||
"openai/gpt-oss-20b": {
|
||||
maxTokens: 32766, // Model fails if you try to use more than 32K tokens
|
||||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 0.1,
|
||||
outputPrice: 0.5,
|
||||
description:
|
||||
"A compact 20B open-weight Mixture-of-Experts language model designed for strong reasoning and tool use, ideal for edge devices and local inference.",
|
||||
},
|
||||
// Compound Beta Models - Hybrid architectures optimized for tool use
|
||||
"compound-beta": {
|
||||
maxTokens: 8192,
|
||||
|
||||
Reference in new issue
Block a user