cecli can connect to most LLMs
Best models
cecli works best with these models, which are skilled at editing code:
Free models
cecli works with a number of free API providers:
- OpenRouter offers free access to many models, with limitations on daily usage.
- Google’s Gemini 2.5 Pro Exp works very well with cecli.
Local models
cecli can work also with local models, for example using Ollama. It can also access local models that provide an Open AI compatible API.
Use a capable model
Check cecli’s LLM leaderboards to see which models work best with cecli.
Be aware that cecli may not work well with less capable models. If you see the model returning code, but cecli isn’t able to edit your files and commit the changes… this is usually because the model isn’t capable of properly returning “code edits”. Models weaker than GPT 3.5 may have problems working well with cecli.
