Documentation
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

  1. Go to the OpenAI Platform.
  2. Create an account or log in.
  3. Navigate to API Keys in the dashboard and generate a new secret key.
  4. Add it to your .env file as OPENAI_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.

On this page