Zgodne z OpenAI — zostań przy swoim SDK
https://api.orcarouter.ai/v1import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="openai/gpt-5.4-nano-2026-03-17",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatseedstreamstructured_outputstool_choicetools| Wejście / 1M tokenów | $0.200 |
|---|---|
| Wyjście / 1M tokenów | $1.25 |
| Odczyt cache / 1M | $0.020 |
| Waluta | USD |
Szacunek na podstawie cennika
Tylko szacunek — rzeczywista liczba tokenów zależy od tokenizatora dostawcy.
O czym mówią programiści w tym tygodniu
GET /api/public/models/openai/gpt-5.4-nano-2026-03-17Otwórz @misc{orcarouter_gpt_5_4_nano_2026_03_17,
title = {openai/gpt-5.4-nano-2026-03-17 API},
author = {openai},
year = {n.d.},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/openai/gpt-5.4-nano-2026-03-17}
}openai. (n.d.). openai/gpt-5.4-nano-2026-03-17 API. OrcaRouter. https://www.orcarouter.ai/models/openai/gpt-5.4-nano-2026-03-17