kimi
Call the Kimi API (kimi-k3, kimi-k2.7-code, kimi-k2.6, kimi-k2.5) through RunAPI using OpenAI-compatible Chat Completions. Use for Kimi text chat, streaming, or an existing compatibility client that needs the conditional reference.
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
0.2.3
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 0.2.3release · observed Aug 12, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-kimi- Install using `clawhub skill install s1771k6pjxksnjws51x2htfjvd876syh:runapi-kimi` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/runapi-ai/runapi-kimi before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-kimi/snapshot"
Documentation
CLAWHUB
43,940 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: kimi
description: Call the Kimi API (kimi-k3, kimi-k2.7-code, kimi-k2.6, kimi-k2.5) through RunAPI using OpenAI-compatible Chat Completions. Use for Kimi text chat, streaming, or an existing compatibility client that needs the conditional reference.
documentation: https://runapi.ai/models/kimi.md
provider_page: https://runapi.ai/providers/moonshot-ai.md
catalog: https://runapi.ai/models.md
metadata:
openclaw:
homepage: https://runapi.ai/models/kimi
primaryEnv: OPENAI_API_KEY
requires:
env: [OPENAI_API_KEY, OPENAI_BASE_URL]
envVars:
- {name: OPENAI_API_KEY, required: true, description: RunAPI API key used by OpenAI-compatible Kimi clients.}
- {name: OPENAI_BASE_URL, required: true, description: Set to https://runapi.ai/v1 for Kimi on RunAPI.}
---
# Kimi on RunAPI
Use OpenAI-compatible Chat Completions at `https://runapi.ai/v1` as the primary protocol.
## Primary protocol recipe
### Authenticate
Set `OPENAI_API_KEY` to a RunAPI API key and `OPENAI_BASE_URL` to `https://runapi.ai/v1`.
### Send request
```python
from openai import OpenAI
client = OpenAI(api_key="YOUR_RUNAPI_TOKEN", base_url="https://runapi.ai/v1")
response = client.chat.completions.create(
model="kimi-k3",
messages=[{"role": "user", "content": "Explain this finding."}],
)
print(response.choices[0].message.content)
print(response.usage)
```
For long output, set `stream=True` and
`stream_options={"include_usage": True}`; consume through `[DONE]`.
### Verify result
Require final assistant content, `finish_reason`, and authoritative `usage`.
Use the returned final answer rather than raw reasoning content.
### Stop boundaries
Correct a rejected shape once using the structured error. Retry transport once
only before any response or Usage and when replay is safe. Record a terminal
error and stop without changing model or protocol. For `kimi-k3` and
`kimi-k2.7-code`, start with text history and final answers; add tools,
multimodal input, reasoning controls, cache controls, or continuation only when
the current RunAPI contract explicitly verifies the exact shape.
## Compatibility protocols
Load [compatibility protocols](references/compatibility-protocols.md) only when an existing client requires Anthropic Messages or Gemini contents.
## Supported models
| Model ID | Use when |
|---|---|
| `kimi-k3` | Current flagship basic text requests |
| `kimi-k2.7-code` | Dedicated coding requests |
| `kimi-k2.6` | Recent Kimi K2 chat workloads |
| `kimi-k2.5` | Kimi K2.5 compatibility |
## References
- <https://runapi.ai/models/kimi.md>
- <https://runapi.ai/providers/moonshot-ai.md>
- <https://runapi.ai/models.md>_meta.json
{
"ownerId": "kn70me4rk7jqjt92evshjeb5z18768g7",
"slug": "runapi-kimi",
"version": "0.2.3",
"publishedAt": 1786520159354
}references/compatibility-protocols.md
# Kimi compatibility protocols Load this reference only for an existing Anthropic Messages or Gemini contents client. For Messages, use base URL `https://runapi.ai`, a RunAPI key, a supported exact model ID, `max_tokens`, and text messages. Verify final content, `stop_reason`, and `usage`; streaming ends at `message_stop`. For Gemini contents, set `RUNAPI_MODEL` to a supported exact model ID and use `https://runapi.ai/v1beta/models/$RUNAPI_MODEL:generateContent` or `streamGenerateContent` with `x-goog-api-key`. Verify candidates, `finishReason`, and `usageMetadata`. Apply one evidence-backed shape correction, at most one safe pre-response transport retry, and no automatic model or protocol hopping.
skill-card.md
## Description: Call the Kimi API (kimi-k3, kimi-k2.7-code, kimi-k2.6, kimi-k2.5) through RunAPI using OpenAI-compatible Chat Completions. This skill is ready for commercial/non-commercial use. ## Publisher: [runapi-ai](https://clawhub.ai/user/runapi-ai) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agents use this skill to configure Kimi access through RunAPI for text chat, streaming responses, coding workloads, and compatibility clients that require Anthropic Messages or Gemini contents shapes. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Requests may be sent with the wrong credential or endpoint, causing authentication failures or unintended provider routing. Mitigation: Use a scoped RunAPI key and confirm OPENAI_BASE_URL is set to https://runapi.ai/v1 for OpenAI-compatible Kimi clients. Risk: Unsupported request shapes, automatic model changes, or protocol hopping can produce unreliable behavior. Mitigation: Follow the documented stop boundaries: correct one rejected shape, retry transport once only when safe, and stop without changing model or protocol automatically. ## Reference(s): - [Kimi model documentation](https://runapi.ai/models/kimi.md) - [Moonshot AI provider page](https://runapi.ai/providers/moonshot-ai.md) - [RunAPI model catalog](https://runapi.ai/models.md) - [Kimi on RunAPI homepage](https://runapi.ai/models/kimi) - [Kimi compatibility protocols](references/compatibility-protocols.md) ## Skill Output: **Output Type(s):** [Guidance, Code, Shell commands, Configuration] **Output Format:** [Markdown with inline Python and endpoint configuration examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Includes OpenAI-compatible Chat Completions guidance plus conditional Anthropic Messages and Gemini compatibility notes.] ## Skill Version(s): 0.2.3 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/runapi-ai/skills/runapi-kimi",
"sourceUrl": "https://clawhub.ai/runapi-ai/skills/runapi-kimi",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T11:19:54.597Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-kimi/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-kimi/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T11:19:54.597Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T11:19:54.597Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.2.3",
"href": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-12T07:35:59.354Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-kimi/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-runapi-ai-runapi-kimi/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.2.3",
"description": "## Changed - Document Kimi authentication, request, result verification, and stop boundaries in the primary recipe, with compatibility protocols loaded only when required.",
"href": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceUrl": "https://clawhub.ai/runapi-ai/runapi-kimi",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-12T07:35:59.354Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
