1. Models & pricing
  2. OpenAI
  3. GPT-4.1

GPT-4.1 API

Call it with OpenAI Chat Completions or OpenAI Responses, using the official model name. Context window 1M.

Quick start

from openai import OpenAI

client = OpenAI(base_url="https://api.airoutly.com/v1")
resp = client.chat.completions.create(
    model="gpt-4.1",
    messages=[{"role": "user", "content": "Hello"}],
)

Pricing

Per 1M tokensAiroutlyOfficial
Input$1.44$2.00
Output$5.76$8.00
Cache read$0.36—

About this model on Airoutly

Which model ID do I send?
Send gpt-4.1, the same ID OpenAI uses.
Is prompt caching supported?
Yes. Cached input is billed at the cache-read price above.