MoonshotAI: Kimi K2.5
moonshotai/kimi-k2.5Kimi K2.5 is Moonshot AI's native multimodal model, delivering state-of-the-art visual coding capability and a self-directed agent swarm paradigm. Built on Kimi K2 with continued pretraining over approximately 15T mixed...
- Modalities
- text+image->text
- In / out price
- $0.5 / $2.5per 1M
- Context
- 262K
- Released
- Jan 27, 2026
- Knowledge cutoff
- —
Providers
Every request enters through InfAPI. One key calls every model in the catalog. Upstream groups, ratios, and tiers are not shown.
| Endpoint | Input | Output | Context | Status |
|---|---|---|---|---|
| InfAPI | $0.5 | $2.5 | 262K | Available |
- Input
- Text, Image
- Output
- Text
- Tokenizer
- Other
- Max output
- 235,929
- Endpoint
- Chat
Pricing
Listed price for this model on this gateway. Token prices are per 1M tokens.
| Item | Price | Unit |
|---|---|---|
| Inputprompt | $0.5 | per 1M tokens |
| Outputcompletion | $2.5 | per 1M tokens |
| Cache readinput_cache_read | $0.15 | per 1M tokens |
API
API
The gateway speaks the OpenAI Chat Completions API. Point any compatible SDK at https://infapi.cc/v1 and send the model slug below.
Get your API key
Create a key on the keys page and set it as an environment variable: Keys
export INFAPI_API_KEY=sk-...Make your first request
Use moonshotai/kimi-k2.5
import requests
response = requests.post(
"https://infapi.cc/v1/chat/completions",
headers={
"Authorization": "Bearer $INFAPI_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "moonshotai/kimi-k2.5",
"messages": [
{
"role": "user",
"content": "Introduce yourself in three sentences."
}
],
"temperature": 0.7,
"max_tokens": 512
},
)
response.raise_for_status()
print(response.json()["choices"][0]["message"]["content"])Endpoint
POST https://infapi.cc/v1/chat/completions
Authorization: Bearer $INFAPI_API_KEY
Using third-party SDKs
Point the OpenAI SDK at https://infapi.cc/v1 with $INFAPI_API_KEY. The HTTP samples above are the request shape this gateway accepts.
from openai import OpenAI
client = OpenAI(
base_url="https://infapi.cc/v1",
api_key="$INFAPI_API_KEY",
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.5",
messages=[{"role": "user", "content": "Introduce yourself in three sentences."}],
temperature=0.7,
max_tokens=512,
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://infapi.cc/v1",
apiKey: "$INFAPI_API_KEY",
});
const response = await client.chat.completions.create({
"model": "moonshotai/kimi-k2.5",
"messages": [
{
"role": "user",
"content": "Introduce yourself in three sentences."
}
],
"temperature": 0.7
});
console.log(response.choices[0]?.message?.content);Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
include_reasoningInclude reasoning
Include a reasoning summary in the response.
logit_biasLogit bias
Add or subtract from token ids to encourage or ban them.
logprobsLogprobs
Return the log probability of each output token.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
min_pMin-p
Drops tokens below this probability threshold.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
reasoningReasoning
Enable or configure reasoning. The fields differ by model.
repetition_penaltyRepetition penalty
Penalizes text that already appeared. Common on open models.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_kTop-K
Sample only from the K most likely tokens.
top_logprobsTop logprobs
Also return the most likely alternatives at each position.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.
FAQ
What is this model?
Kimi K2.5 is Moonshot AI's native multimodal model, delivering state-of-the-art visual coding capability and a self-directed agent swarm paradigm. Bui…
How much does it cost?
$0.5 / $2.5
What inputs and outputs does it support?
text+image->text
When was it released?
Jan 27, 2026