GPT-4o
GPT-4o
Section titled “GPT-4o”Provider: OpenAI Context Window: 128,000 tokens Quality: High Price: $2.50 per 1M input tokens
Overview
Section titled “Overview”GPT-4o is OpenAI’s most capable model, excelling at complex reasoning, coding, analysis, and creative tasks. It offers a strong balance of quality and speed.
Best For
Section titled “Best For”- Complex coding and debugging
- Multi-step reasoning tasks
- Analysis and summarization of long documents
- Creative writing and content generation
Pricing
Section titled “Pricing”| Tier | Input | Output |
|---|---|---|
| BYOK | $2.50/1M | $10.00/1M |
| Marketplace | $2.575/1M | $10.30/1M |
Routing Recommendation
Section titled “Routing Recommendation”- Accurate mode: GPT-4o scores high for complex prompts
- Balanced mode: Selected when quality matters more than cost
- Cheap mode: Rarely selected (more expensive alternatives exist)
- Eco mode: Never selected (too compute-heavy)
# Via fastlane-auto (router decides)curl http://127.0.0.1:8787/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model": "fastlane-auto", "messages": [{"role": "user", "content": "Explain quantum computing"}]}'
# Direct (bypass router)curl http://127.0.0.1:8787/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "Explain quantum computing"}]}'Requirements
Section titled “Requirements”- OpenAI API key in settings, or
- Marketplace balance (3% markup applies)