AIProviders
OpenAI
Using OpenAI GPT models.
OpenAI provides the GPT family of models, the industry standard for general-purpose AI tasks.
How to get an API key
- Go to the OpenAI Platform.
- Create an account or log in.
- Navigate to API Keys in the dashboard and generate a new secret key.
- Add it to your
.envfile asOPENAI_API_KEY.
Available Models
- o1 / o1-mini: Advanced reasoning models. Use for complex coding, math, or logic problems where the model needs to "think" before answering.
- GPT-4o: The flagship model. Fast, multimodal, and highly capable. Use for complex reasoning and general chat.
- GPT-4o-mini: Fast and cheap. Best for simple text generation, classification, and high-volume tasks.