# Kimi K3.1 Pro MCP and API - Chat model by Moonshot AI | FlyMy.AI

> Moonshot Kimi K3.1 Pro is a flagship thinking model for agents, coding and long documents: it calls your tools, reads images, holds a 1M-token context.

Page: https://flymy.ai/mcp/models/kimi-k3-1-pro/

MCP / Models / Language models

# Kimi K3.1 Pro MCP: agentic coding and tools with no API key

Moonshot Kimi K3.1 Pro is a flagship thinking model for agents, coding and long documents: it calls your tools, reads images, holds a 1M-token context. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Kimi K3.1 Pro](https://flymy.ai/mcp/models/kimi-k3-1-pro/#start) [Inputs and price](https://flymy.ai/mcp/models/kimi-k3-1-pro/#inputs)

No API key, $2.00 / $10.00 per 1M tokens, Chat model, Moonshot AI, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Kimi K3.1 Pro in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/kimi-k3-1-pro.md. Help me connect the FlyMy.AI MCP to this assistant, then run Kimi K3.1 Pro (flymyai/kimi-k3_1-pro) for this task: Ask Kimi K3.1 Pro: write unit tests for this Python module.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/kimi-k3-1-pro.md)

## What Kimi K3.1 Pro does

Send a prompt or messages (images as image_url parts). It thinks before it answers: reasoning_effort is none, low, medium (the default) or high. Through the OpenAI-compatible endpoint it calls your function tools; force a call with tool_choice 'required'. service_tier priority buys Moonshot's faster serving and private_mode keeps the exchange out of FlyMy.AI storage.

## Kimi K3.1 Pro inputs

Every input of `flymyai/kimi-k3_1-pro` as its live schema lists them. Returns `output` (string), `finish_reason` (string), `service_tier` (string), `reasoning` (string), `stream_details` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-prompt) `prompt` | string required What to ask Kimi |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-messages) `messages` | string optional Chat history as a JSON array of {role, content}; used instead of the prompt |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-system_prompt) `system_prompt` | string optional Instructions for the whole chat |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-reasoning_effort) `reasoning_effort` | string optional Allowed: none, low, medium, high Default: `medium` How hard it thinks before answering; none answers at once |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-service_tier) `service_tier` | string optional Allowed: default, priority Default: `default` priority: Moonshot's faster Highspeed serving, at the priority price |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-max_tokens) `max_tokens` | integer optional Allowed: 1 to 943718 Most tokens to generate, reasoning included |
| [#](https://flymy.ai/mcp/models/kimi-k3-1-pro/#input-private_mode) `private_mode` | boolean optional Default: `false` Keep the prompt and the answer out of FlyMyAI storage and logs (synchronous requests only) |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Ask Kimi K3.1 Pro: write unit tests for this Python module.”** runs `flymyai/kimi-k3_1-pro`

**“Compare these two product specs in a table with Kimi K3.1 Pro.”** runs `flymyai/kimi-k3_1-pro`

**“With Kimi K3.1 Pro, rewrite this landing page paragraph to be shorter and clearer.”** runs `flymyai/kimi-k3_1-pro`

## Kimi K3.1 Pro price

$2.00 per 1M input tokens, $10.00 per 1M output tokens, cached input $0.20 per 1M. Cached input is $0.20 per 1M tokens. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## Call Kimi K3.1 Pro from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/kimi-k3_1-pro",
  "input": {
    "prompt": "Explain in two sentences what an MCP server is."
  }
}
```

### From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. Text models answer on the streaming route.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/kimi-k3_1-pro/predict/stream/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=Explain in two sentences what an MCP server is.'
```

### With the OpenAI SDK

Kimi K3.1 Pro also answers the OpenAI Chat Completions protocol.

```
from openai import OpenAI

client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/kimi-k3_1-pro/openai/v1", api_key="YOUR_FLYMYAI_KEY")
reply = client.chat.completions.create(
    model="flymyai/kimi-k3_1-pro",
    messages=[{"role": "user", "content": "Explain in two sentences what an MCP server is."}],
)
print(reply.choices[0].message.content)
```

## Questions about Kimi K3.1 Pro

**Do I need a Moonshot AI API key for Kimi K3.1 Pro?**

No. Kimi K3.1 Pro runs on FlyMy.AI's account, so you need no Moonshot AI key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Kimi K3.1 Pro cost?**

$2.00 per 1M input tokens, $10.00 per 1M output tokens, cached input $0.20 per 1M. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Kimi K3.1 Pro in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Ask Kimi K3.1 Pro: write unit tests for this Python module." Your agent reads the inputs with get_model_schema and runs flymyai/kimi-k3_1-pro with run_model.

**What does Kimi K3.1 Pro need as input?**

Kimi K3.1 Pro requires prompt; it also takes 6 optional inputs, each listed on this page with its allowed values and default.

**Can I call Kimi K3.1 Pro from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/kimi-k3_1-pro/predict/stream/ with your FlyMy.AI API key in the X-API-KEY header; it also answers the OpenAI Chat Completions protocol at https://api.flymy.ai/api/v1/flymyai/kimi-k3_1-pro/openai/v1.

## More language models models

Chat and reasoning models for code, documents and agents, plus typed decisions for routing and triage.

### DeepSeek V4.1 Flash

DeepSeek's quick reasoning model with tool calls, images and a priority tier.

Chat model / $0.30 / $1.20 per 1M tokens

Link: https://flymy.ai/mcp/models/deepseek-v4-1-flash/

### Grok 4.7

xAI's reasoning model with a 500K-token window for codebases and long contracts.

Chat model / $2.00 / $6.00 per 1M tokens

Link: https://flymy.ai/mcp/models/grok-4-7/

### TypeSafe Jev 1.13

FlyMy.AI's decision model: route, label and gate with probabilities, not prose.

Typed decisions / $0.042 per 1M tokens

Link: https://flymy.ai/mcp/models/typesafe-jev-1-13/

### Gemini 3 Flash

The Gemini 3 generation at Flash speed, with thinking you can turn down.

Chat model / $0.50 / $3.00 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-3-flash-preview/

### Gemini 3.1 Flash Lite

The cheapest Gemini text model for extraction, labels and short drafts at scale.

Chat model / $0.25 / $1.50 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-31-flash-lite-preview/

### Gemini 3.1 Pro

Gemini 3.1 Pro for the hard problems: long documents, code and careful reasoning.

Chat model / $2.00 / $12.00 per 1M tokens

Link: https://flymy.ai/mcp/models/google-gemini-31-pro-preview/

## Go to the source

[Kimi K3.1 Pro in the playground →](https://app.flymy.ai/models/flymyai/kimi-k3_1-pro), [Kimi K3.1 Pro guide in the docs →](https://docs.flymy.ai/guides/kimi-k3-1-pro), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Language models guide →](https://docs.flymy.ai/guides/use-llms), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
