OpenAI

GPT-4.1

gpt-4.1Available

GPT-4.1. Text generation model.

Context
1.05M tokens
vs. official price
15% cheaper

Pricing (USD per 1M tokens)

How prices are calculated
Prices (USD per 1M tokens)
ItemOfficialBasicPremium
Input$2.00≈ ¥317$1.70≈ ¥272$1.50≈ ¥240
Output$8.00≈ ¥1,269$6.80≈ ¥1,088$6.00≈ ¥960
Cache read$0.50≈ ¥79.3$0.425≈ ¥68.0$0.375≈ ¥60.0

Cost per task vs. models at a similar price

Compare them

How to call

POST/v1/chat/completions

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://token.echohub.io/v1",
    api_key=os.environ["ECHO_API_KEY"],
)

res = client.chat.completions.create(
    model="gpt-4.1",
    messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)
its developer docs