mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: update Fireworks provider with new models (#10679)
Fixes #10674 Added new models: - MiniMax M2.1 (minimax-m2p1) - DeepSeek V3.2 (deepseek-v3p2) - GLM-4.7 (glm-4p7) - Llama 3.3 70B Instruct (llama-v3p3-70b-instruct) - Llama 4 Maverick Instruct (llama4-maverick-instruct-basic) - Llama 4 Scout Instruct (llama4-scout-instruct-basic) All models include correct pricing, context windows, and capabilities.
This commit is contained in:
parent
84f7409f3c
commit
3b703b8b53
1 changed files with 78 additions and 0 deletions
|
|
@ -5,16 +5,22 @@ export type FireworksModelId =
|
|||
| "accounts/fireworks/models/kimi-k2-instruct-0905"
|
||||
| "accounts/fireworks/models/kimi-k2-thinking"
|
||||
| "accounts/fireworks/models/minimax-m2"
|
||||
| "accounts/fireworks/models/minimax-m2p1"
|
||||
| "accounts/fireworks/models/qwen3-235b-a22b-instruct-2507"
|
||||
| "accounts/fireworks/models/qwen3-coder-480b-a35b-instruct"
|
||||
| "accounts/fireworks/models/deepseek-r1-0528"
|
||||
| "accounts/fireworks/models/deepseek-v3"
|
||||
| "accounts/fireworks/models/deepseek-v3p1"
|
||||
| "accounts/fireworks/models/deepseek-v3p2"
|
||||
| "accounts/fireworks/models/glm-4p5"
|
||||
| "accounts/fireworks/models/glm-4p5-air"
|
||||
| "accounts/fireworks/models/glm-4p6"
|
||||
| "accounts/fireworks/models/glm-4p7"
|
||||
| "accounts/fireworks/models/gpt-oss-20b"
|
||||
| "accounts/fireworks/models/gpt-oss-120b"
|
||||
| "accounts/fireworks/models/llama-v3p3-70b-instruct"
|
||||
| "accounts/fireworks/models/llama4-maverick-instruct-basic"
|
||||
| "accounts/fireworks/models/llama4-scout-instruct-basic"
|
||||
|
||||
export const fireworksDefaultModelId: FireworksModelId = "accounts/fireworks/models/kimi-k2-instruct-0905"
|
||||
|
||||
|
|
@ -162,4 +168,76 @@ export const fireworksModels = {
|
|||
description:
|
||||
"OpenAI gpt-oss-120b: Production-grade, general-purpose model that fits on a single H100 GPU. Features complex reasoning, configurable effort, full chain-of-thought transparency, and supports function calling, tool use, and structured outputs.",
|
||||
},
|
||||
"accounts/fireworks/models/minimax-m2p1": {
|
||||
maxTokens: 4096,
|
||||
contextWindow: 204800,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.3,
|
||||
outputPrice: 1.2,
|
||||
description:
|
||||
"MiniMax M2.1 is an upgraded version of M2 with improved performance on complex reasoning, coding, and long-context understanding tasks.",
|
||||
},
|
||||
"accounts/fireworks/models/deepseek-v3p2": {
|
||||
maxTokens: 16384,
|
||||
contextWindow: 163840,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.56,
|
||||
outputPrice: 1.68,
|
||||
description:
|
||||
"DeepSeek V3.2 is the latest iteration of the V3 model family with enhanced reasoning capabilities, improved code generation, and better instruction following.",
|
||||
},
|
||||
"accounts/fireworks/models/glm-4p7": {
|
||||
maxTokens: 25344,
|
||||
contextWindow: 198000,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.55,
|
||||
outputPrice: 2.19,
|
||||
description:
|
||||
"Z.ai GLM-4.7 is the latest coding model with exceptional performance on complex programming tasks. Features improved reasoning capabilities and enhanced code generation quality.",
|
||||
},
|
||||
"accounts/fireworks/models/llama-v3p3-70b-instruct": {
|
||||
maxTokens: 16384,
|
||||
contextWindow: 131072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.9,
|
||||
outputPrice: 0.9,
|
||||
description:
|
||||
"Meta Llama 3.3 70B Instruct is a highly capable instruction-tuned model with strong reasoning, coding, and general task performance.",
|
||||
},
|
||||
"accounts/fireworks/models/llama4-maverick-instruct-basic": {
|
||||
maxTokens: 16384,
|
||||
contextWindow: 131072,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.22,
|
||||
outputPrice: 0.88,
|
||||
description:
|
||||
"Llama 4 Maverick is Meta's latest multimodal model with vision capabilities, optimized for instruction following and coding tasks.",
|
||||
},
|
||||
"accounts/fireworks/models/llama4-scout-instruct-basic": {
|
||||
maxTokens: 16384,
|
||||
contextWindow: 131072,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: false,
|
||||
supportsNativeTools: true,
|
||||
defaultToolProtocol: "native",
|
||||
inputPrice: 0.15,
|
||||
outputPrice: 0.6,
|
||||
description:
|
||||
"Llama 4 Scout is a smaller, faster variant of Llama 4 with multimodal capabilities, ideal for quick iterations and cost-effective deployments.",
|
||||
},
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue