OpenAI

GPT-4.1 API

A strong long-context model for coding, retrieval, and complex workflows.

Context

1M

Input price

from $2 / 1M tokens

Output price

from $8 / 1M tokens

codinglong context
curl https://api.onemux.net/v1/chat/completions \
+  -H "Authorization: Bearer $ONEMUX_API_KEY" \
+  -H "Content-Type: application/json" \
+  -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello OneMux"}]}'