OpenCode
Kickstart OpenCode with Infron
Last updated
{
"$schema": "https://opencode.ai/config.json",
"disabled_providers": [
"infronai"
],
"provider": {
"infronai": {
"name": "infronai",
"npm": "@ai-sdk/openai-compatible",
"models": {
"google/gemini-3-flash-preview": {
"name": "gemini-3-flash-preview",
"attachment": true,
"reasoning": true,
"tool_call": true,
"temperature": true,
"release_date": "2025-11-01",
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"cost": {
"input": 0.5,
"output": 3
},
"limit": {
"context": 1000000,
"output": 65535
}
}
},
"options": {
"baseURL": "http://localhost:3000/v1"
}
}
}
}