Moonshot AI
Kimi K2.8 Preview
moonshotai/kimi-k2.8-previewKimi K2.8 Preview by Moonshot AI is available on Rynler through an OpenAI-compatible API. Use the model ID below with your existing client and a Rynler API key.
| Provider | Moonshot AI |
|---|---|
| Model ID | moonshotai/kimi-k2.8-preview |
| Modality | Text |
| Platform context limit | 1M tokens (1,048,576) |
| Maximum output | 1,024 tokens |
| Per-request platform cap | 1,048,576 tokens |
Live per-token prices load from the catalogue API and refresh hourly. See current pricing.
Start with a request.
Use this model ID with the chat completions endpoint. Requests are limited to 8,192 tokens including input allowance and maximum output.
import os
import uuid
from openai import OpenAI
client = OpenAI(
base_url="https://api.rynler.com/v1",
api_key=os.environ["RYNLER_API_KEY"]
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.8-preview",
messages=[{"role": "user", "content": "Hello, world."}],
max_tokens=1024,
extra_headers={"Idempotency-Key": str(uuid.uuid4())}
)
print(response.choices[0].message.content)Compare and estimate
- LLM cost calculator
Estimate any LLM token bill from input and output counts and a per-million rate. Formula, worked example and monthly projection.
- How to estimate LLM API costs
Measure one run, keep input and output tokens apart, then project a monthly bill.