Setup
- Create an account at platform.openai.com
- Generate an API key under API Keys
- Set the environment variable:
- Configure in
.langsight.yaml:
Models
| Model | Context | Best for |
|---|---|---|
gpt-4o | 128K | Default — fast, strong reasoning |
gpt-4o-mini | 128K | Budget-friendly |
o1-mini | 128K | Complex multi-step root cause reasoning |
Pricing
| Model | Input | Output |
|---|---|---|
| gpt-4o | $2.50/1M | $10/1M |
| gpt-4o-mini | $0.15/1M | $0.60/1M |
| o1-mini | $3/1M | $12/1M |