For a limited time you can use the Proton Lumo API at no cost to test, tinker, and experiment on your side projects. Drop it into any OpenAI compatible client OpenCode custom scripts, or any tool that lets you set a custom OpenAI compatible base URL.
Paste this into your project's opencode.json, then start opencode it should connect automatically.
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"lumo": {
"npm": "@ai-sdk/openai-compatible",
"name": "Lumo",
"options": {
"baseURL": "https://api.carlostkd.ch/v1"
},
"models": {
"auto": {
"name": "Lumo Auto"
}
}
}
}
}
opencode.json./models and pick Lumo Auto.curl https://api.carlostkd.ch/v1/models \ -H "Authorization: Bearer YOUR_KEY"
curl https://api.carlostkd.ch/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{"role": "user", "content": "hello"}],
"stream": true
}'