mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 19:21:35 +00:00
* feat(plugin-sdk): add manifest model row builder * refactor(providers): share manifest model row building * refactor(providers): source defaults from manifests * refactor(providers): drop unconsumed builder aliases * fix(providers): keep Cohere catalog internal
179 lines
4.6 KiB
JSON
179 lines
4.6 KiB
JSON
{
|
|
"id": "byteplus",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providerCatalogEntry": "./provider-discovery.ts",
|
|
"providers": ["byteplus", "byteplus-plan"],
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "byteplus",
|
|
"envVars": ["BYTEPLUS_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthAliases": {
|
|
"byteplus-plan": "byteplus"
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"byteplus": {
|
|
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/v3",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "dola-seed-2-1-turbo-260628",
|
|
"name": "Dola Seed 2.1 Turbo",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 256000,
|
|
"cost": {
|
|
"input": 0.5,
|
|
"output": 2.5,
|
|
"cacheRead": 0.1,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "seed-2-0-code-preview-260328",
|
|
"name": "Seed 2.0 Code Preview",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 128000,
|
|
"cost": {
|
|
"input": 0.5,
|
|
"output": 3,
|
|
"cacheRead": 0.1,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "glm-5-2-260617",
|
|
"name": "GLM 5.2",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 1024000,
|
|
"maxTokens": 128000,
|
|
"cost": {
|
|
"input": 1.4,
|
|
"output": 4.4,
|
|
"cacheRead": 0.26,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "deepseek-v4-pro-260425",
|
|
"name": "DeepSeek V4 Pro",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 1024000,
|
|
"maxTokens": 384000,
|
|
"cost": {
|
|
"input": 1.74,
|
|
"output": 3.48,
|
|
"cacheRead": 0.145,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "deepseek-v4-flash-260425",
|
|
"name": "DeepSeek V4 Flash",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 1024000,
|
|
"maxTokens": 384000,
|
|
"cost": {
|
|
"input": 0.14,
|
|
"output": 0.28,
|
|
"cacheRead": 0.028,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "glm-4-7-251222",
|
|
"name": "GLM 4.7",
|
|
"status": "deprecated",
|
|
"replacedBy": "glm-5-2-260617",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 128000,
|
|
"cost": {
|
|
"input": 0.6,
|
|
"output": 2.2,
|
|
"cacheRead": 0.11,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"byteplus-plan": {
|
|
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/coding/v3",
|
|
"api": "openai-completions",
|
|
"defaultModel": "ark-code-latest",
|
|
"models": [
|
|
{
|
|
"id": "ark-code-latest",
|
|
"name": "Ark Coding Plan",
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 4096,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "kimi-k2.5",
|
|
"name": "Kimi K2.5 Coding",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 32768,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"byteplus": "refreshable",
|
|
"byteplus-plan": "refreshable"
|
|
}
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "byteplus",
|
|
"method": "api-key",
|
|
"choiceId": "byteplus-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "BytePlus API key",
|
|
"groupId": "byteplus",
|
|
"groupLabel": "BytePlus",
|
|
"groupHint": "API key",
|
|
"optionKey": "byteplusApiKey",
|
|
"cliFlag": "--byteplus-api-key",
|
|
"cliOption": "--byteplus-api-key <key>",
|
|
"cliDescription": "BytePlus API key"
|
|
}
|
|
],
|
|
"contracts": {
|
|
"videoGenerationProviders": ["byteplus"]
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|