Seedance 2.0 | Special Offer ✦ 10% OFF NOW | Ends May 13 (UTC+0)
moonshot
moonshotai/kimi-k2-thinking

moonshotai/kimi-k2-thinking

262,144 context · $0.60/M input tokens · $2.50/M output tokens

Kimi K2 Thinking is Moonshot AI’s most advanced open reasoning model to date, extending the K2 series into agentic, long-horizon reasoning. Built on the trillion-parameter Mixture-of-Experts (MoE) architecture introduced in...

Tarification

Paiement à l'usage

Aucun coût initial, payez uniquement ce que vous utilisez

Entrée$0.60 / M Tokens
Sortie$2.50 / M Tokens

Essayer le modèle

moonshotai/kimi-k2-thinking
En ligne
moonshot
Bonjour ! Je suis un assistant IA utile. Que puis-je faire pour vous ?

Utilisation de l'API

Utilisez les exemples de code suivants pour intégrer notre API :

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k2-thinking",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Introduction au modèle

Moonshotai kimi-k2-thinking

moonshotai kimi-k2-thinking


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 262144 context window for long document handling
  • Competitive pricing at $0.4/$1.9 per million tokens

Key Features

  • Context Window: 262144 tokens
  • Max Output: 65535 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMoonshotai
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window262144 tokens
Max Output65535 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.4
Output$1.9

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: moonshotai/kimi-k2-thinking


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k2-thinking",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "moonshotai/kimi-k2-thinking",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: moonshotai/kimi-k2-thinking
  • Provider: Moonshotai

Infos

Fournisseurmoonshot
Typellm

Fonctionnalités prises en charge

Entrée
Texte
Sortie
Texte
Contexte262,144
Sortie max65,535
Vision-
Function Calling✓ Pris en charge

Guide d'accès API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID du modèlemoonshotai/kimi-k2-thinking

Kimi K2 Thinking API

moonshotai/kimi-k2-thinking

Kimi K2 Thinking is Moonshot AI’s most advanced open reasoning model to date, extending the K2 series into agentic, long-horizon reasoning. Built on the trillion-parameter Mixture-of-Experts (MoE) architecture introduced in...

Entrée

$0.6 /M

Sortie

$2.5 /M

Contexte

262K

Sortie max.

66K

Utilisation d'outils

Pris en charge

Essayez Kimi K2 Thinking sur WaveSpeedAI

Accédez à Kimi K2 Thinking via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.

Questions fréquentes sur Kimi K2 Thinking

Combien coûte l'API Kimi K2 Thinking ?+

Tarification sur WaveSpeedAI : $0.60 par million de tokens d'entrée et $2.50 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.

Quelle est la fenêtre de contexte de Kimi K2 Thinking ?+

Kimi K2 Thinking prend en charge jusqu'à 262K tokens de contexte et jusqu'à 66K tokens de sortie par requête.

Kimi K2 Thinking est-il compatible avec OpenAI ?+

Oui. WaveSpeedAI expose Kimi K2 Thinking via un endpoint compatible OpenAI à https://llm.wavespeed.ai/v1. Pointez le SDK officiel d'OpenAI vers cette base URL avec votre clé API WaveSpeedAI — aucune autre modification de code requise.

Comment démarrer avec Kimi K2 Thinking ?+

Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l'id du modèle affiché ci-dessus. Les nouveaux comptes reçoivent des crédits gratuits pour évaluer Kimi K2 Thinking.

APIs LLM associées