Skip to content

Commit 51e6130

Browse files
committed
udpate opus-4.8 model from anthropic to azure
1 parent 2a46fc4 commit 51e6130

7 files changed

Lines changed: 7 additions & 4 deletions

File tree

apps/supercode-cli/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supercode-cli",
3-
"version": "0.1.43",
3+
"version": "0.1.44",
44
"description": "AI-powered coding agent CLI",
55
"main": "dist/main.js",
66
"bin": {

apps/supercode-cli/server/src/cli/ai/concentrate-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class ConcentrateService {
9393
if (!queryLimit.allowed) reasons.push(`Query limit used: ${queryLimit.used} / ${DAILY_QUERY_LIMIT}`)
9494
const msg = [
9595
chalk.red("╔══ Daily usage limit exceeded ══╗"),
96-
chalk.red(`║ Model: anthropic/claude-opus-4-8`),
96+
chalk.red(`║ Model: azure/claude-opus-4-8`),
9797
...reasons.map(r => chalk.red(`║ ${r}`)),
9898
chalk.red(`║ Resets: ${new Date(tokenBudget.resetTime).toLocaleDateString()}`),
9999
chalk.red(`╚════════════════════════════════════╝`),

apps/supercode-cli/server/src/cli/ai/context-windows.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const CONTEXT_WINDOWS: Record<string, number> = {
1717
"glm-5.2": 203_000,
1818
"glm-5.1": 203_000,
1919
"minimax-m3": 1_000_000,
20+
"azure/claude-opus-4-8": 200_000,
2021
"anthropic/claude-opus-4-8": 500_000,
2122
}
2223

apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface ModelEntry {
1313
}
1414

1515
const MODELS: ModelEntry[] = [
16-
{ value: "anthropic/claude-opus-4-8", label: "Claude Opus 4.8", provider: "concentrateai", cost: "5.0x", desc: "Top-tier reasoning" },
16+
{ value: "azure/claude-opus-4-8", label: "Claude Opus 4.8", provider: "concentrateai", cost: "5.0x", desc: "Top-tier reasoning (Azure)" },
1717
{ value: "glm-5.2", label: "GLM 5.2", provider: "concentrateai", cost: "0.5x", desc: "Latest GLM" },
1818
{ value: "glm-5.1", label: "GLM 5.1", provider: "concentrateai", cost: "0.4x", desc: "Balanced multilingual" },
1919
{ value: "kimi-k2-6", label: "Kimi K2.6", provider: "concentrateai", cost: "0.8x", desc: "Long context" },

apps/supercode-cli/server/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const MODEL_MAX_TOKENS: Record<string, number> = {
3333
"glm-5.2": 4096,
3434
"glm-5.1": 4096,
3535
"minimax-m3": 8192,
36+
"azure/claude-opus-4-8": 4096,
3637
"anthropic/claude-opus-4-8": 4096,
3738
}
3839
function getModelMaxTokens(model: string): number {

apps/supercode-cli/server/src/lib/pricing.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const MODEL_PRICING: Record<string, ModelPricing> = {
2525
"z-ai/glm-5.1": { inputPrice: 0.10, outputPrice: 0.40, cachedPrice: 0 },
2626
"minimax-m3": { inputPrice: 0.20, outputPrice: 0.80, cachedPrice: 0 },
2727
"meta/llama-3.3-70b-instruct": { inputPrice: 0.59, outputPrice: 0.99, cachedPrice: 0 },
28+
"azure/claude-opus-4-8": { inputPrice: 5.00, outputPrice: 25.00, cachedPrice: 0.50 },
2829
"anthropic/claude-opus-4-8": { inputPrice: 5.00, outputPrice: 25.00, cachedPrice: 0.50 },
2930
}
3031

apps/supercode-cli/server/src/lib/token-budget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import os from "node:os"
44
import { randomUUID } from "node:crypto"
55
import prisma from "./prisma"
66

7-
export const OPUS_MODEL_ID = "anthropic/claude-opus-4-8"
7+
export const OPUS_MODEL_ID = "azure/claude-opus-4-8"
88
export const DAILY_BUDGET_TOKENS = 128_000
99
export const DAILY_QUERY_LIMIT = 20
1010

0 commit comments

Comments
 (0)