openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
294 lines (293 loc) • 7.71 kB
JSON
{
"id": "opencode-go",
"activation": {
"onStartup": false
},
"providerCatalogEntry": "./provider-discovery.js",
"enabledByDefault": true,
"providers": [
"opencode-go"
],
"providerEndpoints": [
{
"endpointClass": "opencode-go-native",
"baseUrls": [
"https://opencode.ai/zen/go",
"https://opencode.ai/zen/go/v1"
]
}
],
"providerRequest": {
"providers": {
"opencode-go": {
"family": "opencode"
}
}
},
"modelCatalog": {
"providers": {
"opencode-go": {
"baseUrl": "https://opencode.ai/zen/go/v1",
"api": "openai-completions",
"models": [
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 384000,
"cost": {
"input": 0.435,
"output": 0.87,
"cacheRead": 0.003625,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"supportsReasoningEffort": true,
"supportedReasoningEfforts": [
"high",
"max"
],
"maxTokensField": "max_tokens",
"supportsDeveloperRole": false,
"supportsStrictMode": false,
"codeMode": "capable"
}
},
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 384000,
"cost": {
"input": 0.14,
"output": 0.28,
"cacheRead": 0.0028,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"supportsReasoningEffort": true,
"supportedReasoningEfforts": [
"low",
"high",
"max"
],
"maxTokensField": "max_tokens",
"supportsDeveloperRole": false,
"supportsStrictMode": false,
"codeMode": "capable"
}
},
{
"id": "kimi-k3",
"name": "Kimi K3",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1048576,
"maxTokens": 131072,
"cost": {
"input": 3,
"output": 15,
"cacheRead": 0.3,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"supportsReasoningEffort": true,
"supportedReasoningEfforts": [
"max"
],
"maxTokensField": "max_tokens",
"supportsDeveloperRole": false,
"supportsStrictMode": false,
"codeMode": "capable"
}
},
{
"id": "kimi-k2.6",
"name": "Kimi K2.6",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 262144,
"maxTokens": 65536,
"cost": {
"input": 0.95,
"output": 4,
"cacheRead": 0.16,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"supportsDeveloperRole": false,
"supportsStrictMode": false
}
},
{
"id": "gpt-5.6-luna",
"name": "GPT-5.6 Luna",
"api": "openai-responses",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1050000,
"contextTokens": 922000,
"maxTokens": 128000,
"cost": {
"input": 0.2,
"output": 1.2,
"cacheRead": 0.02,
"cacheWrite": 0.25,
"tieredPricing": [
{
"input": 0.2,
"output": 1.2,
"cacheRead": 0.02,
"cacheWrite": 0.25,
"range": [
0,
272000
]
},
{
"input": 0.4,
"output": 1.8,
"cacheRead": 0.04,
"cacheWrite": 0.5,
"range": [
272000
]
}
]
},
"compat": {
"supportsUsageInStreaming": true,
"supportsReasoningEffort": true,
"supportedReasoningEfforts": [
"none",
"low",
"medium",
"high",
"xhigh",
"max"
],
"maxTokensField": "max_tokens",
"codeMode": "capable"
}
},
{
"id": "qwen3.8-max",
"name": "Qwen3.8 Max",
"api": "anthropic-messages",
"baseUrl": "https://opencode.ai/zen/go",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 131072,
"cost": {
"input": 2,
"output": 6,
"cacheRead": 0.25,
"cacheWrite": 2.5
},
"compat": {
"thinkingFormat": "qwen",
"codeMode": "capable"
}
},
{
"id": "hy3-preview",
"name": "HY3 Preview",
"status": "preview",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 262144,
"maxTokens": 32768,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"supportsDeveloperRole": false,
"supportsStrictMode": false
}
}
]
}
},
"discovery": {
"opencode-go": "runtime"
}
},
"setup": {
"providers": [
{
"id": "opencode-go",
"envVars": [
"OPENCODE_API_KEY",
"OPENCODE_ZEN_API_KEY"
]
}
]
},
"providerAuthChoices": [
{
"provider": "opencode-go",
"method": "api-key",
"choiceId": "opencode-go",
"appGuidedSecret": true,
"choiceLabel": "OpenCode Go catalog",
"groupId": "opencode",
"groupLabel": "OpenCode",
"groupHint": "Shared API key infrastructure for Zen + Go",
"optionKey": "opencodeGoApiKey",
"cliFlag": "--opencode-go-api-key",
"cliOption": "--opencode-go-api-key <key>",
"cliDescription": "OpenCode API key (Go catalog)"
}
],
"contracts": {
"mediaUnderstandingProviders": [
"opencode-go"
]
},
"mediaUnderstandingProviderMetadata": {
"opencode-go": {
"capabilities": [
"image"
],
"defaultModels": {
"image": "kimi-k2.6"
}
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}