256K 上下文,低延迟版本。
| Item | Price | Notes |
|---|---|---|
| Input (uncached) | $0.57 / 1M tokens | Billed by input tokens |
| Cache write | — | Shown for models with context caching |
| Cache read | $0.00 / 1M tokens | Billed at this rate on cache hits |
| Output | $2.29 / 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="moonshotai/kimi-k3.1-turbo",
messages=[{"role": "user", "content": "Hello, introduce yourself"}],
)
print(resp.model) # moonshotai/kimi-k3.1-turbo