Install
openclaw skills install @runapi-ai/runapi-mimoCall the MiMo API (mimo-v2.5-pro and mimo-v2.5) through RunAPI using OpenAI-compatible Chat Completions or Responses clients, or Anthropic-compatible Messages clients. Use when the user asks for MiMo text generation, streaming, or wants to point an existing LLM client at RunAPI.
openclaw skills install @runapi-ai/runapi-mimoMiMo on RunAPI supports basic text requests through OpenAI-compatible Chat Completions and Responses, plus Anthropic-compatible Messages. Use the OpenAI SDK for new integrations.
OPENAI_API_KEY=YOUR_RUNAPI_TOKEN
OPENAI_BASE_URL=https://runapi.ai/v1
Get a RunAPI API Key at https://runapi.ai/api_keys.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_RUNAPI_TOKEN",
base_url="https://runapi.ai/v1",
)
response = client.chat.completions.create(
model="mimo-v2.5-pro",
messages=[{"role": "user", "content": "Summarize this design decision."}],
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_RUNAPI_TOKEN",
baseURL: "https://runapi.ai/v1",
});
const response = await client.chat.completions.create({
model: "mimo-v2.5",
messages: [{ role: "user", content: "Draft a concise release note." }],
});
response = client.responses.create(
model="mimo-v2.5-pro",
input="Explain this incident in three bullets.",
)
print(response.output_text)
stream = client.chat.completions.create(
model="mimo-v2.5",
messages=[{"role": "user", "content": "Write a short status update."}],
stream=True,
stream_options={"include_usage": True},
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
import anthropic
client = anthropic.Anthropic(
api_key="YOUR_RUNAPI_TOKEN",
base_url="https://runapi.ai",
)
message = client.messages.create(
model="mimo-v2.5-pro",
max_tokens=1024,
messages=[{"role": "user", "content": "Draft a migration checklist."}],
)
print(message.content[0].text)
| Model ID | Use when |
|---|---|
mimo-v2.5-pro | Higher-quality MiMo text generation |
mimo-v2.5 | Efficient MiMo text generation |
https://runapi.ai/v1 for new code.