We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

MoonshotAI: Kimi K3.1 Pro

moonshotai/kimi-k3.1-pro
TextInput: text · image · videoToolsReasoning1MAdded Oct 23, 2026

Try MoonshotAI: Kimi K3.1 Pro now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

MoonshotAI: Kimi K3.1 Pro at a glance

  • Input price is 344% higher than the median of 433 Text models.
  • Context window of 1,048,576 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.02.

About MoonshotAI: Kimi K3.1 Pro

Kimi K3.1 Pro is a text model from Moonshot AI, released by the provider on 2026-10-23. It is described as Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3. The model id on api14 is moonshotai/kimi-k3.1-pro, and it sits in the text category.

The model accepts text, image and video as inputs and produces text as output, so it can work over mixed media prompts rather than text alone. Its context window is 1,048,576 tokens, which is roughly one million tokens, and the maximum output is 943,718 tokens. That combination of a very large input window and a very large output budget is the defining practical characteristic of the model.

Those capabilities point to work that involves long inputs and long answers. Long-horizon coding tasks fit, since a large repository or a long specification can be held in context while the model produces substantial code in return. The same applies to reasoning over lengthy documents, and to tasks where images or video are part of the input and the answer is written text, such as describing or analysing visual material alongside a long written brief. Because the output limit is high, the model can be asked for extended responses rather than short summaries.

You call it through api14's OpenAI-compatible API using the model id "moonshotai/kimi-k3.1-pro". The request parameters it supports are frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, stop, structured_outputs, tool_choice and tools. The reasoning and include_reasoning parameters, together with reasoning_effort, let you control how reasoning is requested and returned, while response_format and structured_outputs are available when you need the output in a defined shape. The tools and tool_choice parameters support function calling, so the model can be used inside agent or tool-using workflows.

There are no stated restrictions in the facts beyond the model being text output only, so if you need image or video generation this model is not the fit. If your task is short and purely textual, the very large context and output limits may be more than you need, and a smaller text model could be the simpler choice. For long-context, multimodal-input, reasoning-heavy or tool-using work, this model is the appropriate option among those described here.

How to call the MoonshotAI: Kimi K3.1 Pro API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "moonshotai/kimi-k3.1-pro".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "moonshotai/kimi-k3.1-pro",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoningmax_tokenspresence_penaltyreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetools

Specifications

Context length
1,048,576
Max output
943,718
Input
text, image, video
Output
text

Requests on api14 · last 7 days

10-1910-2010-2110-2210-2310-2410-25

MoonshotAI: Kimi K3.1 Pro: frequently asked questions

How much does the MoonshotAI: Kimi K3.1 Pro API cost?
MoonshotAI: Kimi K3.1 Pro costs Input $7.00 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of MoonshotAI: Kimi K3.1 Pro?
MoonshotAI: Kimi K3.1 Pro reads up to 1,048,576 tokens per request: prompt, history and documents together. It writes up to 943,718 output tokens per response.
What can MoonshotAI: Kimi K3.1 Pro do?
MoonshotAI: Kimi K3.1 Pro accepts text, image, video and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call MoonshotAI: Kimi K3.1 Pro from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "moonshotai/kimi-k3.1-pro". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to MoonshotAI: Kimi K3.1 Pro?
Comparable Text models at a similar price: Google: Gemini 4 Argon, OpenAI: GPT-6.1 Sol Pro, OpenAI: GPT-6.1 Sol. Each runs through the same API key, so switching is one string.

MoonshotAI: Kimi K3.1 Pro community

New topic

This community has no topics yet. Open the first one about MoonshotAI: Kimi K3.1 Pro.