OpenAI: GPT-4.1 — AI model

OpenAI: GPT-4.1 is a AI model from OpenAI, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and...

Specs

VendorOpenAI
Typetext, image
Context window1,047,576 tokens
Pricing$2.00/M in · $8.00/M out
APIchat_completions
CapabilitiesVision · Tools

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.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Use via Hormouz

Connect to this model and 450+ others with one API key — stable under heavy load and optimized for Iran.

Get started

Related models