
Trying Out Moonshot AI's Kimi K3.1 Pro, Now Available on Amazon Bedrock
This page has been translated by machine translation. View original
Introduction
On November 6, 2026, Moonshot AI's Kimi K3.1 Pro (Highspeed) became available on Amazon Bedrock.
The announcement describes it as a model with a high number of output tokens per second (OTPS), aimed at agentic use cases such as coding and document processing.
In this article, I called Kimi K3.1 Pro (Highspeed) on Bedrock (hereafter K3.1) from four APIs and also tried explicit prompt caching. I also summarized what has changed from Kimi K3 (hereafter K3).
Test environment
- Calling regions: Tokyo (ap-northeast-1), N. Virginia (us-east-1)
- AWS CLI: 2.42.4
- curl: 8.18.0
- Authentication: temporary credentials of an IAM role (SigV4 signing)
- Reasoning effort: low (how Converse handles it is described later)
- Output limit: 512 to 800 tokens
Model and profiles
Model information
The title of the model card is Kimi K3.1 Pro - Highspeed, and the model ID is moonshotai.kimi-k3.1.
I retrieved the model list for N. Virginia (us-east-1) with list-foundation-models.
aws bedrock list-foundation-models --by-provider "Moonshot AI" --region us-east-1 \
--query "modelSummaries[?contains(modelId,'kimi-k3')]" --output json
The result includes both Kimi K3 and K3.1, so only the K3.1 element is shown.
{
"modelArn": "arn:aws:bedrock:us-east-1::foundation-model/moonshotai.kimi-k3.1",
"modelId": "moonshotai.kimi-k3.1",
"modelName": "Kimi K3.1",
"providerName": "Moonshot AI",
"inputModalities": [
"TEXT",
"IMAGE"
],
"outputModalities": [
"TEXT"
],
"responseStreamingSupported": true,
"customizationsSupported": [],
"inferenceTypesSupported": [
"INFERENCE_PROFILE"
],
"modelLifecycle": {
"status": "ACTIVE",
"startOfLifeTime": "2026-11-06T23:59:59+00:00"
}
}
Inference profiles
When I ran list-inference-profiles in N. Virginia, both K3.1 and K3 had two types of profiles: global and us.
aws bedrock list-inference-profiles --region us-east-1 \
--query "inferenceProfileSummaries[?contains(inferenceProfileId,'kimi-k3')].[inferenceProfileId,description]" --output json
[
[
"global.moonshotai.kimi-k3",
"Routes requests to Moonshot AI Kimi K3 globally across all supported AWS Regions."
],
[
"us.moonshotai.kimi-k3",
"Routes requests to Moonshot AI Kimi K3 in us-east-1, us-east-2 and us-west-2."
],
[
"global.moonshotai.kimi-k3.1",
"Routes requests to Kimi K3.1 globally across all supported AWS Regions."
],
[
"us.moonshotai.kimi-k3.1",
"Routes requests to Kimi K3.1 in us-east-1, us-east-2, us-west-2."
]
]
When I ran the same command with --region ap-northeast-1, only the global profiles were returned for both K3.1 and K3. When calling from Tokyo, specify global.moonshotai.kimi-k3.1.
Available regions
I confirmed the global profile in every region where I ran list-inference-profiles. The profiles other than global were us and in, and they were available in the following regions.
| Profile | Regions |
|---|---|
| us | us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1 |
| in | ap-south-1 |
Invocation
I called the model from the Tokyo region by specifying global.moonshotai.kimi-k3.1 with the reasoning effort set to low.
Chat Completions and Responses
I sent requests to the OpenAI-compatible endpoint of bedrock-runtime with curl's SigV4 signing (--aws-sigv4). Save the following script as openai-sigv4.sh and make it executable.
#!/usr/bin/env bash
# POST to the OpenAI-compatible endpoint of bedrock-runtime with a SigV4 signature
# Usage: put AWS_ACCESS_KEY_ID etc. in environment variables, then run ./openai-sigv4.sh <region> <chat/completions|responses> <body.json>
set -euo pipefail
region=$1; path=$2; body=$3
curl --silent --show-error --max-time 100 \
--aws-sigv4 "aws:amz:${region}:bedrock" \
--user "${AWS_ACCESS_KEY_ID}:${AWS_SECRET_ACCESS_KEY}" \
-H "x-amz-security-token: ${AWS_SESSION_TOKEN}" \
-H 'Content-Type: application/json' \
--data-binary "@${body}" \
--write-out '\nHTTP %{http_code}\n' \
"https://bedrock-runtime.${region}.amazonaws.com/openai/v1/${path}"
Save the request body for Chat Completions as chat-completions-body.json.
{"model":"global.moonshotai.kimi-k3.1","messages":[{"role":"user","content":"Write a Python function that returns the n-th Fibonacci number. Code only."}],"reasoning_effort":"low","max_completion_tokens":800}
I set the temporary credentials as environment variables and then ran the script.
eval "$(aws configure export-credentials --profile <profile> --format env)"
./openai-sigv4.sh ap-northeast-1 chat/completions chat-completions-body.json
A response was returned with HTTP 200. The following is the formatted response with some fields extracted.
{
"choices": [
{
"finish_reason": "stop",
"message": {
"content": "def fibonacci(n: int) -> int:\n if n < 0:\n raise ValueError(\"n must be non-negative\")\n a, b = 0, 1\n for _ in range(n):\n a, b = b, a + b\n return a"
}
}
],
"model": "global.moonshotai.kimi-k3.1",
"usage": {
"completion_tokens": 140,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 65,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 102,
"prompt_tokens_details": {
"audio_tokens": 0,
"cache_write_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 242
}
}
Save the request body for Responses as responses-body.json.
{"model":"global.moonshotai.kimi-k3.1","input":"Say ok","store":false,"reasoning":{"effort":"low"},"max_output_tokens":512}
./openai-sigv4.sh ap-northeast-1 responses responses-body.json
This also returned a response with HTTP 200. The formatted response is shown with only some fields.
{
"status": "completed",
"output": [
{
"type": "reasoning"
},
{
"type": "message",
"content": [
{
"text": "ok",
"type": "output_text"
}
]
}
],
"reasoning": {
"effort": "low"
},
"usage": {
"input_tokens": 88,
"input_tokens_details": {
"cache_write_tokens": 0,
"cached_tokens": 0
},
"output_tokens": 44,
"output_tokens_details": {
"reasoning_tokens": 28
},
"total_tokens": 132
}
}
Converse and InvokeModel
I called Converse with the AWS CLI.
aws bedrock-runtime converse --region ap-northeast-1 --model-id global.moonshotai.kimi-k3.1 \
--messages '[{"role":"user","content":[{"text":"Say ok"}]}]' \
--inference-config '{"maxTokens":512}' \
--additional-model-request-fields '{"reasoning_effort":"low"}' --output json
{
"output": {
"message": {
"role": "assistant",
"content": [
{
"reasoningContent": {
"reasoningText": {
"text": "I'll respond to user \"Say ok\". Simple obey. I'll respond just \"ok\" likely. Make sure no extra."
}
}
},
{
"text": "ok"
}
]
}
},
"stopReason": "end_turn",
"usage": {
"inputTokens": 88,
"outputTokens": 40,
"totalTokens": 128,
"cacheReadInputTokens": 0,
"cacheWriteInputTokens": 0
},
"metrics": {
"latencyMs": 1332
}
}
When I called Converse from N. Virginia by specifying us.moonshotai.kimi-k3.1, stopReason was also end_turn and text was ok.
According to the model card, Converse accepts reasoning_effort in additionalModelRequestFields but does not validate the value. If you want to set the reasoning effort, you are advised to use an API other than Converse.
The request body for InvokeModel uses the same messages format as Chat Completions. The model is passed with --model-id, and the output limit is specified with max_tokens. Save the following content as invoke-body.json.
{"messages":[{"role":"user","content":"Say ok"}],"max_tokens":512,"reasoning_effort":"low"}
aws bedrock-runtime invoke-model --region ap-northeast-1 --model-id global.moonshotai.kimi-k3.1 \
--content-type application/json --body fileb://invoke-body.json invoke-out.json --output json \
&& cat invoke-out.json
The response saved in invoke-out.json was in the Chat Completions format. Only the same fields as in the earlier Chat Completions response are shown.
{
"choices": [
{
"finish_reason": "stop",
"message": {
"content": "ok"
}
}
],
"model": "global.moonshotai.kimi-k3.1",
"usage": {
"completion_tokens": 34,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 18,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 88,
"prompt_tokens_details": {
"audio_tokens": 0,
"cache_write_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 122
}
}
Explicit prompt caching
Using the Responses API, I sent two requests, keeping the fixed prompt as is and changing only the question. I checked whether the cache was written on the first request and read on the second.
Request
Save the following script as make-cache-bodies.py. In the script, prompt_cache_options is specified at the top level of the request body, and prompt_cache_breakpoint is attached to the input_text of the fixed prompt. The fixed prompt consists of 20 rule sentences and is longer than the minimum number of tokens per checkpoint (256) stated in the model card.
"""明示的プロンプトキャッシュ検証用の Responses ボディを作る(標準ライブラリのみ)
使い方: python3 make-cache-bodies.py <ルール数> <出力ファイル接頭辞>
"""
import json, sys
n_rules, prefix = int(sys.argv[1]), sys.argv[2]
system_prompt = "You are a support agent for the fictional service 'Kumo Notes'.\n" + "\n".join(
f"Rule {i}: When a customer asks about topic {i}, answer politely in one sentence and cite rule {i}."
for i in range(1, n_rules + 1)
)
def body(question):
return {
"model": "global.moonshotai.kimi-k3.1",
"store": False,
"reasoning": {"effort": "low"},
"max_output_tokens": 512,
"prompt_cache_options": {"mode": "explicit"},
"input": [
{"type": "message", "role": "system", "content": [
{"type": "input_text", "text": system_prompt,
"prompt_cache_breakpoint": {"mode": "explicit"}}]},
{"type": "message", "role": "user", "content": [
{"type": "input_text", "text": question}]},
],
}
for tag, q in (("a", "Tell me about topic 7."), ("b", "Tell me about topic 12.")):
with open(f"{prefix}-{tag}.json", "w") as f:
json.dump(body(q), f)
print(f"wrote {prefix}-a.json / {prefix}-b.json ({n_rules} rules, {len(system_prompt)} chars)")
python3 make-cache-bodies.py 20 cache-body-20rules
./openai-sigv4.sh ap-northeast-1 responses cache-body-20rules-a.json
./openai-sigv4.sh ap-northeast-1 responses cache-body-20rules-b.json
Results
Both returned HTTP 200, and the usage in the responses was as follows.
| Request | Question | input_tokens | cache_write_tokens | cached_tokens |
|---|---|---|---|---|
| 1st | Tell me about topic 7. | 598 | 573 | 0 |
| 2nd | Tell me about topic 12. | 598 | 0 | 573 |
Although the question differed in the second request, the 573 tokens of the fixed prompt were read from the cache. The response included {"mode":"explicit","ttl":"30m"} as prompt_cache_options.
Differences from Kimi K3
Comparing the model cards of K3 and K3.1, the following items have different values. The prices are for the global profile, per million tokens.
| Item | Kimi K3 | Kimi K3.1 |
|---|---|---|
| Model ID | moonshotai.kimi-k3 | moonshotai.kimi-k3.1 |
| Model launch date (model card) | September 18, 2026 | November 4, 2026 |
| Input | $3.00 | $4.00 |
| Output | $15.00 | $20.00 |
| Cache read | $0.30 | $0.20 |
| Cache write (30 minutes) | $3.75 | $5.00 |
The prices for the us and in profiles are 1.1 times the global price for both K3 and K3.1.
Summary
Kimi K3.1 was available from the Tokyo region via the global inference profile.
According to the provider, Moonshot AI, Kimi K3.1 has improved performance over the previous model through post-training and other means.
Please try it out as one of the high-performance models available on Amazon Bedrock.
