Gpt 4o vs Solar Pro4
Live API pricing and availability, side by side. Both models run on FastInfra's OpenAI-compatible endpoint — switching between them is a one-line change.
Pricing
Price per 1M tokens
Prices are live and sync automatically from wholesale providers.
| Gpt 4o | Solar Pro4 | |
|---|---|---|
| Input | $1.31 | $0.03 |
| Output | $5.25 | $0.13 |
| Default provider | OpenRouter | OpenRouter |
| Providers available | 2 | 1 |
On input tokens, Solar Pro4 is currently 41.7× cheaper than Gpt 4o on FastInfra. Output-token pricing and quality trade-offs differ per workload — test both with the free tier.
Quickstart
Try both in 30 seconds
Same endpoint, same SDK — only the model string changes.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.fastinfra.ai/v1")
for model in ["openai/gpt-4o", "upstage/solar-pro4"]:
response = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Hello!"}]
)
print(model, "->", response.choices[0].message.content)