{"@context":"https://www.skillboss.co/docs/agent-shopping-protocol","spec_version":"0.1","id":"kimi/k2.7-code","slug":"k2-7-code-api","name":"Kimi K2.7 Code","category":"chat","vendor":"moonshot","description":"Kimi K2.7 Code by Moonshot AI — code-specialised model with 262K-token context. Supports thinking (extra_body) for extended reasoning. OpenAI-compatible: pass model=kimi/k2.7-code to /v1/chat/completions.","pricing":{"unit":"unknown"},"endpoint":"https://api.skillboss.co/v1/run","auth":{"type":"bearer","header":"Authorization"},"retry_policy":{"idempotent":true,"safe_to_retry":true,"max_attempts":3},"capabilities":["intelligence","llm","text_generation","function_calling"],"payment_protocols":{"skillboss_wallet":{"supported":true,"default":true,"min_balance_usd":0.01,"reason":"Primary path. Wallet pre-funded, per-call auth via Authorization bearer token."},"x402":{"supported":true,"preferred":false,"reason":"Supported but pricing varies with inputs; agents should prefer skillboss_wallet or mpp.","header":"X-Payment-Protocol: x402","quote_response_code":402,"example_curl":"curl -X POST https://api.skillboss.co/v1/run \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Payment-Protocol: x402\" \\\n  -d '{\"model\": \"kimi/k2.7-code\", \"inputs\": {}}'\n\n# Server returns 402 + quote, agent pays, then retries."},"mpp":{"supported":true,"preferred":true,"reason":"Token-based / usage-based pricing — MPP post-pay fits best.","header":"X-Payment-Protocol: mpp","example_curl":"curl -X POST https://api.skillboss.co/v1/run \\\n  -H \"Authorization: Bearer $SKILLBOSS_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Payment-Protocol: mpp\" \\\n  -d '{\"model\": \"kimi/k2.7-code\", \"inputs\": {}}'"}},"example_curl":"curl -X POST https://api.skillboss.co/v1/run \\\n  -H \"Authorization: Bearer $SKILLBOSS_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\": \"kimi/k2.7-code\", \"inputs\": {}}'","input_schema":{"type":"object","description":"Vendor-specific inputs for this product. See the human-readable docs at human_url for the exact parameter shape."},"output_schema":{"type":"object","description":"Vendor-specific response. Agents should inspect the full response body and handle vendor-specific fields."},"mcp_tool_name":"chat","human_url":"https://www.skillboss.co/use/k2-7-code-api","product_json_url":"https://www.skillboss.co/use/k2-7-code-api/product.json","funding_url":"https://www.skillboss.co/console","generated_at":"2026-07-22T14:13:15.244Z"}