Skip to content

OpenAI

OpenAI provides GPT-4o, GPT-4o-mini, and other models through their API. Good for general-purpose tasks, embeddings, and vision.

Terminal window
export MODELREINS_PROVIDER=openai
export OPENAI_API_KEY=sk-...
ModelCostBest For
gpt-4o-mini$0.002/jobBudget cloud tasks
gpt-4o$0.03/jobGeneral purpose, vision
{
"provider": "openai",
"openai": {
"apiKey": "${OPENAI_API_KEY}",
"model": "gpt-4o-mini",
"maxTokens": 4096
}
}
  • 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