Providers
Neovate Code supports multiple providers and models. You can use it with your own models and providers, or use the built-in models and providers.
Built-in providers
Didn’t find your provider? Submit an issue or a pull request to add it.
Anthropic
-
Open Anthropic Platform Console, click Create Key to create a new API key and copy it.
-
Type
/loginand select Anthropic and enter the API key, or set the API key in your environment variableANTHROPIC_API_KEY.
export ANTHROPIC_API_KEY=your-api-key If you want to use custom base URL, you can set the environment variable
ANTHROPIC_API_BASE.
export ANTHROPIC_API_BASE=https://your-base-url- Run
/modelto select the model you want to use.
DeepSeek
-
Open DeepSeek Console, click Create new API key to create a new API key and copy it.
-
Type
/loginand select DeepSeek and enter the API key, or set the API key in your environment variableDEEPSEEK_API_KEY.
export DEEPSEEK_API_KEY=your-api-key If you want to use custom base URL, you can set the environment variable
DEEPSEEK_API_BASE.
export DEEPSEEK_API_BASE=https://your-base-url- Run
/modelto select the model you want to use.
-
Open Google AI Studio, click Create API key to create a new API key and copy it.
-
Type
/loginand select Google and enter the API key, or set the API key in your environment variableGOOGLE_API_KEY.
export GOOGLE_API_KEY=your-api-key If you want to use custom base URL, you can set the environment variable
GOOGLE_GENERATIVE_AI_API_BASE.
export GOOGLE_GENERATIVE_AI_API_BASE=https://your-base-url- Run
/modelto select the model you want to use.
Groq
-
Open Groq Console, click Create API Key to create a new API key and copy it.
-
Type
/loginand select Groq and enter the API key, or set the API key in your environment variableGROQ_API_KEY.
export GROQ_API_KEY=your-api-key - Run
/modelto select the model you want to use.
ModelScope
-
Open ModelScope Console, click Create API Key to create a new API key and copy it.
-
Type
/loginand select ModelScope and enter the API key, or set the API key in your environment variableMODELSCOPE_API_KEY.
export MODELSCOPE_API_KEY=your-api-key- Run
/modelto select the model you want to use.
Moonshot AI
-
Open Moonshot AI Console, click Create API key to create a new API key and copy it.
-
Type
/loginand select Moonshot AI and enter the API key, or set the API key in your environment variableMOONSHOT_API_KEY.
export MOONSHOT_API_KEY=your-api-key - Run
/modelto select the model you want to use.
Moonshot AI CN
-
Open Moonshot AI CN Console, click Create API key to create a new API key and copy it.
-
Type
/loginand select Moonshot AI CN and enter the API key, or set the API key in your environment variableMOONSHOT_API_KEY.
export MOONSHOT_API_KEY=your-api-key - Run
/modelto select the model you want to use.
IFlow
It’s free to use.
-
Open IFlow, register, click the right top avatar, then click 我的账户 to get the API key, copy it.
-
Type
/loginand select IFlow and enter the API key, or set the API key in your environment variableIFLOW_API_KEY.
export IFLOW_API_KEY=your-api-key - Run
/modelto select the model you want to use.
OpenAI
-
Open OpenAI Platform Console, click Create new secret key to create a new API key and copy it.
-
Type
/loginand select OpenAI and enter the API key, or set the API key in your environment variableOPENAI_API_KEY.
export OPENAI_API_KEY=your-api-key If you want to use custom base URL, you can set the environment variable
OPENAI_API_BASE.
export OPENAI_API_BASE=https://your-base-url- Run
/modelto select the model you want to use.
OpenRouter
-
Open OpenRouter Dashboard, click Create API key to create a new API key and copy it.
-
Type
/loginand select OpenRouter and enter the API key, or set the API key in your environment variableOPENROUTER_API_KEY.
export OPENROUTER_API_KEY=your-api-key - Run
/modelto select the model you want to use.
xAI
-
Open xAI Console, click Create API key to create a new API key and copy it.
-
Type
/loginand select xAI and enter the API key, or set the API key in your environment variableXAI_API_KEY.
export XAI_API_KEY=your-api-key - Run
/modelto select the model you want to use.
Custom providers
You can add any OpenAI compatible provider that is not built-in.
Edit the ~/.neovate/config.json file to add the provider.
{
"provider": {
"your-provider": {
"apiKey": "your-api-key",
"api": "https://your-base-url",
"doc": "https://your-doc", // optional
"env": ["YOUR_API_KEY"], // optional
"apiEnv": ["YOUR_API_BASE"], // optional
"name": "your-provider", // optional
"models": {
// the value is the model id
// the full list could be found in https://github.com/neovateai/neovate-code/blob/d1b8cc5/src/model.ts#L70
"foo": "claude-4-sonnet"
}
}
}
}