GPT-4o is available from 4 provider(s). Cheapest: CometAPI at $2.50 per 1M input tokens and $10.00 per 1M output tokens. Context window: up to 128 000 tokens. Developer: OpenAI.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| CometAPI gpt-4o | $2.50 | $10.00 | — | Go to provider ↗ Set up |
| NanoGPT openai/gpt-4o | $2.50 | $10.00 | 128K | Go to provider ↗ Set up |
| OpenRouter openai/gpt-4o | $2.50 | $10.00 | 128K | Go to provider ↗ Set up |
| UplinkSwitch gpt-4o | $2.50 | $10.00 | 128K | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $2.50 / $10.00 per 1M tokens (input / output), OpenRouter – for this model usually the vendor's list price · How we compare → · Wrong price? Report it
Price history is recorded daily – the chart appears after the first price change.
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.cometapi.com/v1", api_key=os.environ["COMETAPI_KEY"])
r = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at CometAPI ($2.50 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.