通用对话与代码模型,1M 上下文。
| Item | Price | Notes |
|---|---|---|
| Input (uncached) | $0.29 / 1M tokens | Billed by input tokens |
| Cache write | — | Shown for models with context caching |
| Cache read | $0.01 / 1M tokens | Billed at this rate on cache hits |
| Output | $1.14 / 1M tokens | Billed by generated tokens |
from openai import OpenAI
client = OpenAI(
api_key="sk-runai-xxxxxxxx",
base_url="https://ai.runmailx.com/v1",
)
resp = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hello, introduce yourself"}],
)
print(resp.model) # deepseek/deepseek-v4.1-flash