Kimi K3.1 Pro on DeepInfra

Kimi · Moonshot AI

Serverless
Open Weights

Last refreshed 2026-11-05. Next refresh: weekly.

Why use Kimi K3.1 Pro on DeepInfra?

DeepInfra offers Kimi K3.1 Pro. DeepInfra is a cloud inference platform offering cost-effective access to open-source AI models.

Compare Kimi K3.1 Pro across 6 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export DEEPINFRA_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
Model ID
moonshotai/Kimi-K3.1-Pro

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["DEEPINFRA_API_KEY"],
    base_url="https://api.deepinfra.com/v1/openai"
)
response = client.chat.completions.create(
    model="moonshotai/Kimi-K3.1-Pro",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "moonshotai/Kimi-K3.1-Pro", not the LLMReference slug "kimi-k3-1-pro".
  • DeepInfra uses "organization/model-name" format, e.g. "meta-llama/Meta-Llama-3-8B-Instruct" or "mistralai/Mistral-7B-Instruct-v0.3". See the DeepInfra model catalog for exact IDs.
  • The examples expect DEEPINFRA_API_KEY; rename it only if your application config maps the new variable.

Compare Kimi K3.1 Pro Across Providers

ProviderInput (per 1M)Output (per 1M)
Moonshot AI Kimi$2.00$10.00
Vercel AI Gateway$2.00$10.00
OpenRouter$2.00$10.00
Together AI$2.00$10.00
Fireworks AI$2.00$10.00
View all 6 providers →

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt Caching

About Kimi K3.1 Pro

Kimi K3.1 Pro is the first model in Moonshot AI's K3.1 series, a post-trained version of Kimi K3. It has a 1,048,576-token context window, always-on reasoning with low, high and max effort, image and video input, tool calling and strict JSON Schema structured output. Released 2026-10-23 on Kimi.ai, Kimi Work, Kimi Code and the Kimi API; Moonshot published the weights on Hugging Face under the Kimi K3.1 Pro License.

Get Started

Model Specs

Released2026-10-23
Parameters2800B total; 104B active
Context1M
ArchitectureMixture of Experts