DEV Community

NovaStack
NovaStack

Posted on

TIL: You Can Call DeepSeek, Qwen, and Kimi With the OpenAI Python SDK

No extra SDKs. No Chinese phone number. No payment in RMB.
pythonfrom openai import OpenAI

client = OpenAI(
base_url="https://api.novapai.ai/v1",
api_key="your-novastack-key"
)

Call DeepSeek-V4 Pro

r = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[{"role": "user", "content": "Reverse a linked list in Rust"}]
)
print(r.choices[0].message.content)
Works with qwen3-235b, kimi-2.6, minimax-2.7 too. Same endpoint, same format.
NovaStack (novapai.ai) acts as a gateway. New accounts get $50 free credits.
Also supports Anthropic message format if that's your thing.
That's the post. Go try it.

Top comments (0)