All models
Moonshot AI

Kimi K2.8 Preview

moonshotai/kimi-k2.8-preview

Kimi 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.

ProviderMoonshot AI
Model IDmoonshotai/kimi-k2.8-preview
ModalityText
Platform context limit1M tokens (1,048,576)
Maximum output1,024 tokens
Per-request platform cap1,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)