OpenAI: GPT-4: AI model
GPT-4 is an OpenAI model. A large-scale model for difficult reasoning and general knowledge tasks, with up to 8K-token context. Reachable from inside Iran through Hormouz.
- Context window:
- 8,191 tokens
- Input:
- $30/1M tokens
- Output:
- $60/1M tokens
- Type:
- text
- Tools
- Streaming
GPT-4 is a large-scale model for difficult reasoning and general knowledge tasks. The original GPT-4 raised accuracy on hard problems over the GPT-3.5 line thanks to broader knowledge and stronger reasoning. It supports a context window of up to 8K tokens, with training data through Sep 2021.
GPT-4 is served through Hormouz behind an OpenAI-compatible API. It supports tool calling. Point your base URL at Hormouz and drop in a Hormouz key, and existing OpenAI SDK code runs unchanged.
Pricing is usage-based: $30 per million input tokens and $60 per million output tokens. Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.
OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
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-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | OpenAI |
|---|---|
| Type | Text |
| Context window | 8,191 tokens |
| Pricing | $30.00/M in · $60.00/M out |
| API | Chat Completions |
| Capabilities | Streaming · Tools |
Benchmarks
Reasoning
Agentic
Source: Artificial Analysis
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'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-4",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)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-4",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the OpenAI: GPT-4 API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches OpenAI: GPT-4 and 600+ 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.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- How much does GPT-4 cost?
- Billing is usage-based: $30 per million input tokens and $60 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-4 from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to GPT-4 from inside Iran, with no foreign credit card or circumvention tooling required.
- Is GPT-4 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-4 have?
- GPT-4 supports a context window of up to 8K tokens. It also supports tool calling. That makes it a good fit for long documents, codebases and multi-turn conversations.
- What is GPT-4 good for?
- GPT-4 works well for chat assistants, content generation, summarization, drafting and general text tasks.
- What is GPT-4's knowledge cutoff?
- GPT-4's training data runs through Sep 2021. For information newer than that, provide the relevant context in your prompt or connect a tool that fetches live data.
Updated 2026-10-13