OpenAI configuration
Leverage GPT's powerful language understanding to generate accurate and descriptive commit messages. With support for multiple models like GPT-3.5 and GPT-4.
In order to use OpenAI, you need to have your own OpenAI API key.
Available models
The following models have been tested and are supported. For more information, see the OpenAI documentation.
- Name
gpt-4o
- Description
Context window: 128k tokens, $2.50 / 1M input tokens, $10.00 / 1M output tokens
- Name
gpt-4o-mini
- Description
Context window: 128k tokens, $0.150 / 1M input tokens, $0.600 / 1M output tokens
- Name
gpt-4-turbo
- Description
Context window: 128k tokens, $10.00 / 1M tokens, $30.00 / 1M tokens
- Name
gpt-4
- Description
Context window: 128k tokens, $10.00 / 1M tokens, $30.00 / 1M tokens
- Name
gpt-3.5-turbo
- Description
Context window: 128k tokens, $10.00 / 1M tokens, $30.00 / 1M tokens
Compatible providers
You can use different providers that provide OpenAI compatible API by changing the endpoint in the config file.
providers:
openai:
endpoint: https://api.openai.com/v1/chat/completions