Kimi K3.1 Pro HS API

Kimi K3.1 Pro served at higher output speed

moonshotai/kimi-k3.1-pro-highspeed
MoonshotConversation

About this model

Kimi K3.1 Pro HS is the high-speed variant of Kimi K3.1 Pro. Moonshot AI states that it runs 2 to 3 times faster than K3.1 Pro with identical model capabilities.

It supports tool calling and has a 200,000-token context window in this catalog. Pick it when response latency matters, and Kimi K3.1 Pro when it does not.

Use cases

  • Interactive agents and assistants
  • Coding with fast feedback
  • Tool-calling workflows

Input and output

Input
Text
Output
Text

Developer

Developer
Moonshot
Type
Conversation
Context
200,000 tokens

Kimi K3.1 Pro HS request example

Use https://gatelum.com/v1 as the base URL and pass moonshotai/kimi-k3.1-pro-highspeed in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "moonshotai/kimi-k3.1-pro-highspeed",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=moonshotai/kimi-k3.1-pro-highspeed
claude

Where to use Kimi K3.1 Pro HS

Guides with step-by-step instructions for the tools that support this model: