Kimi K3.1 Pro
moonshotai/kimi-k3.1-proCall this model
Put your key in the LYKIA_API_KEY environment variable and send the request.
curl https://api.getlykia.com/v1/chat/completions \
-H "Authorization: Bearer $LYKIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshotai/kimi-k3.1-pro",
"messages": [
{ "role": "user", "content": "Summarize this ticket in one sentence." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.getlykia.com/v1",
api_key=os.environ["LYKIA_API_KEY"],
)
completion = client.chat.completions.create(
model="moonshotai/kimi-k3.1-pro",
messages=[{"role": "user", "content": "Summarize this ticket in one sentence."}],
)
print(completion.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.getlykia.com/v1",
apiKey: process.env.LYKIA_API_KEY,
});
const completion = await client.chat.completions.create({
model: "moonshotai/kimi-k3.1-pro",
messages: [{ role: "user", content: "Summarize this ticket in one sentence." }],
});
console.log(completion.choices[0].message.content);Supported parameters
- frequency_penalty
- include_reasoning
- logit_bias
- logprobs
- max_tokens
- min_p
- presence_penalty
- reasoning
- reasoning_effort
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
An unsupported parameter doesn't get a request rejected. With your own provider key, OpenAI-compatible providers receive the body as-is; with Lykia's keys, only a fixed list of fields is passed on, and adapters drop fields that have no equivalent.
Pricing
| Unit | Price |
|---|---|
| Input, per 1M tokens | $0.2403 |
| Output, per 1M tokens | $8.4023 |
| Cache read, per 1M tokens | $0.20 |
These are list prices: the lowest offer among the providers serving this model. A request is charged at the price of the provider that served it, and Lykia adds nothing to requests paid with credits. The platform fee is charged when you buy credits.
See pricingContext and limits
- Context window
- 1,048,576 tokens
- Maximum output
- 943,718 tokens
- Input modalities
- Text, Image, Video
- Output modalities
- Text
- Released or added
- Nov 23, 2026
Connection
Lykia connects to this model directly through Moonshot AI. Requests are sent with the key for that provider that you add to your project.
This model's provider isn't sold on Lykia credits. Add the provider's API key to your project and you can call the model through Lykia; the provider bills you for the usage. The price shown is the provider's list price.