moonshotai/kimi-k2Kimi K2 Instruct is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It is optimized for...
Billing follows the provider's own reported cost rather than the catalogue price — cached input is cheaper, and reasoning tokens bill as output. Your usage page is the record of what you actually paid.
One free message per account, no deposit needed. The reply is length-capped — it's a taste, not a quota.
Connect a wallet and sign in to use your free try.
Connect a walletEvery model goes through the same endpoint — just use this page's ID as model.
curl https://macdecloud.com/v1/chat/completions \
-H "Authorization: Bearer dcld-sk-..." \
-H "Content-Type: application/json" \
-d '{"model":"moonshotai/kimi-k2","messages":[{"role":"user","content":"Hello"}]}'Add "stream": true for token-by-token output over standard SSE.
curl -N https://macdecloud.com/v1/chat/completions \
-H "Authorization: Bearer dcld-sk-..." \
-H "Content-Type: application/json" \
-d '{"model":"moonshotai/kimi-k2","stream":true,"messages":[{"role":"user","content":"hi"}]}'This model supports tools. Replies may carry tool_calls; run them and append the results as role: "tool" messages, then call again.
{
"model": "moonshotai/kimi-k2",
"messages": [{ "role": "user", "content": "What's the weather in Paris?" }],
"tools": [{
"type": "function",
"function": {
"name": "get_weather",
"parameters": {
"type": "object",
"properties": { "city": { "type": "string" } },
"required": ["city"]
}
}
}]
}