GPT-OSS API
NightMart provides an OpenAI-compatible API at https://api.nightmart.cc/v1 that routes to GPT-OSS models with automatic provider failover — use the existing OpenAI SDK for any language, just change the base URL and model name.
New accounts currently get $2.00 in free credit to try it — see details.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| gpt-oss-120b | $0.21 | $0.79 |
python
import openai
client = openai.Client(
base_url="https://api.nightmart.cc/v1",
api_key="nm_live_..."
)
response = client.chat.completions.create(
model="gpt-oss-120b",
messages=[{"role": "user", "content": "Hello!"}]
)See pricing and the quickstart.