mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-28 09:02:16 +00:00
* feat: adapt image compression quality * refactor: move image limits into model metadata * test: cover adaptive image downscaling * test: cover image tool live providers * fix: apply media metadata to all image paths * fix: align providerless image compression * fix: add chutes runtime image limits * fix: optimize image data urls with model limits * fix: type media metadata merge * fix: optimize data url byte limits after decode * fix: preserve data url optimizer fallback * fix: keep low-side image compression fallbacks * fix: enforce data url image compression policy * fix: preserve gif data url media policy * fix: satisfy adaptive image type checks * test: keep cron provider-runtime mock current
192 lines
4.7 KiB
JSON
192 lines
4.7 KiB
JSON
{
|
|
"id": "groq",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["groq"],
|
|
"providerEndpoints": [
|
|
{
|
|
"endpointClass": "groq-native",
|
|
"hosts": ["api.groq.com"]
|
|
}
|
|
],
|
|
"providerRequest": {
|
|
"providers": {
|
|
"groq": {
|
|
"family": "groq"
|
|
}
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "groq",
|
|
"authMethods": ["api-key"],
|
|
"envVars": ["GROQ_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"groq": {
|
|
"baseUrl": "https://api.groq.com/openai/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "groq/compound",
|
|
"name": "Compound",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "groq/compound-mini",
|
|
"name": "Compound Mini",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "llama-3.1-8b-instant",
|
|
"name": "Llama 3.1 8B Instant",
|
|
"reasoning": false,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 131072,
|
|
"cost": {
|
|
"input": 0.05,
|
|
"output": 0.08,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "llama-3.3-70b-versatile",
|
|
"name": "Llama 3.3 70B Versatile",
|
|
"reasoning": false,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 32768,
|
|
"cost": {
|
|
"input": 0.59,
|
|
"output": 0.79,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "meta-llama/llama-4-scout-17b-16e-instruct",
|
|
"name": "Llama 4 Scout 17B",
|
|
"reasoning": false,
|
|
"input": ["text", "image"],
|
|
"mediaInput": {
|
|
"image": { "maxPixels": 33177600, "preferredSidePx": 2048, "tokenMode": "provider" }
|
|
},
|
|
"contextWindow": 131072,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0.11,
|
|
"output": 0.34,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "openai/gpt-oss-120b",
|
|
"name": "GPT OSS 120B",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0.15,
|
|
"output": 0.6,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "openai/gpt-oss-20b",
|
|
"name": "GPT OSS 20B",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0.075,
|
|
"output": 0.3,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "openai/gpt-oss-safeguard-20b",
|
|
"name": "Safety GPT OSS 20B",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0.075,
|
|
"output": 0.3,
|
|
"cacheRead": 0.037,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "qwen/qwen3-32b",
|
|
"name": "Qwen3 32B",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 40960,
|
|
"cost": {
|
|
"input": 0.29,
|
|
"output": 0.59,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"groq": "static"
|
|
}
|
|
},
|
|
"contracts": {
|
|
"mediaUnderstandingProviders": ["groq"]
|
|
},
|
|
"mediaUnderstandingProviderMetadata": {
|
|
"groq": {
|
|
"capabilities": ["audio"],
|
|
"defaultModels": {
|
|
"audio": "whisper-large-v3-turbo"
|
|
},
|
|
"autoPriority": {
|
|
"audio": 20
|
|
}
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|