惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
V
Visual Studio Blog
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
IT之家
IT之家
Vercel News
Vercel News
C
Check Point Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
D
DataBreaches.Net
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat: declare together model catalog · openclaw/openclaw@...
shakkernerd · 2026-04-28 · via Recent Commits to openclaw:main

@@ -1,133 +1,23 @@

1+

import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";

12

import type { ModelDefinitionConfig } from "openclaw/plugin-sdk/provider-model-shared";

3+

import manifest from "./openclaw.plugin.json" with { type: "json" };

243-

export const TOGETHER_BASE_URL = "https://api.together.xyz/v1";

5+

const TOGETHER_MANIFEST_PROVIDER = buildManifestModelProviderConfig({

6+

providerId: "together",

7+

catalog: manifest.modelCatalog.providers.together,

8+

});

495-

export const TOGETHER_MODEL_CATALOG: ModelDefinitionConfig[] = [

6-

{

7-

id: "zai-org/GLM-4.7",

8-

name: "GLM 4.7 Fp8",

9-

reasoning: false,

10-

input: ["text"],

11-

contextWindow: 202752,

12-

maxTokens: 8192,

13-

cost: {

14-

input: 0.45,

15-

output: 2.0,

16-

cacheRead: 0.45,

17-

cacheWrite: 2.0,

18-

},

19-

},

20-

{

21-

id: "moonshotai/Kimi-K2.5",

22-

name: "Kimi K2.5",

23-

reasoning: true,

24-

input: ["text", "image"],

25-

cost: {

26-

input: 0.5,

27-

output: 2.8,

28-

cacheRead: 0.5,

29-

cacheWrite: 2.8,

30-

},

31-

contextWindow: 262144,

32-

maxTokens: 32768,

33-

},

34-

{

35-

id: "meta-llama/Llama-3.3-70B-Instruct-Turbo",

36-

name: "Llama 3.3 70B Instruct Turbo",

37-

reasoning: false,

38-

input: ["text"],

39-

contextWindow: 131072,

40-

maxTokens: 8192,

41-

cost: {

42-

input: 0.88,

43-

output: 0.88,

44-

cacheRead: 0.88,

45-

cacheWrite: 0.88,

46-

},

47-

},

48-

{

49-

id: "meta-llama/Llama-4-Scout-17B-16E-Instruct",

50-

name: "Llama 4 Scout 17B 16E Instruct",

51-

reasoning: false,

52-

input: ["text", "image"],

53-

contextWindow: 10000000,

54-

maxTokens: 32768,

55-

cost: {

56-

input: 0.18,

57-

output: 0.59,

58-

cacheRead: 0.18,

59-

cacheWrite: 0.18,

60-

},

61-

},

62-

{

63-

id: "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",

64-

name: "Llama 4 Maverick 17B 128E Instruct FP8",

65-

reasoning: false,

66-

input: ["text", "image"],

67-

contextWindow: 20000000,

68-

maxTokens: 32768,

69-

cost: {

70-

input: 0.27,

71-

output: 0.85,

72-

cacheRead: 0.27,

73-

cacheWrite: 0.27,

74-

},

75-

},

76-

{

77-

id: "deepseek-ai/DeepSeek-V3.1",

78-

name: "DeepSeek V3.1",

79-

reasoning: false,

80-

input: ["text"],

81-

contextWindow: 131072,

82-

maxTokens: 8192,

83-

cost: {

84-

input: 0.6,

85-

output: 1.25,

86-

cacheRead: 0.6,

87-

cacheWrite: 0.6,

88-

},

89-

},

90-

{

91-

id: "deepseek-ai/DeepSeek-R1",

92-

name: "DeepSeek R1",

93-

reasoning: true,

94-

input: ["text"],

95-

contextWindow: 131072,

96-

maxTokens: 8192,

97-

cost: {

98-

input: 3.0,

99-

output: 7.0,

100-

cacheRead: 3.0,

101-

cacheWrite: 3.0,

102-

},

103-

},

104-

{

105-

id: "moonshotai/Kimi-K2-Instruct-0905",

106-

name: "Kimi K2-Instruct 0905",

107-

reasoning: false,

108-

input: ["text"],

109-

contextWindow: 262144,

110-

maxTokens: 8192,

111-

cost: {

112-

input: 1.0,

113-

output: 3.0,

114-

cacheRead: 1.0,

115-

cacheWrite: 3.0,

116-

},

117-

},

118-

];

10+

export const TOGETHER_BASE_URL = TOGETHER_MANIFEST_PROVIDER.baseUrl;

11+12+

export const TOGETHER_MODEL_CATALOG: ModelDefinitionConfig[] = TOGETHER_MANIFEST_PROVIDER.models;

1191312014

export function buildTogetherModelDefinition(

12115

model: (typeof TOGETHER_MODEL_CATALOG)[number],

12216

): ModelDefinitionConfig {

12317

return {

124-

id: model.id,

125-

name: model.name,

18+

...model,

12619

api: "openai-completions",

127-

reasoning: model.reasoning,

128-

input: model.input,

129-

cost: model.cost,

130-

contextWindow: model.contextWindow,

131-

maxTokens: model.maxTokens,

20+

input: [...model.input],

21+

cost: { ...model.cost },

13222

};

13323

}