OpenAI
OpenAI provides GPT-4o, GPT-4o-mini, and other models through their API. Good for general-purpose tasks, embeddings, and vision.
export MODELREINS_PROVIDER=openaiexport OPENAI_API_KEY=sk-...Available models
Section titled “Available models”| Model | Cost | Best For |
|---|---|---|
gpt-4o-mini | $0.002/job | Budget cloud tasks |
gpt-4o | $0.03/job | General purpose, vision |
Configuration
Section titled “Configuration”{ "provider": "openai", "openai": { "apiKey": "${OPENAI_API_KEY}", "model": "gpt-4o-mini", "maxTokens": 4096 }}When to use OpenAI
Section titled “When to use OpenAI”- Tasks requiring vision (image analysis)
- Embedding generation for search and retrieval
- General-purpose completions at moderate cost
- When you need structured JSON output with function calling