openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
103 lines (102 loc) • 2.53 kB
JavaScript
//#region extensions/together/openclaw.plugin.json
var openclaw_plugin_default = {
id: "together",
activation: { "onStartup": false },
enabledByDefault: true,
providers: ["together"],
providerRequest: { "providers": { "together": { "family": "together" } } },
setup: { "providers": [{
"id": "together",
"envVars": ["TOGETHER_API_KEY"]
}] },
providerAuthChoices: [{
"provider": "together",
"method": "api-key",
"choiceId": "together-api-key",
"appGuidedSecret": true,
"choiceLabel": "Together AI API key",
"groupId": "together",
"groupLabel": "Together AI",
"groupHint": "API key",
"optionKey": "togetherApiKey",
"cliFlag": "--together-api-key",
"cliOption": "--together-api-key <key>",
"cliDescription": "Together AI API key"
}],
contracts: { "videoGenerationProviders": ["together"] },
modelCatalog: {
"modelsDev": { "together": "togetherai" },
"providers": { "together": {
"baseUrl": "https://api.together.xyz/v1",
"api": "openai-completions",
"defaultModel": "moonshotai/Kimi-K2.6",
"models": [
{
"id": "moonshotai/Kimi-K2.6",
"name": "Kimi K2.6 FP4",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 32768,
"cost": {
"input": 1.2,
"output": 4.5,
"cacheRead": .2,
"cacheWrite": 0
}
},
{
"id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
"name": "Llama 3.3 70B Instruct Turbo",
"input": ["text"],
"contextWindow": 131072,
"maxTokens": 8192,
"cost": {
"input": 1.04,
"output": 1.04,
"cacheRead": 1.04,
"cacheWrite": 0
}
},
{
"id": "deepseek-ai/DeepSeek-V4-Pro",
"name": "DeepSeek V4 Pro",
"reasoning": true,
"input": ["text"],
"contextWindow": 512e3,
"maxTokens": 384e3,
"cost": {
"input": 1.74,
"output": 3.48,
"cacheRead": .2,
"cacheWrite": 0
},
"compat": { "codeMode": "capable" }
},
{
"id": "zai-org/GLM-5.2",
"name": "GLM 5.2 FP4",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 131072,
"cost": {
"input": 1.4,
"output": 4.4,
"cacheRead": .26,
"cacheWrite": 0
},
"compat": { "codeMode": "capable" }
}
]
} },
"discovery": { "together": "refreshable" }
},
configSchema: {
"type": "object",
"additionalProperties": false,
"properties": {}
}
};
//#endregion
export { openclaw_plugin_default as t };