The config
Put this in opencode.json and set ASHLLM_API_KEY in your environment.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ashllm": {
"npm": "@ai-sdk/openai-compatible",
"name": "AshLLM",
"options": {
"baseURL": "https://ashllm.com/v1",
"apiKey": "{env:ASHLLM_API_KEY}"
},
"models": {
"kimi-k3.1-pro-uncensored": {
"name": "Kimi K3.1 Pro Uncensored",
"tool_call": true,
"reasoning": true,
"limit": { "context": 1048576, "output": 32000 }
},
"deepseek-v4.1-flash-1017-uncensored": {
"name": "DeepSeek V4.1 Flash 1017 Uncensored",
"tool_call": true,
"reasoning": true,
"limit": { "context": 1048576, "output": 32000 }
}
}
}
},
"model": "ashllm/kimi-k3.1-pro-uncensored",
"small_model": "ashllm/deepseek-v4.1-flash-1017-uncensored"
}model is the one that does the work and small_model names sessions and writes summaries. Add any other model from the models page to the models block the same way.