add code-supernova-1m (#6458)

* add code-supernova-1m

* Update src/core/api/providers/cline.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fixing cache price

* wording

* Update webview-ui/src/components/chat/Announcement.tsx

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Fix announcement content

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-09-26 08:19:39 -07:00
1 parent 8213b0b910
commit 65eee1ac6a
6 files changed
+23 -13

No files matched your search

+11 -1
View File
@@ -596,7 +596,7 @@ export const openRouterDefaultModelInfo: ModelInfo = {
// Cline custom model - code-supernova
export const clineCodeSupernovaModelInfo: ModelInfo = {
contextWindow: 200000,
contextWindow: 1000000,
supportsImages: true,
supportsPromptCache: true,
inputPrice: 0,
@@ -2509,6 +2509,16 @@ export const nebiusDefaultModelId = "Qwen/Qwen2.5-32B-Instruct-fast" satisfies N
export type XAIModelId = keyof typeof xaiModels
export const xaiDefaultModelId: XAIModelId = "grok-4"
export const xaiModels = {
"grok-4-fast-reasoning": {
maxTokens: 30000,
contextWindow: 2000000,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0.2,
cacheReadsPrice: 0.05,
outputPrice: 0.5,
description: "xAI's Grok 4 Fast (free) multimodal model with 2M context.",
},
"grok-4": {
maxTokens: 8192,
contextWindow: 262144,