Hormouz AIHormouz AIHormouzSign in

GPT-4o: AI model

GPT-4o is an OpenAI model. An omni model that accepts text and image input and returns text, at GPT-4-Turbo quality, with up to 128K-token context. Reachable from inside Iran through Hormouz.

Context window:
128,000 tokens
Input:
$2.5/1M tokens
Output:
$10/1M tokens
Type:
text, image
  • Vision
  • Tools
  • Streaming
  • Long context

GPT-4o is an omni model that accepts text and image input and returns text, at GPT-4-Turbo quality. GPT-4o ("omni") matches GPT-4 Turbo quality while being faster and cheaper, with native image understanding. It supports a context window of up to 128K tokens, with training data through Oct 2023.

GPT-4o is served through Hormouz behind an OpenAI-compatible API. It supports tool calling and image (vision) input. Point your base URL at Hormouz and drop in a Hormouz key, and existing OpenAI SDK code runs unchanged.

Pricing is usage-based: $2.5 per million input tokens and $10 per million output tokens. Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of GPT-4 Turbo while being twice as...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorOpenAI
TypeText, Image
Context window128,000 tokens
Pricing$2.50/M in · $10.00/M out
APIChat Completions
CapabilitiesStreaming · Vision · Tools
3D
Top 97%
879Elo
Win rate: 39.2%Avg time: 11.5s
Code
Top 98%
866Elo
Win rate: 34.8%Avg time: 14.2s
Data Viz
Top 99%
864Elo
Win rate: 36%Avg time: 11.1s
Game Dev
Top 96%
919Elo
Win rate: 42.3%Avg time: 18.3s
UI Component
Top 98%
892Elo
Win rate: 38.1%Avg time: 12.8s
Website
Top 98%
838Elo
Win rate: 31.5%Avg time: 14.2s

Metrics sourced from Design Arena

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="openai/gpt-4o",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "openai/gpt-4o",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the GPT-4o API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches GPT-4o and nearly 700 other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an accountBuy ChatGPT (OpenAI) API access, paid in rial

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

FAQ

How much does GPT-4o cost?
Billing is usage-based: $2.5 per million input tokens and $10 per million output tokens. There is no fixed monthly fee. You pay only for what you use, and current rates are shown in the Hormouz dashboard.
How do I access GPT-4o from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to GPT-4o from inside Iran, with no foreign credit card or circumvention tooling required.
Is GPT-4o compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and chat-completions code run without a rewrite.
What context window and capabilities does GPT-4o have?
GPT-4o supports a context window of up to 128K tokens. It also supports tool calling and image (vision) input. That makes it a good fit for long documents, codebases and multi-turn conversations.
What is GPT-4o good for?
GPT-4o works well for chat assistants, content generation, summarization, drafting and general text tasks, including ones that involve reading images.
What is GPT-4o's knowledge cutoff?
GPT-4o's training data runs through Oct 2023. For information newer than that, provide the relevant context in your prompt or connect a tool that fetches live data.

Updated 2026-11-27