| title | description | keywords | |||||
|---|---|---|---|---|---|---|---|
🆕 Add New Model |
Learn how to update the PearAI `config.json` file to add models like Ollama and OpenRouter. |
|
Follow these steps to integrate models like Ollama and OpenRouter into PearAI.
-
Open the PearAI
config.jsonfile. -
Add the model to the
modelsarray:"models": [ { "name": "startcoder2", "provider": "ollama", "version": "latest" } ]
-
Save and Reload: Save the file, and PearAI will automatically recognize the new model.
-
Follow the on-screen instructions to complete the setup
- Register at OpenRouter and generate an API key.



