DeepSeek API

NightMart provides an OpenAI-compatible API at https://api.nightmart.cc/v1 that routes to DeepSeek 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.

ModelInput / 1MOutput / 1M
deepseek-v3.1$0.21$0.79
deepseek-v3.2$0.25$0.38
python
import openai

client = openai.Client(
  base_url="https://api.nightmart.cc/v1",
  api_key="nm_live_..."
)

response = client.chat.completions.create(
  model="deepseek-v3.1",
  messages=[{"role": "user", "content": "Hello!"}]
)