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"}],
)from openai import OpenAI
client = OpenAI(base_url="https://api.airoutly.com/v1")
resp = client.responses.create(
model="gpt-4.1",
input="Hello",
)Pricing
| Per 1M tokens | Airoutly | Official |
|---|---|---|
| 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.