books/tenant-panel/prices/kimi_k26.html

667 lines
No EOL
388 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en" class="inter_1d81deff-module__CYM0aG__variable papermono_89c757f2-module__6aS5zq__variable dark" data-banner-state="visible" data-assistant-state="closed" data-page-mode="none" data-current-path="/"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="preload" href="/docs/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/docs/_next/static/media/PaperMono_Variable.p.590789cb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/docs/_next/static/media/f67ad414ed34149c.p.84166d94.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/light.svg?fit=max&amp;auto=format&amp;n=X_5b_eA1iuJP595e&amp;q=85&amp;s=f68cf2d80f8d7f0363e088d2b988a598"/><link rel="preload" as="image" href="https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/dark.svg?fit=max&amp;auto=format&amp;n=X_5b_eA1iuJP595e&amp;q=85&amp;s=297861f343cd86556341fb85b17cb13d"/><link rel="stylesheet" href="/docs/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" data-precedence="next"/><link rel="stylesheet" href="/docs/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" data-precedence="next"/><style data-precedence="base-ui:low" data-href="base-ui-disable-scrollbar">.base-ui-disable-scrollbar{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar{display:none}</style><link rel="preload" as="script" fetchPriority="low" href="/docs/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ"/><script src="/docs/_next/static/chunks/44795504c795ca32.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/e33adef10859cbf9.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/f486afc314643ce1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/f38edbce90d76986.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/turbopack-5ddc0708eeffcd13.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/4e3c737526742325.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/08022854dff8e90b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/7fba55ae9dbf5b28.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><script src="/docs/_next/static/chunks/bbe9a3c9a38b4577.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" async=""></script><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-Z0ZTEN03PZ" as="script"/><link rel="preload" href="/docs/_next/static/chunks/9076490debe7687b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" as="script" fetchPriority="low"/><link rel="preload" href="/docs/_next/static/chunks/4224158070c03123.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" as="script" fetchPriority="low"/><link rel="preload" href="/docs/_next/static/chunks/190e2d29d3b2239b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" as="script" fetchPriority="low"/><link rel="preload" href="/docs/_next/static/chunks/8a5094daa124fc24.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" as="script" fetchPriority="low"/><title>Quickstart - Kimi API Platform</title><meta name="description" content="Create an API Key and complete your first Kimi API call."/><meta name="application-name" content="Kimi API Platform"/><meta name="generator" content="Mintlify"/><meta name="keywords" content="Kimi K3,Moonshot AI,K3 Large Language Model,AI API,Tool Calling,Code Generation,Intelligent Dialogue,AI Agent,Open-source Model,Long Context,Claw Bot"/><meta name="robots" content="index,follow"/><meta name="msapplication-config" content="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/browserconfig.xml"/><meta name="apple-mobile-web-app-title" content="Kimi API Platform"/><meta name="msapplication-TileColor" content="#111111"/><meta name="og:locale" content="en-US"/><meta name="og:image:alt" content="Kimi API Platform"/><link rel="canonical" href="https://platform.kimi.ai/docs/overview"/><link rel="alternate" type="application/xml" href="/docs/sitemap.xml"/><link rel="alternate" type="text/markdown" href="/docs/overview.md"/><meta property="og:title" content="Quickstart - Kimi API Platform"/><meta property="og:description" content="Create an API Key and complete your first Kimi API call."/><meta property="og:url" content="https://platform.kimi.ai/docs/overview"/><meta property="og:site_name" content="Kimi API Platform"/><meta property="og:image" content="https://platform.kimi.ai/og.png?v=1"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Quickstart - Kimi API Platform"/><meta name="twitter:description" content="Create an API Key and complete your first Kimi API call."/><meta name="twitter:image" content="https://platform.kimi.ai/og.png?v=1"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: light)"/><link rel="apple-touch-icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/apple-touch-icon.png" type="image/png" sizes="180x180"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: light)"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: light)"/><link rel="shortcut icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: light)"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: dark)"/><link rel="shortcut icon" href="/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: dark)"/><script type="text/javascript">!function(){var b="/docs";
function a(p){if(p==null)return"/";p=""+p;if(""===p)return"/";return"/"===p.charAt(0)?p:"/"+p}
function u(p){if(p==null)return p;p=""+p;if(!p||p.charAt(p.length-1)==="/")return p.slice(0,-1);return p}
function i(p){if(p==null)return p;p=""+p;if(6<=p.length&&p.substring(p.length-6)==="/index")return p.substring(0,p.length-6);if("index"===p)return"";return p}
var p=(location.pathname||"").split("?")[0].split("#")[0]||"";
if(b)if(p===b)p="";else if(0===p.indexOf(b+"/"))p=p.substring(b.length);
p=a(p);p=u(p);p=i(p);p=""===p||"index"===p?"/":a(p);
document.documentElement.setAttribute("data-current-path",p);
}();</script><script type="text/javascript">!function(){
function read(){try{
var e=performance.getEntriesByType?performance.getEntriesByType("navigation"):[];
var st=(e[0]&&e[0].serverTiming)||[];
var g={};
for(var i=0;i<st.length;i++){var n=st[i].name,d=st[i].description;if(!d)continue;try{d=decodeURIComponent(d)}catch(x){}
if(n==="country")g.country=d;else if(n==="region")g.region=d;else if(n==="continent")g.continent=d;}
var w=window;w.mintlify=w.mintlify||{};w.mintlify.geo=g;
}catch(x){}}
read();document.addEventListener("DOMContentLoaded",read);
}();</script><script type="text/javascript">!function(){try{
var w=window;w.mintlify=w.mintlify||{};
var q=w.mintlify.__apiPlaygroundInputsQueue;
if(!Array.isArray(q)){q=[];w.mintlify.__apiPlaygroundInputsQueue=q;}
w.mintlify.api=w.mintlify.api||{};
w.mintlify.api.playground=w.mintlify.api.playground||{};
if(typeof w.mintlify.api.playground.setServerVariables!=="function"){
w.mintlify.api.playground.setServerVariables=function(v){q.push({type:"set",variables:v});};
}
if(typeof w.mintlify.api.playground.clearServerVariables!=="function"){
w.mintlify.api.playground.clearServerVariables=function(){q.push({type:"clear"});};
}
}catch(e){}}();</script><script type="text/javascript">(function(a,b){try{let c=document.getElementById("banner")?.innerText;if(c){for(let d=0;d<localStorage.length;d++){let e=localStorage.key(d);if(e?.endsWith(a)&&localStorage.getItem(e)===c)return void document.documentElement.setAttribute(b,"hidden")}document.documentElement.setAttribute(b,"visible");return}for(let c=0;c<localStorage.length;c++){let d=localStorage.key(c);if(d?.endsWith(a)&&localStorage.getItem(d))return void document.documentElement.setAttribute(b,"hidden")}document.documentElement.setAttribute(b,"visible")}catch(a){document.documentElement.setAttribute(b,"hidden")}})(
"bannerDismissed",
"data-banner-state",
)</script><script src="/docs/_next/static/chunks/a6dad97d9634a72d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","isDarkMode","system",null,["dark","light","true","false","system"],{"true":"dark","false":"light","dark":"dark","light":"light"},true,false)</script><script>(function(){try{var f=null;var v=f||localStorage.getItem("isDarkMode");if(v==='true')v='dark';else if(v==='false')v='light';if(v!=='light'&&v!=='dark'&&v!=='system')v="system";document.documentElement.setAttribute("data-theme-preference",v)}catch(e){}})();</script><blockquote class="sr-only" data-agent-docs-index="true" aria-hidden="true"><h2>Documentation Index</h2><p>Fetch the complete documentation index at:<!-- --> <a href="/docs/llms.txt" tabindex="-1">/docs/llms.txt</a></p><p>Use this file to discover all available pages before exploring further.</p></blockquote><script>(self.__next_s=self.__next_s||[]).push([0,{"children":"(function j(a,b,c,d,e){try{let f,g,h=[];try{h=window.location.pathname.split(\"/\").filter(a=\u003e\"\"!==a\u0026\u0026\"global\"!==a).slice(0,2)}catch{h=[]}let i=h.find(a=\u003ec.includes(a)),j=[];for(let c of(i?j.push(i):j.push(b),j.push(\"global\"),j)){if(!c)continue;let b=a[c];if(b?.content){f=b.content,g=c;break}}if(!f)return void document.documentElement.setAttribute(d,\"hidden\");let k=!0,l=0;for(;l\u003clocalStorage.length;){let a=localStorage.key(l);if(l++,!a?.endsWith(e))continue;let b=localStorage.getItem(a);if(b\u0026\u0026b===f){k=!1;break}g\u0026\u0026(a.startsWith(`lang:${g}_`)||!a.startsWith(\"lang:\"))\u0026\u0026(localStorage.removeItem(a),l--)}document.documentElement.setAttribute(d,k?\"visible\":\"hidden\")}catch(a){console.error(a),document.documentElement.setAttribute(d,\"hidden\")}})(\n {\"global\":{\"content\":\"🎉 Kimi K3 has launched! [Start exploring now!](/docs/guide/kimi-k3-quickstart)\",\"dismissible\":false}},\n \"en\",\n [],\n \"data-banner-state\",\n \"bannerDismissed\",\n)","id":"_mintlify-banner-script"}])</script><style>:root {
--primary: 17 17 17;
--primary-light: 245 245 245;
--primary-dark: 17 17 17;
--tooltip-foreground: 255 255 255;
--background-light: 255 255 255;
--background-dark: 14 14 16;
--gray-50: 243 243 243;
--gray-100: 238 238 238;
--gray-200: 223 223 223;
--gray-300: 206 206 206;
--gray-400: 159 159 159;
--gray-500: 112 112 112;
--gray-600: 80 80 80;
--gray-700: 63 63 63;
--gray-800: 37 37 37;
--gray-900: 23 23 23;
--gray-950: 10 10 10;
}</style><div class="relative antialiased text-gray-500 dark:text-gray-400"><script>(self.__next_s=self.__next_s||[]).push([0,{"suppressHydrationWarning":true,"children":"(function(a){let b,c=(b=\"navbar-transition\",\"maple\"===a\u0026\u0026(b+=\"-maple\"),b),d=function(){let a=document.createElement(\"style\");return a.appendChild(document.createTextNode(\"*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}\")),document.head.appendChild(a),function(){window.getComputedStyle(document.body),setTimeout(()=\u003e{document.head.removeChild(a)},1)}}();(\"requestAnimationFrame\"in globalThis?requestAnimationFrame:setTimeout)(()=\u003e{let a;a=!1,a=window.scrollY\u003e50,document.getElementById(c)?.setAttribute(\"data-is-opaque\",`${!!a}`),d()})})(\"mint\")","id":"_mintlify-navbar-transition-script"}])</script><script>(self.__next_s=self.__next_s||[]).push([0,{"suppressHydrationWarning":true,"children":"(function () {\n var measure = function(){let a=document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"),b=0;a.forEach(a=\u003e{let c=a.getBoundingClientRect();c.height\u003e0\u0026\u0026(b=Math.max(b,c.bottom))});let c=0,d=document.getElementById(\"content-container\");if(d){let{overflowY:a}=getComputedStyle(d);(\"auto\"===a||\"scroll\"===a)\u0026\u0026(c=Math.max(0,d.getBoundingClientRect().top))}let e=Math.round(Math.max(0,b-c))+40;document.documentElement.style.setProperty(\"--scroll-mt\",`${e}px`)};\n (function(a){let b=[],c=0,d=\"undefined\"==typeof ResizeObserver?null:new ResizeObserver(f);function e(){let c=Array.from(document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"));(c.length!==b.length||c.some((a,c)=\u003ea!==b[c]))\u0026\u0026d\u0026\u0026(d.disconnect(),c.forEach(a=\u003ed.observe(a))),b=c,a()}function f(){c||(c=requestAnimationFrame(()=\u003e{c=0,e()}))}new MutationObserver(f).observe(document.documentElement,{childList:!0,subtree:!0}),window.addEventListener(\"resize\",f),\"loading\"===document.readyState\u0026\u0026document.addEventListener(\"DOMContentLoaded\",e),e()})(measure);\n (function(a){let b=window.location.hash.slice(1);if(!b)return;function c(){return\"smooth\"===getComputedStyle(document.documentElement).scrollBehavior}function d(c){let d=document.getElementById(b);return!!d\u0026\u0026(a(),d.scrollIntoView(c?{behavior:c}:void 0),!0)}if(\"complete\"===document.readyState)return void d();let e=new MutationObserver(()=\u003e{!c()\u0026\u0026d(\"instant\")\u0026\u0026f()});function f(){e.disconnect(),window.removeEventListener(\"load\",g)}function g(){let a=c();f(),a\u0026\u0026requestAnimationFrame(()=\u003e{d(),function(){let a=[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"],c=0,e=window.scrollY,f=setInterval(()=\u003e{c+=1;let a=document.getElementById(b);if(!a||c\u003e=6)return g();let f=Math.abs(window.scrollY-e)\u003e1;if(e=window.scrollY,f)return;let h=parseFloat(getComputedStyle(a).scrollMarginTop)||0;Math.abs(a.getBoundingClientRect().top-h)\u003e4\u0026\u0026d()},350);function g(){clearInterval(f),a.forEach(a=\u003ewindow.removeEventListener(a,g))}a.forEach(a=\u003ewindow.addEventListener(a,g,{passive:!0}))}()})}window.addEventListener(\"load\",g),e.observe(document.documentElement,{childList:!0,subtree:!0}),!c()\u0026\u0026d(\"instant\")\u0026\u0026f()})(measure);\n})();","id":"_mintlify-scroll-margin-script"}])</script><a href="#content-area" class="sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-50 focus:p-2 focus:text-sm focus:bg-background-light dark:focus:bg-background-dark focus:rounded-md focus:outline-primary dark:focus:outline-primary-light">Skip to main content</a><script>(function i(a,b,c,d){try{if(window.matchMedia("(max-width: 1024px)").matches||!d){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed"),d||localStorage.setItem(a,"false");return}let e=localStorage.getItem(a);if(null===e){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed");return}let f=JSON.parse(e),g=localStorage.getItem(b),h=null!==g?JSON.parse(g):368;document.documentElement.style.setProperty(c,f?h+"px":"0px"),document.documentElement.setAttribute("data-assistant-state",f?"open":"closed")}catch(a){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed")}})(
"chat-assistant-sheet-open",
"chat-assistant-sheet-width",
"--assistant-sheet-width",
false
)</script><style>html{--assistant-sheet-width:0px!important}</style><div class="max-lg:contents lg:flex lg:w-full" data-docs-theme="mint"><div class="max-lg:contents lg:flex-1 lg:min-w-0 lg:overflow-x-clip"><header id="navbar" class="z-30 fixed lg:sticky top-0 w-full peer is-not-custom peer is-not-center peer is-not-wide peer is-not-frame"><div id="navbar-transition" class="absolute w-full h-full flex-none transition-colors duration-500 border-b border-gray-500/5 dark:border-gray-300/[0.06] bg-background-light dark:bg-background-dark" data-is-opaque="false"></div><div id="banner" class="w-full min-h-10 relative lg:fixed lg:top-0 lg:left-0 text-center flex items-center justify-center text-sm [&amp;_a]:border-none [&amp;_a]:underline-offset-[3px] font-medium px-4 text-white/95 dark:text-white/95 [&amp;_*]:text-white/95! dark:[&amp;_*]:text-white/95! bg-primary-dark [&amp;_a:hover]:decoration-primary-light z-45"><div class="space-y-4 whitespace-normal my-2 [&amp;&gt;p]:m-0"><p>🎉 Kimi K3 has launched! <a class="wrap-anywhere font-medium underline" data-streamdown="link" href="/docs/guide/kimi-k3-quickstart">Start exploring now!</a></p></div></div><script>(function(){var b=document.getElementById("banner");if(!b)return;var h=b.offsetHeight;if(h>0)document.documentElement.style.setProperty('--banner-height',h+'px');})();</script><div class="hidden lg:block h-[var(--banner-height,0px)]" aria-hidden="true"></div><div class="max-w-8xl mx-auto relative"><div><div class="relative"><div class="flex items-center lg:px-12 h-16 min-w-0 mx-4 lg:mx-0"><div class="h-full relative flex-1 flex items-center gap-x-4 min-w-0 border-b border-gray-500/5 dark:border-gray-300/[0.06]"><div class="flex-1 flex items-center gap-x-4"><a class="select-none" style="-webkit-touch-callout:none" href="https://platform.kimi.ai"><span class="sr-only">Kimi API Platform<!-- --> home page</span><img class="nav-logo w-auto h-7 relative object-contain shrink-0 block dark:hidden" src="https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/light.svg?fit=max&amp;auto=format&amp;n=X_5b_eA1iuJP595e&amp;q=85&amp;s=f68cf2d80f8d7f0363e088d2b988a598" alt="light logo"/><img class="nav-logo w-auto h-7 relative object-contain shrink-0 hidden dark:block" src="https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/dark.svg?fit=max&amp;auto=format&amp;n=X_5b_eA1iuJP595e&amp;q=85&amp;s=297861f343cd86556341fb85b17cb13d" alt="dark logo"/></a><div class="hidden lg:flex items-center gap-x-2"></div></div><div class="relative hidden lg:flex items-center flex-1 z-20 justify-center"><button type="button" class="group/search flex pointer-events-auto rounded-xl w-full items-center text-sm leading-6 h-9 pl-3.5 pr-3 text-gray-500 dark:text-white/50 bg-background-light dark:bg-background-dark dark:brightness-[1.1] dark:ring-1 dark:hover:brightness-[1.25] ring-1 ring-gray-400/30 hover:ring-gray-600/30 dark:ring-gray-600/30 dark:hover:ring-gray-500/30 justify-between truncate gap-2" id="search-bar-entry" aria-label="Open search"><div class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-4 min-w-4 flex-none text-gray-700 group-hover/search:text-gray-800 dark:text-gray-400 dark:group-hover/search:text-gray-200"><path d="M15.25 15.25L11.285 11.285" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M7.75 12.75C10.5114 12.75 12.75 10.5114 12.75 7.75C12.75 4.98858 10.5114 2.75 7.75 2.75C4.98858 2.75 2.75 4.98858 2.75 7.75C2.75 10.5114 4.98858 12.75 7.75 12.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><div class="truncate min-w-0">Search...</div></div><span class="flex-none text-xs font-semibold"><!-- -->K</span></button></div><div class="flex-1 relative hidden lg:flex items-center ml-auto justify-end space-x-4"><nav aria-label="Main" class="text-sm"><ul class="flex space-x-6 items-center"><li class="navbar-link"><a href="https://www.kimi.com/membership/pricing?from=platform_page&amp;open=business" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank"><span class="min-w-0 truncate">Kimi Business</span></a></li><li class="navbar-link"><a href="https://platform.kimi.ai/contact-sales" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank"><span class="min-w-0 truncate">Contact Sales</span></a></li><li class="navbar-link"><a class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" href="/docs/api/join-the-community"><span class="min-w-0 truncate">Community</span></a></li><li class="navbar-link"><a href="https://platform.kimi.ai/playground" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank"><span class="min-w-0 truncate">Playground</span></a></li><li class="navbar-link"><a href="https://platform.kimi.ai/console/account" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank"><span class="min-w-0 truncate">User Center</span></a></li></ul></nav><div class="flex items-center"><button type="button" tabindex="0" aria-haspopup="menu" id="theme-preference-menu-trigger" aria-label="Change theme preference" data-component-name="theme-preference-menu" data-component-part="theme-preference-menu-trigger" data-testid="theme-preference-menu-trigger" class="group disabled:pointer-events-none rounded-lg overflow-hidden gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 theme-preference-menu-trigger group p-2 flex items-center justify-center"><span data-theme-preference-icon="system"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M4.5 15.5L9 14.5L13.5 15.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.75V14.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.25 2.75H3.75C2.64543 2.75 1.75 3.64543 1.75 4.75V9.75C1.75 10.8546 2.64543 11.75 3.75 11.75H14.25C15.3546 11.75 16.25 10.8546 16.25 9.75V4.75C16.25 3.64543 15.3546 2.75 14.25 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span><span data-theme-preference-icon="light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M9 1.25V2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.48 3.52002L13.773 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M16.75 9H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.48 14.4799L13.773 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 16.75V15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 14.4799L4.227 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M1.25 9H2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 3.52002L4.227 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 13.25C11.3472 13.25 13.25 11.3472 13.25 9C13.25 6.65279 11.3472 4.75 9 4.75C6.65279 4.75 4.75 6.65279 4.75 9C4.75 11.3472 6.65279 13.25 9 13.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span><span data-theme-preference-icon="dark"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M13 11.75C9.548 11.75 6.75 8.95201 6.75 5.50001C6.75 4.14801 7.183 2.90101 7.912 1.87801C4.548 2.50601 2 5.45301 2 9.00001C2 13.004 5.246 16.25 9.25 16.25C12.622 16.25 15.448 13.944 16.259 10.826C15.309 11.409 14.196 11.75 13 11.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span></button></div></div><div class="flex lg:hidden items-center gap-3"><button type="button" class="text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300" id="search-bar-entry-mobile" aria-label="Open search"><span class="sr-only">Search...</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/magnifying-glass.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/magnifying-glass.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></button><button type="button" aria-label="More actions" class="h-7 w-5 flex items-center justify-center relative after:content-[&#x27;&#x27;] after:absolute after:-inset-y-2 after:-left-1 after:-right-4"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-4 shrink-0 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/ellipsis-vertical.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/ellipsis-vertical.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></button></div></div></div><button type="button" class="flex items-center h-14 py-4 px-5 lg:hidden focus:outline-0 w-full text-left"><div class="text-gray-500 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"><span class="sr-only">Navigation</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M2.25 9H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.25 3.75H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.25 14.25H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="ml-4 flex text-sm leading-6 whitespace-nowrap min-w-0 space-x-3 overflow-hidden"><div class="flex items-center space-x-3 shrink-0"><span>Get Started</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 shrink-0"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="font-semibold text-gray-900 truncate dark:text-gray-200 min-w-0 flex-1">Quickstart</div></div></button></div><div class="hidden lg:flex px-12 h-12"><div class="nav-tabs h-full flex text-sm gap-x-6"><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium hover:text-gray-800 dark:hover:text-gray-300 text-gray-800 dark:text-gray-200 [text-shadow:-0.2px_0_0_currentColor,0.2px_0_0_currentColor]" data-active="true" aria-current="location" href="/docs/overview">Guides<div class="absolute bottom-0 h-[1.5px] w-full left-0 bg-primary dark:bg-primary-light"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/api/overview">API Reference<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/pricing/chat">Pricing<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/guide/account-and-payments">Help Center<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/guide/prompt-best-practice">Resources<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a></div></div><style>:root{--topbar-tabs-height:3rem}</style></div></div></header><div class="scroll-mt-(--scroll-mt) peer-[.is-custom]:max-w-none peer-[.is-center]:max-w-3xl peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl peer-[.is-not-custom]:px-4 peer-[.is-not-custom]:mx-auto peer-[.is-not-custom]:lg:px-8 peer-[.is-wide]:lg:*:last:max-w-216 peer-[.is-not-custom]:peer-[.is-not-center]:lg:flex peer-[.is-custom]:[&amp;&gt;:first-child]:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:sm:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:md:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:lg:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:xl:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:sm:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:md:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:lg:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:xl:hidden!"><nav aria-label="Pages" class="z-20 hidden lg:block sticky self-start shrink-0 w-[18rem] top-[calc(var(--mintlify-slot-header-height,calc(4rem+var(--topbar-tabs-height,0rem)))+var(--banner-height,2.5rem))] h-[calc(100dvh-var(--mintlify-slot-header-height,calc(4rem+var(--topbar-tabs-height,0rem)))-var(--banner-height,2.5rem))]" id="sidebar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" id="sidebar-content" class="min-w-0 absolute! inset-0 z-10"><div role="presentation" data-id="base-ui-_R_nav5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] pr-8 pb-10 base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-0! w-full"><div class="relative lg:text-sm lg:leading-6"><div class="sticky top-0 h-8 pointer-events-none z-10 bg-linear-to-b from-background-light dark:from-background-dark"></div><div id="navigation-items"><div><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Get Started</span></h3></div><ul class="sidebar-group space-y-px"><li id="/overview" class="relative scroll-m-4 first:scroll-m-20" data-title="Quickstart" data-active="true" data-active-nav-item="true"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] bg-primary/10 text-primary [text-shadow:-0.2px_0_0_currentColor,0.2px_0_0_currentColor] dark:text-primary-light dark:bg-primary-light/10" style="padding-left:1rem" aria-current="page" href="/docs/overview"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Quickstart</span></div></div></a></li><li id="/models" class="relative scroll-m-4 first:scroll-m-20" data-title="Model List"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/models"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Model List</span></div></div></a></li><li id="/guide/kimi-k3-quickstart" class="relative scroll-m-4 first:scroll-m-20" data-title="Kimi K3"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/kimi-k3-quickstart"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Kimi K3</span></div></div></a></li><li id="/guide/kimi-k2-7-code-quickstart" class="relative scroll-m-4 first:scroll-m-20" data-title="Kimi K2.7 Code Model"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/kimi-k2-7-code-quickstart"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Kimi K2.7 Code Model</span></div></div></a></li><li id="/guide/kimi-k2-6-quickstart" class="relative scroll-m-4 first:scroll-m-20" data-title="Kimi K2.6 Model"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/kimi-k2-6-quickstart"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Kimi K2.6 Model</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Model Capabilities</span></h3></div><ul class="sidebar-group space-y-px"><li id="/guide/use-thinking-models" class="relative scroll-m-4 first:scroll-m-20" data-title="Thinking Models"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-thinking-models"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Thinking Models</span></div></div></a></li><li id="/guide/use-reasoning-effort" class="relative scroll-m-4 first:scroll-m-20" data-title="Reasoning Effort"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-reasoning-effort"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Reasoning Effort</span></div></div></a></li><li id="/guide/engage-in-multi-turn-conversations-using-kimi-api" class="relative scroll-m-4 first:scroll-m-20" data-title="Multi-turn Chat"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/engage-in-multi-turn-conversations-using-kimi-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Multi-turn Chat</span></div></div></a></li><li id="/guide/utilize-the-streaming-output-feature-of-kimi-api" class="relative scroll-m-4 first:scroll-m-20" data-title="Streaming"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/utilize-the-streaming-output-feature-of-kimi-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Streaming</span></div></div></a></li><li id="/guide/use-json-mode-feature-of-kimi-api" class="relative scroll-m-4 first:scroll-m-20" data-title="JSON Mode"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-json-mode-feature-of-kimi-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">JSON Mode</span></div></div></a></li><li id="/guide/use-partial-mode-feature-of-kimi-api" class="relative scroll-m-4 first:scroll-m-20" data-title="Partial Mode"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-partial-mode-feature-of-kimi-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Partial Mode</span></div></div></a></li><li id="/guide/use-kimi-vision-model" class="relative scroll-m-4 first:scroll-m-20" data-title="Vision Input"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-kimi-vision-model"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Vision Input</span></div></div></a></li><li id="/guide/use-context-caching-feature-of-kimi-api" class="relative scroll-m-4 first:scroll-m-20" data-title="Context Caching"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-context-caching-feature-of-kimi-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Context Caching</span></div></div></a></li><li id="/guide/use-dynamic-tool-loading" class="relative scroll-m-4 first:scroll-m-20" data-title="Dynamic Tool Loading"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-dynamic-tool-loading"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Dynamic Tool Loading</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Tooling workflows</span></h3></div><ul class="sidebar-group space-y-px"><li id="/guide/use-kimi-api-to-complete-tool-calls" class="relative scroll-m-4 first:scroll-m-20" data-title="Tool Calls"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-kimi-api-to-complete-tool-calls"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Tool Calls</span></div></div></a></li><li id="/guide/use-web-search" class="relative scroll-m-4 first:scroll-m-20" data-title="Web Search Tool"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-web-search"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Web Search Tool</span></div></div></a></li><li id="/guide/use-official-tools" class="relative scroll-m-4 first:scroll-m-20" data-title="Official Tools"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-official-tools"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Official Tools</span></div></div></a></li><li id="/guide/use-tool-choice" class="relative scroll-m-4 first:scroll-m-20" data-title="Tool Choice"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-tool-choice"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Tool Choice</span></div></div></a></li><li id="/guide/configure-the-modelscope-mcp-server" class="relative scroll-m-4 first:scroll-m-20" data-title="ModelScope MCP Server"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/configure-the-modelscope-mcp-server"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">ModelScope MCP Server</span></div></div></a></li><li id="/guide/kimi-k3-tool-calling-best-practice" class="relative scroll-m-4 first:scroll-m-20" data-title="Tool Calling Best Practices"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/kimi-k3-tool-calling-best-practice"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Tool Calling Best Practices</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Core workflows</span></h3></div><ul class="sidebar-group space-y-px"><li id="/guide/response_format" class="relative scroll-m-4 first:scroll-m-20" data-title="response_format"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/response_format"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">response_format</span></div></div></a></li><li id="/guide/auto-reconnect" class="relative scroll-m-4 first:scroll-m-20" data-title="Automatic Reconnection"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/auto-reconnect"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Automatic Reconnection</span></div></div></a></li><li id="/guide/use-kimi-api-for-file-based-qa" class="relative scroll-m-4 first:scroll-m-20" data-title="File-Based Q&amp;A"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-kimi-api-for-file-based-qa"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">File-Based Q&amp;A</span></div></div></a></li><li id="/guide/use-batch-api" class="relative scroll-m-4 first:scroll-m-20" data-title="Batch API Guide"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-batch-api"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Batch API Guide</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Integrations</span></h3></div><ul class="sidebar-group space-y-px"><li id="/guide/kimi-code-cli" class="relative scroll-m-4 first:scroll-m-20" data-title="Kimi Code CLI"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/kimi-code-cli"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Kimi Code CLI</span></div></div></a></li><li id="/guide/use-kimi-in-openclaw" class="relative scroll-m-4 first:scroll-m-20" data-title="OpenClaw"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-kimi-in-openclaw"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">OpenClaw</span></div></div></a></li><li id="/guide/claude-code-kimi" class="relative scroll-m-4 first:scroll-m-20" data-title="Claude Code"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/claude-code-kimi"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Claude Code</span></div></div></a></li><li id="/guide/open-code" class="relative scroll-m-4 first:scroll-m-20" data-title="OpenCode"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/open-code"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">OpenCode</span></div></div></a></li><li id="/guide/use-kimi-in-hermes-agent" class="relative scroll-m-4 first:scroll-m-20" data-title="Hermes Agent"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-kimi-in-hermes-agent"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Hermes Agent</span></div></div></a></li><li id="/guide/codex-kimi" class="relative scroll-m-4 first:scroll-m-20" data-title="Codex"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/codex-kimi"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Codex</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Debugging and operations</span></h3></div><ul class="sidebar-group space-y-px"><li id="/guide/use-moonpalace" class="relative scroll-m-4 first:scroll-m-20" data-title="Use the API Debugging Tool"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-moonpalace"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Use the API Debugging Tool</span></div></div></a></li><li id="/guide/use-playground-to-debug-the-model" class="relative scroll-m-4 first:scroll-m-20" data-title="Playground"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/use-playground-to-debug-the-model"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Playground</span></div></div></a></li><li id="/guide/org-best-practice" class="relative scroll-m-4 first:scroll-m-20" data-title="Best Practices for Organization Management"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/guide/org-best-practice"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Best Practices for Organization Management</span></div></div></a></li></ul></div><script>(function () {
try {
if (window.__mintlifyInitialSidebarScrollDone) return;
window.__mintlifyInitialSidebarScrollDone = true;
var path = (window.location.pathname || '/').split('#')[0].split('?')[0];
if (path.endsWith('/index')) path = path.slice(0, -6);
else if (path === 'index') path = '';
var candidates = [];
if (path) candidates.push(path);
if (path.startsWith('/')) candidates.push(path.slice(1));
else candidates.push('/' + path);
var item = null;
for (var i = 0; i < candidates.length && !item; i++) {
var matches = document.querySelectorAll('[id="' + candidates[i].replace(/"/g, '\\"') + '"]');
for (var j = 0; j < matches.length; j++) {
if (matches[j].closest('#sidebar, #sidebar-content')) {
item = matches[j];
break;
}
}
}
if (!item) return;
var parent = item.parentElement;
while (parent) {
var style = getComputedStyle(parent);
if (style.overflowY === 'auto' || style.overflowY === 'scroll') break;
parent = parent.parentElement;
}
if (!parent) return;
var parentRect = parent.getBoundingClientRect();
var itemRect = item.getBoundingClientRect();
if (itemRect.top >= parentRect.top && itemRect.bottom <= parentRect.bottom) return;
var itemTopRelative = itemRect.top - parentRect.top + parent.scrollTop;
parent.scrollTop = itemTopRelative - parentRect.height / 2 + itemRect.height / 2;
} catch (e) {}
})();</script></div></div></div></div></div></nav><main id="content-container" class="lg:flex-1 lg:min-w-0"><script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://platform.kimi.ai/#organization","name":"Kimi API Platform","url":"https://platform.kimi.ai","logo":{"@type":"ImageObject","url":"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/light.svg?fit=max&auto=format&n=X_5b_eA1iuJP595e&q=85&s=f68cf2d80f8d7f0363e088d2b988a598"}},{"@type":"WebSite","@id":"https://platform.kimi.ai/docs#website","name":"Kimi API Platform","url":"https://platform.kimi.ai/docs","publisher":{"@id":"https://platform.kimi.ai/#organization"}},{"@type":"WebPage","@id":"https://platform.kimi.ai/docs/overview#webpage","url":"https://platform.kimi.ai/docs/overview","name":"Quickstart","description":"Create an API Key and complete your first Kimi API call.","dateModified":"2026-07-23T08:17:58.213Z","isPartOf":{"@id":"https://platform.kimi.ai/docs#website"},"breadcrumb":{"@id":"https://platform.kimi.ai/docs/overview#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://platform.kimi.ai/docs/overview#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Kimi API Platform","item":"https://platform.kimi.ai/docs"},{"@type":"ListItem","position":2,"name":"Quickstart","item":"https://platform.kimi.ai/docs/overview"}]},{"@type":["Article","TechArticle"],"@id":"https://platform.kimi.ai/docs/overview#article","headline":"Quickstart","name":"Quickstart","description":"Create an API Key and complete your first Kimi API call.","url":"https://platform.kimi.ai/docs/overview","mainEntityOfPage":{"@id":"https://platform.kimi.ai/docs/overview#webpage"},"image":"https://platform.kimi.ai/og.png?v=1","dateModified":"2026-07-23T08:17:58.213Z","publisher":{"@id":"https://platform.kimi.ai/#organization"},"isPartOf":{"@id":"https://platform.kimi.ai/docs#website"}}]}</script><script>document.documentElement.setAttribute('data-page-mode', "none");</script><span class="fixed inset-0 bg-background-light dark:bg-background-dark -z-10 pointer-events-none" id="background-color"></span><style data-custom-css-index="0" data-custom-css-path="custom.css">/* Brand color system */
:root {
--brand-primary: #111111;
--brand-primary-strong: #2a2a2a;
--brand-primary-soft: rgba(17, 17, 17, 0.08);
--brand-text: #171717;
--brand-text-muted: #5f5f68;
--brand-border: #e5e7eb;
--brand-border-strong: #d4d4d8;
--brand-surface: #f5f5f5;
--brand-card-bg: rgba(255, 255, 255, 0.9);
--brand-overlay: linear-gradient(to top, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.28), transparent);
}
.dark,
[data-theme="dark"] {
--brand-primary: #f5f5f5;
--brand-primary-strong: #ffffff;
--brand-primary-soft: rgba(245, 245, 245, 0.14);
--brand-text: #fafafa;
--brand-text-muted: #a1a1aa;
--brand-border: #303038;
--brand-border-strong: #3f3f46;
--brand-surface: #151515;
--brand-card-bg: rgba(24, 24, 27, 0.88);
--brand-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.3), transparent);
}
/* Footer: hide divider, "Powered by Mintlify", and theme toggle buttons */
#footer > * > div:last-child,
#footer > * > div:nth-last-child(2) {
display: none !important;
}
/* Use a neutral community icon for the forum footer link. */
#footer a[href^="https://forum.moonshot.ai/"] svg {
display: none !important;
}
#footer a[href^="https://forum.moonshot.ai/"]::before {
content: "";
display: block;
width: 1.25rem;
height: 1.25rem;
background-color: currentColor;
-webkit-mask: url("/assets/icons/community.svg") center / contain no-repeat;
mask: url("/assets/icons/community.svg") center / contain no-repeat;
}
/* Global Mintlify UI tuning */
#search-bar-entry,
#search-bar-entry-mobile {
border: 1px solid var(--brand-border) !important;
background: var(--brand-card-bg) !important;
box-shadow: none !important;
}
#search-input {
color: var(--brand-text) !important;
}
#search-input::placeholder {
color: var(--brand-text-muted) !important;
}
#topbar,
#topbar-content-container,
#topbar-content-wrapper {
color: var(--brand-text) !important;
}
/* Keep the desktop sidebar below the navbar's 3rem documentation tabs.
Mintlify's default offset only includes the 4rem topbar and banner. */
@media (min-width: 1024px) {
#sidebar {
top: calc(7rem + var(--banner-height, 0px)) !important;
}
}
#sidebar-content li[data-active] {
background: var(--brand-primary-soft) !important;
border-radius: 14px;
}
/* Active sidebar item text: color the link itself and let the title inherit.
Method pills (POST/GET) set their own colors and are unaffected. */
#sidebar-content li[data-active] a,
#sidebar-content li[data-active] button {
color: var(--brand-primary) !important;
}
/* Prevent synthetic bold on sidebar items — Mintlify uses text-shadow to simulate bold, which distorts CJK glyphs */
#sidebar-content a,
#sidebar-content button {
font-weight: inherit !important;
text-shadow: none !important;
}
.sidebar-group[data-active] > .sidebar-group-header,
.sidebar-group[data-active] > .sidebar-group-header * {
color: var(--brand-primary) !important;
}
.method-nav-pill,
.method-pill {
border-radius: 999px !important;
box-shadow: none !important;
}
#request-example,
#response-example,
#api-playground-input,
#panel,
#page-context-menu-button {
border-color: var(--brand-border) !important;
}
#request-example,
#response-example,
#api-playground-input {
background: var(--brand-card-bg) !important;
}
.dark .method-nav-pill,
.dark .method-pill,
[data-theme="dark"] .method-nav-pill,
[data-theme="dark"] .method-pill {
border-color: transparent !important;
}
/* Fix Tabs active state visibility in dark mode */
.dark li[role="tab"][aria-selected="true"] > div,
[data-theme="dark"] li[role="tab"][aria-selected="true"] > div {
color: #ffffff !important;
border-color: #ffffff !important;
}
.nav-tabs-item[data-active],
.mobile-nav-tabs-item[data-active] {
color: var(--brand-primary) !important;
}
.navbar-link:hover,
.nav-tabs-item:hover,
.mobile-nav-tabs-item:hover {
color: var(--brand-primary) !important;
}
.toc-item[data-active],
.toc-item[data-active-deepest] {
color: var(--brand-primary) !important;
}
.toc-item[data-active] a,
.toc-item[data-active-deepest] a {
color: var(--brand-primary) !important;
}
.mdx-content a {
color: var(--brand-primary);
text-decoration-color: color-mix(in srgb, var(--brand-primary) 58%, transparent);
}
.mdx-content a:hover {
color: var(--brand-primary-strong);
text-decoration-color: color-mix(in srgb, var(--brand-primary-strong) 72%, transparent);
}
.mdx-content a strong,
.mdx-content a b,
.mdx-content a code {
color: inherit;
}
.code-block,
pre {
border-color: var(--brand-border) !important;
}
code:not(pre code) {
background: var(--brand-surface) !important;
border: 1px solid var(--brand-border);
color: var(--brand-text) !important;
}
#page-context-menu-button:hover,
.pagination-next:hover,
.pagination-prev:hover,
.topbar-cta-button:hover {
border-color: var(--brand-primary) !important;
}
/* Base styles for the overview sections */
.overview-page {
color: var(--brand-text);
}
.overview-page a {
border-bottom: none !important;
box-shadow: none !important;
text-decoration: none !important;
}
.overview-page .overview-overlay-link {
position: absolute !important;
inset: 0 !important;
display: block !important;
border: 0 !important;
border-bottom: 0 !important;
box-shadow: none !important;
text-decoration: none !important;
z-index: 4 !important;
}
/* Grid Layouts */
.overview-page .overview-grid-2,
.overview-page .overview-grid-3,
.overview-page .overview-grid-4 {
display: grid;
align-items: stretch;
gap: 16px;
}
.overview-page .overview-grid-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.overview-page .overview-grid-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.overview-page .overview-grid-4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Card Common Styles */
.overview-page .overview-link-card,
.overview-page .overview-resource-card {
position: relative;
overflow: hidden;
display: flex;
height: 100%;
border: 1px solid var(--brand-border);
border-radius: 12px;
background: var(--brand-card-bg);
backdrop-filter: blur(10px);
transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.overview-page .overview-link-card:hover,
.overview-page .overview-resource-card:hover {
border-color: var(--brand-primary);
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
/* Card Body (Media Object) */
.overview-page .overview-link-card__body,
.overview-page .overview-resource-card__body {
display: flex;
padding: 20px 16px;
width: 100%;
flex-direction: row;
gap: 12px;
align-items: flex-start;
}
.overview-page .overview-link-card__content {
display: flex;
flex: 1;
flex-direction: column;
}
.overview-page .overview-link-card__icon {
display: flex;
width: 24px;
min-width: 24px;
align-items: center;
justify-content: center;
line-height: 1;
margin-top: 3px;
color: var(--brand-text-muted);
}
.overview-page .overview-link-card__title,
.overview-page .overview-resource-card__title {
font-size: 16px;
font-weight: 500;
line-height: 1.2;
color: var(--brand-text);
}
.overview-page .overview-link-card__description,
.overview-page .overview-resource-card__description {
margin-top: 4px;
font-size: 14px;
color: var(--brand-text-muted);
line-height: 1.4;
}
/* Model Card Styles */
.overview-page .overview-model-card {
position: relative;
overflow: hidden;
border: 1px solid var(--brand-border);
border-radius: 12px;
background: var(--brand-surface);
}
.overview-page .overview-model-card__media {
position: relative;
aspect-ratio: 123 / 92;
line-height: 0;
}
.overview-page .overview-model-card__image {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.overview-page .overview-model-card:hover .overview-model-card__image {
transform: scale(1.05);
}
.overview-page .overview-model-card__overlay {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
background: var(--brand-overlay);
}
.overview-page .overview-model-card__content {
width: 100%;
padding: 16px;
}
.overview-page .overview-model-card__name {
color: white;
font-weight: 600;
line-height: 1.2;
font-size: 16px;
}
.overview-page .overview-model-card__tag-row {
margin-top: 8px;
line-height: 1;
}
.overview-page .overview-hero-card {
background: var(--brand-surface);
border-color: var(--brand-border) !important;
}
.overview-page .overview-hero-card__cta {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 20px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 8px;
background: rgba(255, 255, 255, 0.96);
color: #111111 !important;
font-size: 14px;
font-weight: 500;
white-space: nowrap;
position: relative;
z-index: 10;
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.overview-page .overview-hero-card__cta:hover {
background: #ffffff;
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}
.overview-page .overview-section-link {
color: var(--brand-primary) !important;
text-decoration: underline !important;
text-underline-offset: 0.18em;
}
.overview-page .overview-section-link:hover {
color: var(--brand-primary-strong) !important;
}
.overview-page .overview-resource-card a,
.overview-page .overview-link-card a,
.overview-page .overview-model-card a {
color: inherit !important;
}
/* Responsive adjustments */
@media (max-width: 1100px) {
.overview-page .overview-grid-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Hide API page right-side request/response code examples */
#content-side-layout:has(.code-group) {
display: none !important;
}
@media (max-width: 700px) {
.overview-page .overview-grid-2,
.overview-page .overview-grid-3,
.overview-page .overview-grid-4 {
grid-template-columns: 1fr;
}
}
.doc-table-wrap {
width: 100%;
max-width: 100%;
}
.doc-table-wrap table {
width: 100% !important;
max-width: 100% !important;
min-width: 0 !important;
table-layout: fixed !important;
margin: 0 !important;
}
.doc-table-wrap th,
.doc-table-wrap td {
white-space: normal !important;
overflow-wrap: anywhere;
word-break: break-word;
text-align: left !important;
vertical-align: top;
}
@media (max-width: 900px) {
.doc-table-wrap th,
.doc-table-wrap td {
padding: 10px 8px !important;
font-size: 13px;
line-height: 1.45;
}
}
@media (max-width: 640px) {
.doc-table-wrap {
width: 100%;
}
.doc-table-wrap th,
.doc-table-wrap td {
padding: 8px 6px !important;
font-size: 12px;
line-height: 1.4;
}
.doc-table-wrap td:first-child,
.doc-table-wrap th:first-child {
word-break: break-all;
overflow-wrap: anywhere;
}
.doc-table-wrap code {
font-size: 11px;
white-space: normal !important;
word-break: break-all;
}
}
</style><!--$--><!--/$--><div class="flex flex-row-reverse gap-12 box-border w-full pt-[calc(10rem+var(--banner-height,2.5rem))] lg:pt-10"><div class="hidden xl:flex self-start sticky xl:flex-col max-w-[28rem] z-21 h-[calc(100vh-12rem)] top-[12rem]" id="content-side-layout"><div class="z-10 hidden xl:flex box-border max-h-full pl-10 w-[19rem]" id="table-of-contents-layout"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" id="table-of-contents" class="min-w-0 text-gray-600 text-sm leading-6 w-[16.5rem] -mt-10"><div role="presentation" data-id="base-ui-_R_bd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] pt-10 pb-4 base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-0! w-full space-y-2"><nav aria-labelledby="_R_3d7av5tccsnisnpfiutb_"><h2 id="_R_3d7av5tccsnisnpfiutb_" class="m-0 font-normal"><button type="button" class="text-gray-700 dark:text-gray-300 font-medium flex items-center space-x-2 hover:text-gray-900 dark:hover:text-gray-100 transition-colors cursor-pointer"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M2.75 14.25H15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 3.75H15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 9H8.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span>On this page</span></button></h2><div><ul id="table-of-contents-content" class="toc"><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#get-started" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Get started</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#explore-more-features" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Explore more features</a><ul class=""><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#streaming-output" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Streaming output</a></li><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#multimodal-input" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Multimodal input</a></li></ul></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#related-resources" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Related resources</a></li></ul></div></nav></div></div></div></div></div><div class="relative grow box-border flex-col w-full mx-auto px-1 lg:pl-[5.7rem] lg:-ml-12 xl:w-[calc(100%-28rem)]" id="content-area"><header id="header" class="relative leading-none @container/page-header"><div class="mt-0.5 space-y-2.5"><div class="breadcrumb-list flex flex-row items-center gap-1.5"><div class="breadcrumb-item inline-flex items-center gap-1.5 text-sm text-gray-500 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" data-breadcrumb-title="Get Started"><a href="/docs/overview">Get Started</a></div></div><div class="flex flex-col sm:flex-row items-start sm:items-center relative gap-2 min-w-0"><h1 id="page-title" class="text-3xl sm:text-4xl text-gray-900 tracking-tight dark:text-gray-200 [overflow-wrap:anywhere] break-all font-semibold">Quickstart</h1><div id="page-context-menu" class="items-center shrink-0 min-w-[156px] justify-end ml-auto hidden @[520px]/page-header:flex"><button id="page-context-menu-button" class="rounded-l-xl px-3 text-gray-700 dark:text-gray-300 py-1.5 border border-gray-200 dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5 border-r-0" aria-label="Copy page"><div class="flex items-center gap-2 text-sm text-center font-medium"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="grid"><span aria-hidden="true" class="invisible col-start-1 row-start-1">Copy page</span><span class="col-start-1 row-start-1">Copy page</span></span></div></button><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_3n4dd7av5tccsnisnpfiutb_" aria-label="More actions" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border flex items-center justify-center h-[34px] border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 rotate-90"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div></div><div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]"><p>Create an API Key and complete your first Kimi API call.</p></div><div id="page-context-menu" class="flex items-center shrink-0 min-w-[156px] mt-3 @[520px]/page-header:hidden"><button id="page-context-menu-button" class="rounded-l-xl px-3 text-gray-700 dark:text-gray-300 py-1.5 border border-gray-200 dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5 border-r-0" aria-label="Copy page"><div class="flex items-center gap-2 text-sm text-center font-medium"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="grid"><span aria-hidden="true" class="invisible col-start-1 row-start-1">Copy page</span><span class="col-start-1 row-start-1">Copy page</span></span></div></button><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_7cdd7av5tccsnisnpfiutb_" aria-label="More actions" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border flex items-center justify-center h-[34px] border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 rotate-90"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></header><div class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="Quickstart" data-page-href="/overview" id="content"><span data-as="p">Kimi API lets you interact with Kimi models and is compatible with the OpenAI API format. Prepare an API Key, choose a model, and configure <code>base_url</code> to make requests through the HTTP API, Python SDK, or Node.js SDK.</span>
<div role="note" aria-label="Info" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-neutral-200 bg-neutral-50 dark:border-neutral-700 dark:bg-white/10" data-callout-type="info"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="flex-none size-5 text-neutral-800 dark:text-neutral-300"><path d="M 7.2 0 C 3.2231 0 0 3.2231 0 7.2 C 0 11.1768 3.2231 14.4 7.2 14.4 C 11.1768 14.4 14.4 11.1768 14.4 7.2 C 14.4 3.2231 11.1768 0 7.2 0 Z M 7.2 13.05 C 3.9741 13.05 1.35 10.4257 1.35 7.2 C 1.35 3.9743 3.9741 1.35 7.2 1.35 C 10.426 1.35 13.05 3.9743 13.05 7.2 C 13.05 10.4257 10.426 13.05 7.2 13.05 Z M 8.325 9.45 H 7.875 V 6.975 C 7.875 6.6038 7.5741 6.3 7.2 6.3 H 6.3 C 5.9288 6.3 5.625 6.6038 5.625 6.975 C 5.625 7.3462 5.9288 7.65 6.3 7.65 H 6.525 V 9.45 H 6.075 C 5.7038 9.45 5.4 9.7538 5.4 10.125 C 5.4 10.4962 5.7038 10.8 6.075 10.8 H 8.325 C 8.6977 10.8 9 10.4977 9 10.125 C 9 9.7523 8.6991 9.45 8.325 9.45 Z M 7.2 5.4 C 7.697 5.4 8.1 4.997 8.1 4.5 C 8.1 4.003 7.697 3.6 7.2 3.6 C 6.703 3.6 6.3 4.0022 6.3 4.5 C 6.3 4.9978 6.7022 5.4 7.2 5.4 Z" fill="currentColor" stroke="none"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-neutral-800 dark:text-neutral-300" data-component-part="callout-content"><span data-as="p"><a class="link" href="/docs/guide/kimi-k3-quickstart">Kimi K3</a> is now officially available — Kimis most capable model to date, with a 1M-token context window and native visual understanding. It is well suited for programming agent scenarios such as <a href="guide/claude-code-kimi" target="_blank" rel="noreferrer" class="link">Claude Code</a>, as well as knowledge work and deep reasoning.</span></div></div>
<h2 class="flex whitespace-pre-wrap group font-semibold" id="get-started"><div class="absolute" tabindex="-1"><a href="#get-started" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header"><div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Get started</span></h2>
<div role="list" class="steps ml-3.5 mt-10 mb-6"><div role="listitem" class="step group/step step-container relative flex items-start pb-5"><div data-component-part="step-line" class="absolute w-px h-[calc(100%-2.75rem)] top-11 bg-gray-200/70 dark:bg-white/10" contentEditable="false"></div><div class="absolute ml-[-13px] py-2" data-component-part="step-number" contentEditable="false"><div class="group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center"><div class="group-has-[a:focus-visible]/step-indicator:opacity-0">1</div></div></div><div class="w-full overflow-hidden pl-8 pr-px"><p class="mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200" contentEditable="false" data-component-part="step-title">Get an API Key</p><div data-component-part="step-content" class="prose dark:prose-invert"><span data-as="p">Visit the <a href="https://platform.kimi.ai/" target="_blank" rel="noreferrer" class="link">Kimi API Platform</a>, sign in, then go to <a href="https://platform.kimi.ai/console/api-keys" target="_blank" rel="noreferrer" class="link">API Keys</a> to create and copy an API Key.</span><span data-as="p">Keep your API Key secure. Do not share it with others or hard-code it directly in your application. We recommend storing it in an environment variable:</span><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="1" language="shellscript"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_dancjldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_dincjldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cncjldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="1"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">export</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> MOONSHOT_API_KEY</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_KIMI_API_KEY&quot;</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div class="columns prose dark:prose-invert grid max-w-none gap-4 @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:2"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_pcjldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/link.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/link.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_pcjldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi API Platform</h2><div id="_R_pcjldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Sign in to the platform to access the console, development workspace, and user center.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_19cjldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/key.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/key.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_19cjldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">API Keys</h2><div id="_R_19cjldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Create, copy, and manage the keys used for API calls.</span></div></div></div></div></div></div></div></div><div role="listitem" class="step group/step step-container relative flex items-start pb-5"><div data-component-part="step-line" class="absolute w-px h-[calc(100%-2.75rem)] top-11 bg-gray-200/70 dark:bg-white/10" contentEditable="false"></div><div class="absolute ml-[-13px] py-2" data-component-part="step-number" contentEditable="false"><div class="group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center"><div class="group-has-[a:focus-visible]/step-indicator:opacity-0">2</div></div></div><div class="w-full overflow-hidden pl-8 pr-px"><p class="mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200" contentEditable="false" data-component-part="step-title">Choose a model</p><div data-component-part="step-content" class="prose dark:prose-invert"><span data-as="p">For a quickstart, we recommend starting with Kimi K3; you can also choose Kimi K2.7 Code or Kimi K2.6 for specific scenarios.</span><div class="columns prose dark:prose-invert grid max-w-none gap-4 @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:3"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_dd3ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_dd3ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K3</h2><div id="_R_dd3ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Kimi K3 is our flagship model for long-horizon coding and end-to-end knowledge work — 2.8 trillion parameters, a 1M-token context window, and industry-leading intelligence.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_ld3ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_ld3ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K2.7 Code</h2><div id="_R_ld3ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">A coding-focused model with a 256K context window, text/image/video input, and thinking mode. Choose <code>kimi-k2.7-code-highspeed</code> when you need higher output speed.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_td3ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_td3ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K2.6</h2><div id="_R_td3ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">A powerful general-purpose model with a 256K context window, text/image/video input, and both thinking and non-thinking modes. Use it for general chat, agent tasks, visual understanding, and complex reasoning.</span></div></div></div></div></div><div role="note" aria-label="Tip" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20 [&amp;_[data-component-part=&#x27;callout-icon&#x27;]]:mt-px" data-callout-type="tip"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4.5 text-green-800 dark:text-green-300"><path d="M 4.0216 15.9727 C 4.0216 16.1941 4.0855 16.4101 4.2074 16.5947 L 4.81 17.4979 C 4.9946 17.7747 5.4137 18 5.7467 18 H 7.9149 C 8.2468 18 8.6659 17.775 8.8505 17.4979 L 9.451 16.5951 C 9.5543 16.439 9.6391 16.1601 9.6391 15.9727 L 9.6436 14.5945 H 4.0181 L 4.0216 15.9727 Z M 6.8308 0 C 3.2453 0.0113 0.6429 2.9171 0.6429 6.1563 C 0.6429 7.7167 1.2209 9.1392 2.1744 10.2278 C 2.7556 10.8901 3.663 12.2751 4.0104 13.443 C 4.0115 13.4518 4.0137 13.4612 4.0148 13.4706 H 9.6473 C 9.6483 13.4612 9.6505 13.4524 9.6517 13.443 C 9.9988 12.2751 10.9065 10.8901 11.4877 10.2278 C 12.4422 9.1695 13.0189 7.749 13.0189 6.1563 C 13.0189 2.7705 10.2483 0.0001 6.8308 0 Z M 10.2202 9.1449 C 9.6696 9.7724 8.9882 10.7727 8.4956 11.8131 H 5.1692 C 4.6766 10.7727 3.9953 9.7724 3.445 9.1452 C 2.7257 8.3257 2.3305 7.2463 2.3305 6.1563 C 2.3305 3.9835 4.0216 1.6964 6.7992 1.6876 C 9.3131 1.6876 11.3312 3.7058 11.3312 6.1563 C 11.3312 7.2463 10.9374 8.3257 10.2202 9.1449 Z M 6.2683 2.8127 C 4.7178 2.8127 3.4556 4.0749 3.4556 5.6254 C 3.4556 5.9364 3.7072 6.188 4.0181 6.188 C 4.3291 6.188 4.5807 5.9348 4.5807 5.6254 C 4.5807 4.6948 5.3376 3.9378 6.2683 3.9378 C 6.5792 3.9378 6.8308 3.6865 6.8308 3.3756 C 6.8308 3.0647 6.5777 2.8127 6.2683 2.8127 Z" fill="currentColor" stroke="none"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-green-800 dark:text-green-300" data-component-part="callout-content"><span data-as="p">If you are not sure which model to choose, start with <code>kimi-k3</code>. If your task is mainly code generation, code editing, or programming agents and you need higher output speed, choose <code>kimi-k2.7-code-highspeed</code>.</span></div></div></div></div></div><div role="listitem" class="step group/step step-container relative flex items-start pb-5"><div data-component-part="step-line" class="absolute w-px h-[calc(100%-2.75rem)] top-11 bg-gray-200/70 dark:bg-white/10" contentEditable="false"></div><div class="absolute ml-[-13px] py-2" data-component-part="step-number" contentEditable="false"><div class="group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center"><div class="group-has-[a:focus-visible]/step-indicator:opacity-0">3</div></div></div><div class="w-full overflow-hidden pl-8 pr-px"><p class="mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200" contentEditable="false" data-component-part="step-title">Choose an integration method</p><div data-component-part="step-content" class="prose dark:prose-invert"><span data-as="p">Kimi API is compatible with the OpenAI API format, so you can choose the integration method that best fits your technology stack.</span><div class="columns prose dark:prose-invert grid max-w-none gap-4 @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:2"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_ddjldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/globe.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/globe.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_ddjldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">HTTP API</h2><div id="_R_ddjldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">A standard REST API for any language or custom server-side integration.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_ldjldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/terminal.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/terminal.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_ldjldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Playground</h2><div id="_R_ldjldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Test prompts, model behavior, and business examples without writing code.</span></div></div></div></div></div></div></div></div><div role="listitem" class="step group/step step-container relative flex items-start pb-5"><div data-component-part="step-line" class="absolute w-px h-[calc(100%-2.75rem)] top-11 bg-transparent bg-linear-to-b from-gray-200 dark:from-white/10 via-80% to-transparent group-has-[[data-component-part=&quot;step-content&quot;]:empty]/step:hidden" contentEditable="false"></div><div class="absolute ml-[-13px] py-2" data-component-part="step-number" contentEditable="false"><div class="group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center"><div class="group-has-[a:focus-visible]/step-indicator:opacity-0">4</div></div></div><div class="w-full overflow-hidden pl-8 pr-px"><p class="mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200" contentEditable="false" data-component-part="step-title">Make your first call</p><div data-component-part="step-content" class="prose dark:prose-invert"><span data-as="p">The following examples use the Kimi K3 model. Replace <code>MOONSHOT_API_KEY</code> with the API Key you created on the platform, or set an environment variable with the same name before running the examples.</span><div role="note" aria-label="Note" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-blue-200 bg-blue-50 dark:border-blue-900 dark:bg-blue-600/20" data-callout-type="note"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 text-blue-800 dark:text-blue-300"><path d="M 9 1.6714 C 13.0371 1.6714 16.3286 4.9629 16.3286 9 C 16.3286 13.0371 13.0371 16.3286 9 16.3286 C 7.0574 16.3252 5.1953 15.552 3.8217 14.1783 C 2.448 12.8047 1.6748 10.9426 1.6714 9 C 1.6714 4.9629 4.9629 1.6714 9 1.6714 Z M 9 0 C 4.0371 0 0 4.0371 0 9 C 0 13.9629 4.0371 18 9 18 C 13.9629 18 18 13.9629 18 9 C 18 4.0371 13.9629 0 9 0 Z M 10.2857 3.8571 H 7.7143 V 10.2857 H 10.2857 V 3.8571 Z M 10.2857 11.5714 H 7.7143 V 14.1429 H 10.2857 V 11.5714 Z" fill="currentColor" stroke="none" fill-rule="evenodd" clip-rule="evenodd"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-blue-800 dark:text-blue-300" data-component-part="callout-content"><span data-as="p">The examples on this page use the latest model <code>kimi-k3</code> by default. K3 configures reasoning effort with the top-level <code>reasoning_effort</code> request field (supports <code>&quot;low&quot;</code> / <code>&quot;high&quot;</code> / <code>&quot;max&quot;</code>, default <code>&quot;max&quot;</code>). To use another model such as <code>kimi-k2.6</code> or <code>kimi-k2.5</code>, just replace the <code>model</code> field — parameter configurations differ across models. See the <a class="link" href="/docs/api/models-overview">Model Parameter Reference</a>.</span></div></div><div role="note" aria-label="Tip" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20 [&amp;_[data-component-part=&#x27;callout-icon&#x27;]]:mt-px" data-callout-type="tip"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4.5 text-green-800 dark:text-green-300"><path d="M 4.0216 15.9727 C 4.0216 16.1941 4.0855 16.4101 4.2074 16.5947 L 4.81 17.4979 C 4.9946 17.7747 5.4137 18 5.7467 18 H 7.9149 C 8.2468 18 8.6659 17.775 8.8505 17.4979 L 9.451 16.5951 C 9.5543 16.439 9.6391 16.1601 9.6391 15.9727 L 9.6436 14.5945 H 4.0181 L 4.0216 15.9727 Z M 6.8308 0 C 3.2453 0.0113 0.6429 2.9171 0.6429 6.1563 C 0.6429 7.7167 1.2209 9.1392 2.1744 10.2278 C 2.7556 10.8901 3.663 12.2751 4.0104 13.443 C 4.0115 13.4518 4.0137 13.4612 4.0148 13.4706 H 9.6473 C 9.6483 13.4612 9.6505 13.4524 9.6517 13.443 C 9.9988 12.2751 10.9065 10.8901 11.4877 10.2278 C 12.4422 9.1695 13.0189 7.749 13.0189 6.1563 C 13.0189 2.7705 10.2483 0.0001 6.8308 0 Z M 10.2202 9.1449 C 9.6696 9.7724 8.9882 10.7727 8.4956 11.8131 H 5.1692 C 4.6766 10.7727 3.9953 9.7724 3.445 9.1452 C 2.7257 8.3257 2.3305 7.2463 2.3305 6.1563 C 2.3305 3.9835 4.0216 1.6964 6.7992 1.6876 C 9.3131 1.6876 11.3312 3.7058 11.3312 6.1563 C 11.3312 7.2463 10.9374 8.3257 10.2202 9.1449 Z M 6.2683 2.8127 C 4.7178 2.8127 3.4556 4.0749 3.4556 5.6254 C 3.4556 5.9364 3.7072 6.188 4.0181 6.188 C 4.3291 6.188 4.5807 5.9348 4.5807 5.6254 C 4.5807 4.6948 5.3376 3.9378 6.2683 3.9378 C 6.5792 3.9378 6.8308 3.6865 6.8308 3.3756 C 6.8308 3.0647 6.5777 2.8127 6.2683 2.8127 Z" fill="currentColor" stroke="none"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-green-800 dark:text-green-300" data-component-part="callout-content"><span data-as="p">To use the high-speed model for coding scenarios, replace <code>kimi-k3</code> in the examples with <code>kimi-k2.7-code-highspeed</code>; to call Kimi K2.6, replace it with <code>kimi-k2.6</code>.</span></div></div><div class="tabs tabs tab-container"><ul role="tablist" class="not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-gray-200 gap-x-6 flex dark:border-gray-200/10" data-component-part="tabs-list"><li id="python" role="tab" aria-selected="true" aria-controls="panel-python-0" tabindex="0" class="cursor-pointer"><div class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-primary dark:text-primary-light border-current" data-component-part="tab-button" data-active="true" data-testid="tab-python"> <!-- -->python</div></li><li id="curl" role="tab" aria-selected="false" aria-controls="panel-curl-1" tabindex="-1" class="cursor-pointer"><div class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-gray-900 border-transparent hover:border-gray-300 dark:text-gray-200 dark:hover:border-gray-700" data-component-part="tab-button" data-active="false" data-testid="tab-curl"> <!-- -->curl</div></li><li id="node-js" role="tab" aria-selected="false" aria-controls="panel-node-js-2" tabindex="-1" class="cursor-pointer"><div class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-gray-900 border-transparent hover:border-gray-300 dark:text-gray-200 dark:hover:border-gray-700" data-component-part="tab-button" data-active="false" data-testid="tab-node.js"> <!-- -->node.js</div></li></ul><div><div id="panel-python-0" role="tabpanel" aria-labelledby="python" tabindex="0" class="prose dark:prose-invert overflow-x-auto [&amp;_[data-table-wrapper]]:![--page-padding:0px] [&amp;_[role=&quot;listitem&quot;]]:pl-4 [&amp;&gt;:first-child:not(p)]:mt-0 [&amp;&gt;:first-child:not(p)_img]:mt-0 [&amp;&gt;:first-child[data-table-wrapper]]:pt-0!" data-component-part="tab-content"><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="17" language="python"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_dam9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_dim9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cm9e3ldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="python"><code language="python" numberOfLines="17"><span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> os</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> openai </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> OpenAI</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">client </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> OpenAI(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE"> api_key</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">os.environ[</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;MOONSHOT_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">],</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE"> base_url</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;https://api.moonshot.ai/v1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">completion </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> client.chat.completions.create(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE"> model</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;kimi-k3&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE"> messages</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;system&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">},</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Hi, my name is Li Lei. What is 1+1?&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ]</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#DCDCAA">print</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(completion.choices[</span><span style="color:#0550AE;--shiki-dark:#B5CEA8">0</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">].message.content)</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div><div id="panel-curl-1" role="tabpanel" aria-labelledby="curl" tabindex="0" class="prose dark:prose-invert overflow-x-auto [&amp;_[data-table-wrapper]]:![--page-padding:0px] [&amp;_[role=&quot;listitem&quot;]]:pl-4 [&amp;&gt;:first-child:not(p)]:mt-0 [&amp;&gt;:first-child:not(p)_img]:mt-0 [&amp;&gt;:first-child[data-table-wrapper]]:pt-0! hidden" data-component-part="tab-content"><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="10" language="shellscript"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_daq9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_diq9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cq9e3ldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="10"><span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0A3069;--shiki-dark:#CE9178"> https://api.moonshot.ai/v1/chat/completions</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6"> -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6"> -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Authorization: Bearer </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$MOONSHOT_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6"> -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;model&quot;: &quot;kimi-k3&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;messages&quot;: [</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> {&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: &quot;You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.&quot;},</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Hi, my name is Li Lei. What is 1+1?&quot;}</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> ]</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178"> }&#x27;</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div><div id="panel-node-js-2" role="tabpanel" aria-labelledby="node-js" tabindex="0" class="prose dark:prose-invert overflow-x-auto [&amp;_[data-table-wrapper]]:![--page-padding:0px] [&amp;_[role=&quot;listitem&quot;]]:pl-4 [&amp;&gt;:first-child:not(p)]:mt-0 [&amp;&gt;:first-child:not(p)_img]:mt-0 [&amp;&gt;:first-child[data-table-wrapper]]:pt-0! hidden" data-component-part="tab-content"><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="20" language="javascript"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_dau9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_diu9e3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cu9e3ldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="javascript"><code language="javascript" numberOfLines="20"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> OpenAI</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> require</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;openai&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> client</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> OpenAI</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE"> apiKey:</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> process</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">env</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#0550AE;--shiki-dark:#4FC1FF">MOONSHOT_API_KEY</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE"> baseURL:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;https://api.moonshot.ai/v1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">async</span><span style="color:#CF222E;--shiki-dark:#569CD6"> function</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">() {</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6"> const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> completion</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#C586C0"> await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> client</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">chat</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">completions</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">create</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE"> model:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;kimi-k3&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE"> messages:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> [</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;system&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">},</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Hi, my name is Li Lei. What is 1+1?&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ]</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> });</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE"> console</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">completion</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">choices</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[</span><span style="color:#0550AE;--shiki-dark:#B5CEA8">0</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">].</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">message</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">content</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#8250DF;--shiki-dark:#DCDCAA">main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">();</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div></div></div><span data-as="p">Before running the examples, prepare:</span><ol>
<li>Python 3.8 or later, or Node.js 18 or later.</li>
<li>OpenAI SDK 1.0.0 or later. Kimi API is compatible with the OpenAI API format, so you can call Kimi directly with the OpenAI Python or Node.js SDK.<!-- -->
<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="3" language="text"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_1lasde3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_1masde3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_1isde3ldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="text"><code language="text" numberOfLines="3"><span class="line"><span>pip install --upgrade &#x27;openai&gt;=1.0&#x27; # Python</span></span>
<span class="line"><span>npm install openai@latest # Node.js</span></span>
<span class="line"><span></span></span></code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
</li>
<li>An API Key. Create an API Key in the <a href="https://platform.kimi.ai/console/api-keys" target="_blank" rel="noreferrer" class="link">Kimi API Platform</a>, then pass it to the <code>OpenAI Client</code> so the platform can identify your account.</li>
</ol><span data-as="p">If the code runs successfully without errors, you will see output similar to:</span><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="2" language="text"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_qlhe3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_r5he3ldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_phe3ldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="text"><code language="text" numberOfLines="2"><span class="line"><span>Hello, Li Lei! 1+1 equals 2. This is a basic arithmetic question. If you have any other questions or need help, feel free to let me know.</span></span>
<span class="line"><span></span></span></code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><span data-as="p"><em>Note: Because Kimi models are nondeterministic, the actual response may not exactly match the example above.</em></span></div></div></div></div>
<h2 class="flex whitespace-pre-wrap group font-semibold" id="explore-more-features"><div class="absolute" tabindex="-1"><a href="#explore-more-features" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header"><div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Explore more features</span></h2>
<div class="columns prose dark:prose-invert grid max-w-none gap-4 @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:3"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_lldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/bolt.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/bolt.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_lldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Streaming output</h2><div id="_R_lldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Enable <code>stream</code> to receive tokens as they are generated. Useful for chat, code generation, and long-form text output.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_15ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/comments.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/comments.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_15ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Multi-turn chat</h2><div id="_R_15ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Maintain a <code>messages</code> list to preserve context history, letting the model remember the conversation.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_1lldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/image.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/image.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_1lldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Multimodal input</h2><div id="_R_1lldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Kimi K3, Kimi K2.7 Code, and Kimi K2.6 all support text, image, and video input.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_25ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/wrench.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/wrench.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_25ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Tool calls</h2><div id="_R_25ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Let the model call external functions or APIs for Agent tasks, web search, and complex workflows.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_2lldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_2lldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">JSON Mode</h2><div id="_R_2lldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Force the model to output valid JSON for structured data extraction and downstream integration.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_35ldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_35ldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Thinking models</h2><div id="_R_35ldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Use reasoning capabilities for complex tasks, multi-step tool use, and Agent workflows.</span></div></div></div></div></div>
<h3 class="flex whitespace-pre-wrap group font-semibold" id="streaming-output"><div class="absolute" tabindex="-1"><a href="#streaming-output" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header"><div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Streaming output</span></h3>
<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="10" language="json"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_danldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_dinldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cnldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="json"><code language="json" numberOfLines="10"><span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;model&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;kimi-k3&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;messages&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Please explain what recursion is and give a Python example.&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ],</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;stream&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#569CD6">true</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
<h3 class="flex whitespace-pre-wrap group font-semibold" id="multimodal-input"><div class="absolute" tabindex="-1"><a href="#multimodal-input" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header"><div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Multimodal input</span></h3>
<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" numberOfLines="20" language="json"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="z-10 select-none" id="base-ui-_R_dapldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_dipldd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_cpldd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="json"><code language="json" numberOfLines="20"><span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;model&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;kimi-k3&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;messages&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;type&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;image_url&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;image_url&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: {</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;url&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;data:image/png;base64,...&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;type&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;text&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE"> &quot;text&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Please describe this image.&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ]</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ]</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
<div role="note" aria-label="Warning" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-yellow-200 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-600/20 [&amp;_[data-component-part=&#x27;callout-icon&#x27;]]:mt-px" data-callout-type="warning"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="flex-none size-5 text-yellow-800 dark:text-yellow-300"><path d="M 9 6.75 v 1.5 m 0 3 h 0.0075 m -5.2035 3 h 10.392 c 1.155 0 1.8765 -1.2503 1.299 -2.25 L 10.299 3 c -0.5775 -0.9997 -2.0205 -0.9997 -2.598 0 L 2.505 12 c -0.5775 0.9997 0.144 2.25 1.299 2.25 z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-yellow-800 dark:text-yellow-300" data-component-part="callout-content"><span data-as="p">For larger videos, or images and videos that need to be referenced multiple times, we recommend using file uploads. Images should be no larger than 4K resolution, and videos should be no larger than 1080p.</span></div></div>
<h2 class="flex whitespace-pre-wrap group font-semibold" id="related-resources"><div class="absolute" tabindex="-1"><a href="#related-resources" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header"><div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Related resources</span></h2>
<div class="columns prose dark:prose-invert grid max-w-none gap-4 @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:2"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_sldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_sldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K3 model</h2><div id="_R_sldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">View Kimi K3 capabilities, calling examples, and best practices.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_1cldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/code.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_1cldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K2.7 Code model</h2><div id="_R_1cldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">View Kimi K2.7 Code capabilities, calling examples, and best practices.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_1sldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/brain.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_1sldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Kimi K2.6 model</h2><div id="_R_1sldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">View Kimi K2.6 capabilities, image/video understanding examples, and tool calling guidance.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_2cldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/list.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/list.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_2cldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Model list</h2><div id="_R_2cldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">View currently available model names and descriptions.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_2sldd7av5tccsnisnpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/comments.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/comments.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_2sldd7av5tccsnisnpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Join the Kimi Developer Community</h2><div id="_R_2sldd7av5tccsnisnpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Ask questions, share feedback, and showcase what you are building with Kimi.</span></div></div></div></div></div></div><div class="feedback-toolbar pb-16 w-full flex flex-col gap-y-8"><div class="flex flex-row flex-wrap gap-4 items-center justify-between"><p class="inline-block text-sm text-gray-600 dark:text-gray-400 whitespace-nowrap">Was this page helpful?</p><div class="flex flex-wrap grow gap-3 items-center justify-end"><div class="flex gap-3 items-center"><button id="feedback-thumbs-up" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-current"><path d="M5.25 7.494C5.25 7.014 5.423 6.55 5.736 6.187L10 1.25C10.854 1.677 11.25 2.678 10.92 3.574L9.75 6.75H14.152C15.465 6.75 16.421 7.993 16.085 9.262L14.894 13.762C14.662 14.639 13.868 15.25 12.961 15.25H7.25C6.145 15.25 5.25 14.355 5.25 13.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.25 6.75H2.75C2.19772 6.75 1.75 7.19772 1.75 7.75V14.25C1.75 14.8023 2.19772 15.25 2.75 15.25H4.25C4.80228 15.25 5.25 14.8023 5.25 14.25V7.75C5.25 7.19772 4.80228 6.75 4.25 6.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><small class="text-sm font-normal leading-4">Yes</small></button><button id="feedback-thumbs-down" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-current"><path d="M5.25 10.506C5.25 10.986 5.423 11.45 5.736 11.813L10 16.75C10.854 16.323 11.25 15.322 10.92 14.426L9.75 11.25H14.152C15.465 11.25 16.421 10.007 16.085 8.738L14.894 4.238C14.662 3.361 13.868 2.75 12.961 2.75H7.25C6.145 2.75 5.25 3.645 5.25 4.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.25 2.75H2.75C2.19772 2.75 1.75 3.19772 1.75 3.75V10.25C1.75 10.8023 2.19772 11.25 2.75 11.25H4.25C4.80228 11.25 5.25 10.8023 5.25 10.25V3.75C5.25 3.19772 4.80228 2.75 4.25 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><small class="text-sm font-normal leading-4">No</small></button></div><div class="flex gap-3"></div></div></div></div><nav id="pagination" aria-label="Pagination" class="px-0.5 flex items-center gap-6 text-sm font-semibold text-gray-700 dark:text-gray-200"><a rel="next" aria-label="Next: Model List" data-component-part="pagination-next" class="group flex items-center min-w-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light gap-3 rounded-sm ml-auto pagination-next" href="/docs/models"><div class="truncate group-hover:text-gray-900 dark:group-hover:text-white" data-component-part="pagination-title">Model List</div><svg viewBox="0 0 3 6" aria-hidden="true" data-component-part="pagination-chevron" class="h-1.5 shrink-0 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300 rotate-180"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></nav><div class="left-0 right-0 sticky bottom-0 w-full overflow-hidden z-20 pointer-events-none print:hidden invisible" aria-hidden="true"><div class="chat-assistant-floating-input w-full group/assistant-bar relative before:content-[&quot;&quot;] before:absolute before:left-0 before:right-0 before:top-1/2 before:h-[200px] before:bg-transparent dark:before:bg-transparent translate-y-[100px] opacity-0"><div class="relative pb-4 sm:pb-6"><div class="flex flex-col w-full rounded-2xl pointer-events-auto bg-background-light dark:bg-background-dark border border-gray-200 dark:border-white/30 focus-within:border-primary dark:focus-within:border-primary-light transition-colors cursor-pointer max-w-[386px] mx-auto"><div class="relative flex items-end"><textarea id="chat-assistant-textarea" aria-label="Ask a question..." autoComplete="off" placeholder="Ask a question..." class="chat-assistant-input w-full bg-transparent border-0 peer/input text-gray-900 dark:text-gray-100 placeholder-gray-500 dark:placeholder-gray-400 outline-hidden! focus:outline-hidden! focus:ring-0 py-2.5 pl-3.5 pr-10 font-bodyWeight text-sm" style="resize:none"></textarea><span class="absolute right-11 bottom-3 text-xs font-medium text-gray-400 dark:text-gray-500 select-none pointer-events-none peer-focus/input:hidden hidden sm:inline"><!-- -->I</span><button class="chat-assistant-send-button flex justify-center items-center rounded-full p-1 size-6 bg-primary/30 dark:bg-primary-dark/30 absolute right-2.5 bottom-2" aria-label="Send message" disabled=""><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-2.5 shrink-0 text-white dark:text-white"><path d="M9.0 1.5754L8.9999 16.4171" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.2563 8.319L8.9999 1.5754L15.7435 8.3191" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div></div></div></div><footer id="footer" class="flex gap-12 justify-between pt-10 border-t border-gray-100 sm:flex dark:border-gray-800/50 pb-28"><div class="flex gap-6 flex-wrap"><a href="https://x.com/Kimi_Moonshot" target="_blank" class="h-fit"><span class="sr-only">x</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://github.com/MoonshotAI" target="_blank" class="h-fit"><span class="sr-only">github</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://www.linkedin.com/company/kimi-ai-linkedin" target="_blank" class="h-fit"><span class="sr-only">linkedin</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://discord.com/invite/TYU2fdJykW?source=docs_footer" target="_blank" class="h-fit"><span class="sr-only">discord</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/discord.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/discord.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://forum.moonshot.ai/?source=docs_footer" target="_blank" class="h-fit"><span class="sr-only">website</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/earth-americas.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/earth-americas.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a></div></footer></div></div></main></div><!--$--><!--/$--></div></div></div><script src="/docs/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n9:I[168027,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n:HL[\"/docs/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"style\"]\n:HL[\"/docs/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"style\"]\n:HL[\"/docs/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/docs/_next/static/media/PaperMono_Variable.p.590789cb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/docs/_next/static/media/f67ad414ed34149c.p.84166d94.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"WmguKwEPVLOiRhQKoBtUr\",\"p\":\"/docs\",\"c\":[\"\",\"_sites\",\"moonshotai\",\"overview\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"%5Fsites\",{\"children\":[[\"subdomain\",\"moonshotai\",\"d\"],{\"children\":[\"(multitenant)\",{\"children\":[[\"slug\",\"overview\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]}]}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"suppressHydrationWarning\":true,\"lang\":\"en\",\"className\":\"inter_1d81deff-module__CYM0aG__variable papermono_89c757f2-module__6aS5zq__variable dark\",\"data-banner-state\":\"visible\",\"data-assistant-state\":\"closed\",\"data-page-mode\":\"none\",\"data-current-path\":\"/\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){var b=\\\"/docs\\\";\\nfunction a(p){if(p==null)return\\\"/\\\";p=\\\"\\\"+p;if(\\\"\\\"===p)return\\\"/\\\";return\\\"/\\\"===p.charAt(0)?p:\\\"/\\\"+p}\\nfunction u(p){if(p==null)return p;p=\\\"\\\"+p;if(!p||p.charAt(p.length-1)===\\\"/\\\")return p.slice(0,-1);return p}\\nfunction i(p){if(p==null)return p;p=\\\"\\\"+p;if(6\u003c=p.length\u0026\u0026p.substring(p.length-6)===\\\"/index\\\")return p.substring(0,p.length-6);if(\\\"index\\\"===p)return\\\"\\\";return p}\\nvar p=(location.pathname||\\\"\\\").split(\\\"?\\\")[0].split(\\\"#\\\")[0]||\\\"\\\";\\nif(b)if(p===b)p=\\\"\\\";else if(0===p.indexOf(b+\\\"/\\\"))p=p.substring(b.length);\\np=a(p);p=u(p);p=i(p);p=\\\"\\\"===p||\\\"index\\\"===p?\\\"/\\\":a(p);\\ndocument.documentElement.setAttribute(\\\"data-current-path\\\",p);\\n}();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){\\nfunction read(){try{\\nvar e=performance.getEntriesByType?performance.getEntriesByType(\\\"navigation\\\"):[];\\nvar st=(e[0]\u0026\u0026e[0].serverTiming)||[];\\nvar g={};\\nfor(var i=0;i\u003cst.length;i++){var n=st[i].name,d=st[i].description;if(!d)continue;try{d=decodeURIComponent(d)}catch(x){}\\nif(n===\\\"country\\\")g.country=d;else if(n===\\\"region\\\")g.region=d;else if(n===\\\"continent\\\")g.continent=d;}\\nvar w=window;w.mintlify=w.mintlify||{};w.mintlify.geo=g;\\n}catch(x){}}\\nread();document.addEventListener(\\\"DOMContentLoaded\\\",read);\\n}();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){try{\\nvar w=window;w.mintlify=w.mintlify||{};\\nvar q=w.mintlify.__apiPlaygroundInputsQueue;\\nif(!Array.isArray(q)){q=[];w.mintlify.__apiPlaygroundInputsQueue=q;}\\nw.mintlify.api=w.mintlify.api||{};\\nw.mintlify.api.playground=w.mintlify.api.playground||{};\\nif(typeof w.mintlify.api.playground.setServerVariables!==\\\"function\\\"){\\nw.mintlify.api.playground.setServerVariables=function(v){q.push({type:\\\"set\\\",variables:v});};\\n}\\nif(typeof w.mintlify.api.playground.clearServerVariables!==\\\"function\\\"){\\nw.mintlify.api.playground.clearServerVariables=function(){q.push({type:\\\"clear\\\"});};\\n}\\n}catch(e){}}();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(a,b){try{let c=document.getElementById(\\\"banner\\\")?.innerText;if(c){for(let d=0;d\u003clocalStorage.length;d++){let e=localStorage.key(d);if(e?.endsWith(a)\u0026\u0026localStorage.getItem(e)===c)return void document.documentElement.setAttribute(b,\\\"hidden\\\")}document.documentElement.setAttribute(b,\\\"visible\\\");return}for(let c=0;c\u003clocalStorage.length;c++){let d=localStorage.key(c);if(d?.endsWith(a)\u0026\u0026localStorage.getItem(d))return void document.documentElement.setAttribute(b,\\\"hidden\\\")}document.documentElement.setAttribute(b,\\\"visible\\\")}catch(a){document.documentElement.setAttribute(b,\\\"hidden\\\")}})(\\n \\\"bannerDismissed\\\",\\n \\\"data-banner-state\\\",\\n)\"}}],false]}],\"$L2\"]}]]}],{\"children\":[\"%5Fsites\",\"$L3\",{\"children\":[[\"subdomain\",\"moonshotai\",\"d\"],\"$L4\",{\"children\":[\"(multitenant)\",\"$L5\",{\"children\":[[\"slug\",\"overview\",\"oc\"],\"$L6\",{\"children\":[\"__PAGE__\",\"$L7\",{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],\"$L8\",false]],\"m\":\"$undefined\",\"G\":[\"$9\",[\"$La\",\"$Lb\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[667786,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"MintlifyApiPlaygroundInputsInit\"]\nd:I[339756,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\ne:I[556357,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/4e3c737526742325.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\nf:I[837457,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"10:I[894587,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ThemeProvider\"]\n"])</script><script>self.__next_f.push([1,"11:I[152823,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ColorVariables\"]\n"])</script><script>self.__next_f.push([1,"12:I[531961,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"FontScript\"]\n"])</script><script>self.__next_f.push([1,"13:I[649328,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"RoundedVariables\"]\n"])</script><script>self.__next_f.push([1,"14:I[702910,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/08022854dff8e90b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"RecommendedPagesList\"]\n15:I[570420,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"DataCurrentPathUpdater\"]\n16:I[341175,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/7fba55ae9dbf5b28.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n19:I[897367,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"OutletBoundary\"]\n1b:I[711533,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"AsyncMetadataOutlet\"]\n1d:I[897367,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t"])</script><script>self.__next_f.push([1,"7ApsQ\"],\"ViewportBoundary\"]\n1f:I[897367,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"MetadataBoundary\"]\n20:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"2:[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[[\"$\",\"$Lc\",null,{}],false,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$e\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/4e3c737526742325.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}]],\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L10\",null,{\"children\":[[\"$\",\"$L11\",null,{}],[\"$\",\"$L12\",null,{}],[\"$\",\"$L13\",null,{}],[\"$\",\"style\",null,{\"children\":\":root {\\n --primary: 17 120 102;\\n --primary-light: 74 222 128;\\n --primary-dark: 22 101 52;\\n --background-light: 255 255 255;\\n --background-dark: 15 17 23;\\n}\"}],[\"$\",\"main\",null,{\"className\":\"h-screen bg-background-light dark:bg-background-dark text-left\",\"children\":[\"$\",\"article\",null,{\"className\":\"bg-custom bg-fixed bg-center bg-cover relative flex flex-col items-center justify-center h-full\",\"children\":[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl px-10\",\"children\":[[\"$\",\"span\",null,{\"className\":\"inline-flex mb-6 rounded-full px-3 py-1 text-sm font-semibold mr-4 text-white p-1 bg-primary\",\"children\":[\"Error \",404]}],[\"$\",\"h1\",null,{\"className\":\"font-semibold mb-3 text-3xl\",\"children\":\"Page not found!\"}],[\"$\",\"p\",null,{\"className\":\"text-lg text-gray-600 dark:text-gray-400 mb-6\",\"children\":\"We couldn't find the page.\"}],[\"$\",\"$L14\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],false,[\"$\",\"$L15\",null,{}]]}]\n"])</script><script>self.__next_f.push([1,"3:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"4:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$16\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/7fba55ae9dbf5b28.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true}]],\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L10\",null,{\"children\":[[\"$\",\"$L11\",null,{}],[\"$\",\"$L12\",null,{}],[\"$\",\"$L13\",null,{}],[\"$\",\"style\",null,{\"children\":\":root {\\n --primary: 17 120 102;\\n --primary-light: 74 222 128;\\n --primary-dark: 22 101 52;\\n --background-light: 255 255 255;\\n --background-dark: 15 17 23;\\n}\"}],[\"$\",\"main\",null,{\"className\":\"h-screen bg-background-light dark:bg-background-dark text-left\",\"children\":[\"$\",\"article\",null,{\"className\":\"bg-custom bg-fixed bg-center bg-cover relative flex flex-col items-center justify-center h-full\",\"children\":[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl px-10\",\"children\":[[\"$\",\"span\",null,{\"className\":\"inline-flex mb-6 rounded-full px-3 py-1 text-sm font-semibold mr-4 text-white p-1 bg-primary\",\"children\":[\"Error \",404]}],[\"$\",\"h1\",null,{\"className\":\"font-semibold mb-3 text-3xl\",\"children\":\"Page not found!\"}],[\"$\",\"p\",null,{\"className\":\"text-lg text-gray-600 dark:text-gray-400 mb-6\",\"children\":\"We couldn't find the page.\"}],[\"$\",\"$L14\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"5:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-9\",{\"src\":\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-10\",{\"src\":\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-11\",{\"src\":\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}]],\"$L17\"]}]\n"])</script><script>self.__next_f.push([1,"6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[\"$L18\",[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L19\",null,{\"children\":[\"$L1a\",[\"$\",\"$L1b\",null,{\"promise\":\"$@1c\"}]]}]]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1d\",null,{\"children\":\"$L1e\"}],null],[\"$\",\"$L1f\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$20\",null,{\"fallback\":null,\"children\":\"$L21\"}]}]}]]}]\na:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\nb:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"}]]\n1a:null\n"])</script><script>self.__next_f.push([1,"1c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Quickstart - Kimi API Platform\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Create an API Key and complete your first Kimi API call.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"Kimi API Platform\"}],[\"$\",\"meta\",\"3\",{\"name\":\"generator\",\"content\":\"Mintlify\"}],[\"$\",\"meta\",\"4\",{\"name\":\"keywords\",\"content\":\"Kimi K3,Moonshot AI,K3 Large Language Model,AI API,Tool Calling,Code Generation,Intelligent Dialogue,AI Agent,Open-source Model,Long Context,Claw Bot\"}],[\"$\",\"meta\",\"5\",{\"name\":\"robots\",\"content\":\"index,follow\"}],[\"$\",\"meta\",\"6\",{\"name\":\"msapplication-config\",\"content\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/browserconfig.xml\"}],[\"$\",\"meta\",\"7\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Kimi API Platform\"}],[\"$\",\"meta\",\"8\",{\"name\":\"msapplication-TileColor\",\"content\":\"#111111\"}],[\"$\",\"meta\",\"9\",{\"name\":\"og:locale\",\"content\":\"en-US\"}],[\"$\",\"meta\",\"10\",{\"name\":\"og:image:alt\",\"content\":\"Kimi API Platform\"}],[\"$\",\"link\",\"11\",{\"rel\":\"canonical\",\"href\":\"https://platform.kimi.ai/docs/overview\"}],[\"$\",\"link\",\"12\",{\"rel\":\"alternate\",\"type\":\"application/xml\",\"href\":\"/docs/sitemap.xml\"}],[\"$\",\"link\",\"13\",{\"rel\":\"alternate\",\"type\":\"text/markdown\",\"href\":\"/docs/overview.md\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:title\",\"content\":\"Quickstart - Kimi API Platform\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:description\",\"content\":\"Create an API Key and complete your first Kimi API call.\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:url\",\"content\":\"https://platform.kimi.ai/docs/overview\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:site_name\",\"content\":\"Kimi API Platform\"}],[\"$\",\"meta\",\"18\",{\"property\":\"og:image\",\"content\":\"https://platform.kimi.ai/og.png?v=1\"}],[\"$\",\"meta\",\"19\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"20\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"21\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:title\",\"content\":\"Quickstart - Kimi API Platform\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:description\",\"content\":\"Create an API Key and complete your first Kimi API call.\"}],[\"$\",\"meta\",\"25\",{\"name\":\"twitter:image\",\"content\":\"https://platform.kimi.ai/og.png?v=1\"}],[\"$\",\"meta\",\"26\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"27\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"28\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"29\",{\"rel\":\"apple-touch-icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/apple-touch-icon.png\",\"type\":\"image/png\",\"sizes\":\"180x180\",\"media\":\"$undefined\"}],[\"$\",\"link\",\"30\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"31\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"32\",{\"rel\":\"shortcut icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"33\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: dark)\"}],[\"$\",\"link\",\"34\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: dark)\"}],[\"$\",\"link\",\"35\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: dark)\"}],\"$L22\",\"$L23\"],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"21:\"$1c:metadata\"\n"])</script><script>self.__next_f.push([1,"24:I[27201,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"IconMark\"]\n22:[\"$\",\"link\",\"36\",{\"rel\":\"shortcut icon\",\"href\":\"/docs/_mintlify/favicons/moonshotai/6rzjGwhLi_bSodW_/_generated/favicon-dark/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: dark)\"}]\n23:[\"$\",\"$L24\",\"37\",{}]\n"])</script><script>self.__next_f.push([1,"25:I[707934,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"WebMcpRegistration\"]\n"])</script><script>self.__next_f.push([1,"26:I[590280,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"LivePreviewProvider\"]\n"])</script><script>self.__next_f.push([1,"27:I[479520,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"\"]\n"])</script><script>self.__next_f.push([1,"28:I[197336,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"29:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"AuthProvider\"]\n"])</script><script>self.__next_f.push([1,"2a:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"DeploymentMetadataProvider\"]\n"])</script><script>self.__next_f.push([1,"2b:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"DocsConfigProvider\"]\n"])</script><script>self.__next_f.push([1,"2d:I[597003,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ScopedNavProvider\"]\n"])</script><script>self.__next_f.push([1,"17:[null,[\"$\",\"$L25\",null,{\"subdomain\":\"moonshotai\"}],[\"$\",\"$L26\",null,{\"isLivePreviewRoute\":false,\"children\":[\"$\",\"$L10\",null,{\"appearance\":\"$undefined\",\"codeblockTheme\":\"system\",\"children\":[[\"$\",\"blockquote\",null,{\"className\":\"sr-only\",\"data-agent-docs-index\":true,\"aria-hidden\":\"true\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Documentation Index\"}],[\"$\",\"p\",null,{\"children\":[\"Fetch the complete documentation index at:\",\" \",[\"$\",\"a\",null,{\"href\":\"/docs/llms.txt\",\"tabIndex\":-1,\"children\":\"/docs/llms.txt\"}]]}],[\"$\",\"p\",null,{\"children\":\"Use this file to discover all available pages before exploring further.\"}]]}],false,false,null,null,[\"$\",\"$L27\",null,{\"id\":\"_mintlify-banner-script\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function j(a,b,c,d,e){try{let f,g,h=[];try{h=window.location.pathname.split(\\\"/\\\").filter(a=\u003e\\\"\\\"!==a\u0026\u0026\\\"global\\\"!==a).slice(0,2)}catch{h=[]}let i=h.find(a=\u003ec.includes(a)),j=[];for(let c of(i?j.push(i):j.push(b),j.push(\\\"global\\\"),j)){if(!c)continue;let b=a[c];if(b?.content){f=b.content,g=c;break}}if(!f)return void document.documentElement.setAttribute(d,\\\"hidden\\\");let k=!0,l=0;for(;l\u003clocalStorage.length;){let a=localStorage.key(l);if(l++,!a?.endsWith(e))continue;let b=localStorage.getItem(a);if(b\u0026\u0026b===f){k=!1;break}g\u0026\u0026(a.startsWith(`lang:${g}_`)||!a.startsWith(\\\"lang:\\\"))\u0026\u0026(localStorage.removeItem(a),l--)}document.documentElement.setAttribute(d,k?\\\"visible\\\":\\\"hidden\\\")}catch(a){console.error(a),document.documentElement.setAttribute(d,\\\"hidden\\\")}})(\\n {\\\"global\\\":{\\\"content\\\":\\\"🎉 Kimi K3 has launched! [Start exploring now!](/docs/guide/kimi-k3-quickstart)\\\",\\\"dismissible\\\":false}},\\n \\\"en\\\",\\n [],\\n \\\"data-banner-state\\\",\\n \\\"bannerDismissed\\\",\\n)\"}}],[\"$\",\"$L28\",null,{\"appId\":\"$undefined\",\"autoBoot\":true,\"children\":[\"$\",\"$L29\",null,{\"value\":{\"auth\":\"$undefined\",\"userAuth\":\"$undefined\"},\"children\":[\"$\",\"$L2a\",null,{\"value\":{\"subdomain\":\"moonshotai\",\"actualSubdomain\":\"moonshotai\",\"gitSource\":{\"type\":\"github\",\"owner\":\"moonshotai\",\"repo\":\"kimi-platform-docs\",\"deployBranch\":\"master\",\"contentDirectory\":\"global\",\"isPrivate\":true,\"mountPath\":\"\",\"label\":\"\"},\"inkeep\":\"$undefined\",\"chroma\":{\"liveDeploymentHistoryId\":\"6a71a874aded0c86d6c3e126\",\"collectionId\":\"b462234c-9019-4d8a-96a2-42958ce97c01\",\"schemaVersion\":\"v3\",\"latestBuiltDeploymentHistoryId\":\"6a71a874aded0c86d6c3e126\"},\"feedback\":{\"thumbs\":true},\"entitlements\":{\"AI_CHAT\":{\"status\":\"ENABLED\"},\"REMOVE_BRANDING\":{\"status\":\"ENABLED\"},\"CONTEXTUAL_FEEDBACK\":{\"status\":\"ENABLED\"},\"CODE_SNIPPET_FEEDBACK\":{\"status\":\"ENABLED\"}},\"buildId\":\"6a71a874aded0c86d6c3e126:success\",\"clientVersion\":\"0.0.3414\",\"preview\":\"$undefined\",\"searchFilterCounts\":[{\"language\":\"default\",\"tag\":\"Guides\",\"count\":33},{\"language\":\"default\",\"tag\":\"API Reference\",\"count\":20},{\"language\":\"default\",\"tag\":\"Model Capabilities\",\"count\":9},{\"language\":\"default\",\"tag\":\"Pricing\",\"count\":9},{\"language\":\"default\",\"tag\":\"Resources\",\"count\":8},{\"language\":\"default\",\"tag\":\"Help Center\",\"count\":6},{\"language\":\"default\",\"tag\":\"Files\",\"count\":6},{\"language\":\"default\",\"tag\":\"Integrations\",\"count\":6},{\"language\":\"default\",\"tag\":\"Tooling workflows\",\"count\":6},{\"language\":\"default\",\"tag\":\"Model Pricing\",\"count\":6}],\"searchSettings\":\"$undefined\"},\"children\":[\"$\",\"$L2b\",null,{\"value\":{\"docsConfig\":{\"theme\":\"mint\",\"$schema\":\"https://mintlify.com/docs.json\",\"name\":\"Kimi API Platform\",\"description\":\"Kimi K3 is our flagship model for long-horizon coding and end-to-end knowledge work, with a 1M-token context window and industry-leading intelligence. The Kimi API Platform provides K3, K2.7 Code, K2.6 and other large language model APIs, supporting long context, multimodal understanding, and Tool Calling.\",\"colors\":{\"primary\":\"#111111\",\"light\":\"#F5F5F5\",\"dark\":\"#111111\"},\"logo\":{\"light\":\"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=X_5b_eA1iuJP595e\u0026q=85\u0026s=f68cf2d80f8d7f0363e088d2b988a598\",\"dark\":\"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=X_5b_eA1iuJP595e\u0026q=85\u0026s=297861f343cd86556341fb85b17cb13d\",\"href\":\"https://platform.kimi.ai\"},\"favicon\":{\"light\":\"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/pics/favicon.ico?fit=max\u0026auto=format\u0026n=X_5b_eA1iuJP595e\u0026q=85\u0026s=f5dbc381f82faaf2356c1d1bd7199526\",\"dark\":\"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/pics/favicon-dark.ico?fit=max\u0026auto=format\u0026n=X_5b_eA1iuJP595e\u0026q=85\u0026s=0330e19f739be705f4a0bacdbdea87a3\"},\"api\":{\"openapi\":\"openapi.json\",\"examples\":{\"defaults\":\"required\"}},\"navbar\":{\"links\":[{\"href\":\"https://www.kimi.com/membership/pricing?from=platform_page\u0026open=business\",\"label\":\"Kimi Business\"},{\"href\":\"https://platform.kimi.ai/contact-sales\",\"label\":\"Contact Sales\"},{\"href\":\"/api/join-the-community\",\"label\":\"Community\"},{\"href\":\"https://platform.kimi.ai/playground\",\"label\":\"Playground\"},{\"href\":\"https://platform.kimi.ai/console/account\",\"label\":\"User Center\"}]},\"footer\":{\"socials\":{\"x\":\"https://x.com/Kimi_Moonshot\",\"github\":\"https://github.com/MoonshotAI\",\"linkedin\":\"https://www.linkedin.com/company/kimi-ai-linkedin\",\"discord\":\"https://discord.com/invite/TYU2fdJykW?source=docs_footer\",\"website\":\"https://forum.moonshot.ai/?source=docs_footer\"}},\"seo\":{\"metatags\":{\"og:site_name\":\"Kimi API Platform\",\"og:locale\":\"en-US\",\"og:image\":\"https://platform.kimi.ai/og.png?v=1\",\"og:image:alt\":\"Kimi API Platform\",\"robots\":\"index,follow\",\"canonical\":\"https://platform.kimi.ai/docs\",\"description\":\"Kimi K3 is our flagship model for long-horizon coding and end-to-end knowledge work, with a 1M-token context window and industry-leading intelligence. The Kimi API Platform provides K3, K2.7 Code, K2.6 and other large language model APIs, supporting long context, multimodal understanding, and Tool Calling.\",\"keywords\":\"Kimi K3,Moonshot AI,K3 Large Language Model,AI API,Tool Calling,Code Generation,Intelligent Dialogue,AI Agent,Open-source Model,Long Context,Claw Bot\"}},\"styling\":{\"eyebrows\":\"breadcrumbs\",\"latex\":false,\"codeblocks\":\"system\"},\"integrations\":{\"clarity\":{\"projectId\":\"r1wlk72gay\"},\"ga4\":{\"measurementId\":\"G-Z0ZTEN03PZ\"}},\"banner\":{\"content\":\"🎉 Kimi K3 has launched! [Start exploring now!](/docs/guide/kimi-k3-quickstart)\",\"dismissible\":false},\"errors\":{\"404\":{\"redirect\":true}},\"contextual\":{\"options\":[\"copy\",\"view\",{\"title\":\"Open in Kimi\",\"description\":\"Ask questions about this page\",\"icon\":\"/assets/logo/kimi-context.svg\",\"href\":{\"base\":\"https://www.kimi.com/\",\"query\":[{\"key\":\"prefill_prompt\",\"value\":\"Read from https://platform.kimi.ai/docs$path so I can ask questions about it.\"}]}}],\"display\":\"header\"},\"navigation\":{\"pages\":[]}},\"docsNavWithMetadata\":\"$undefined\",\"anonymizedNav\":\"$undefined\",\"hasFullNav\":false},\"children\":\"$L2c\"}]}]}]}]]}]}]]\n"])</script><script>self.__next_f.push([1,"18:[\"$\",\"$L2d\",null,{\"scopedNav\":{\"global\":null,\"tabs\":[{\"tab\":\"Guides\",\"groups\":[{\"group\":\"Get Started\",\"pages\":[{\"title\":\"Quickstart\",\"sidebarTitle\":\"Quickstart\",\"description\":\"Create an API Key and complete your first Kimi API call.\",\"href\":\"/overview\"},{\"title\":\"Model List\",\"sidebarTitle\":\"Model List\",\"description\":null,\"href\":\"/models\"},{\"title\":\"Kimi K3\",\"sidebarTitle\":\"Kimi K3\",\"description\":null,\"href\":\"/guide/kimi-k3-quickstart\"},{\"title\":\"Kimi K2.7 Code\",\"sidebarTitle\":\"Kimi K2.7 Code Model\",\"description\":null,\"href\":\"/guide/kimi-k2-7-code-quickstart\"},{\"title\":\"Kimi K2.6\",\"sidebarTitle\":\"Kimi K2.6 Model\",\"description\":null,\"href\":\"/guide/kimi-k2-6-quickstart\"}]},{\"group\":\"Model Capabilities\",\"pages\":[{\"title\":\"Thinking Models\",\"sidebarTitle\":\"Thinking Models\",\"description\":null,\"href\":\"/guide/use-thinking-models\"},{\"title\":\"Reasoning Effort\",\"sidebarTitle\":\"Reasoning Effort\",\"description\":null,\"href\":\"/guide/use-reasoning-effort\"},{\"title\":\"Set Parameters for Multi-turn Chat\",\"sidebarTitle\":\"Multi-turn Chat\",\"description\":null,\"href\":\"/guide/engage-in-multi-turn-conversations-using-kimi-api\"},{\"title\":\"Use the Streaming Feature of the Kimi API\",\"sidebarTitle\":\"Streaming\",\"description\":null,\"href\":\"/guide/utilize-the-streaming-output-feature-of-kimi-api\"},{\"title\":\"Use Kimi API's JSON Mode\",\"sidebarTitle\":\"JSON Mode\",\"description\":null,\"href\":\"/guide/use-json-mode-feature-of-kimi-api\"},{\"title\":\"Use Kimi API's Partial Mode\",\"sidebarTitle\":\"Partial Mode\",\"description\":null,\"href\":\"/guide/use-partial-mode-feature-of-kimi-api\"},{\"title\":\"Configure Kimi Vision Models\",\"sidebarTitle\":\"Vision Input\",\"description\":null,\"href\":\"/guide/use-kimi-vision-model\"},{\"title\":\"Use the Context Caching Feature of Kimi API\",\"sidebarTitle\":\"Context Caching\",\"description\":null,\"href\":\"/guide/use-context-caching-feature-of-kimi-api\"},{\"title\":\"Dynamically Loaded Tools\",\"sidebarTitle\":\"Dynamic Tool Loading\",\"description\":null,\"href\":\"/guide/use-dynamic-tool-loading\"}]},{\"group\":\"Tooling workflows\",\"pages\":[{\"title\":\"Use Kimi API for Tool Calls\",\"sidebarTitle\":\"Tool Calls\",\"description\":null,\"href\":\"/guide/use-kimi-api-to-complete-tool-calls\"},{\"title\":\"Use Kimi API's Internet Search Functionality\",\"sidebarTitle\":\"Web Search Tool\",\"description\":null,\"href\":\"/guide/use-web-search\"},{\"title\":\"How to Use Official Tools in Kimi API\",\"sidebarTitle\":\"Official Tools\",\"description\":null,\"href\":\"/guide/use-official-tools\"},{\"title\":\"Tool Choice\",\"sidebarTitle\":\"Tool Choice\",\"description\":null,\"href\":\"/guide/use-tool-choice\"},{\"title\":\"Configure ModelScope MCP Server in Playground\",\"sidebarTitle\":\"ModelScope MCP Server\",\"description\":null,\"href\":\"/guide/configure-the-modelscope-mcp-server\"},{\"title\":\"Kimi K3 API Tool Calling Best Practices\",\"sidebarTitle\":\"Tool Calling Best Practices\",\"description\":\"When your agent has a large tool inventory, combine dynamic loading, tool_choice, and reasoning effort in the tool-calling flow.\",\"href\":\"/guide/kimi-k3-tool-calling-best-practice\"}]},{\"group\":\"Core workflows\",\"pages\":[{\"title\":\"Use response_format to control model output format\",\"sidebarTitle\":\"response_format\",\"description\":null,\"href\":\"/guide/response_format\"},{\"title\":\"Automatic Reconnection on Disconnect\",\"sidebarTitle\":\"Automatic Reconnection\",\"description\":null,\"href\":\"/guide/auto-reconnect\"},{\"title\":\"Use Kimi API for File-Based Q\u0026A\",\"sidebarTitle\":\"File-Based Q\u0026A\",\"description\":null,\"href\":\"/guide/use-kimi-api-for-file-based-qa\"},{\"title\":\"Using Batch API for Bulk Processing\",\"sidebarTitle\":\"Batch API Guide\",\"description\":null,\"href\":\"/guide/use-batch-api\"}]},{\"group\":\"Integrations\",\"pages\":[{\"title\":\"Use Kimi API Platform with Kimi Code CLI\",\"sidebarTitle\":\"Kimi Code CLI\",\"description\":\"Connect, switch, and update Kimi Code CLI with a Kimi API Platform API Key.\",\"href\":\"/guide/kimi-code-cli\"},{\"title\":\"Use Kimi in OpenClaw\",\"sidebarTitle\":\"OpenClaw\",\"description\":\"Build a cross-platform AI agent with OpenClaw and the Kimi API. Install OpenClaw and configure your Kimi API key.\",\"href\":\"/guide/use-kimi-in-openclaw\"},{\"title\":\"Use Kimi in Claude Code\",\"sidebarTitle\":\"Claude Code\",\"description\":null,\"href\":\"/guide/claude-code-kimi\"},{\"title\":\"Use Kimi Models in OpenCode\",\"sidebarTitle\":\"OpenCode\",\"description\":\"Install OpenCode, connect it to the Kimi Open Platform through built-in authentication, and use Kimi K3 with its thinking-effort variants.\",\"href\":\"/guide/open-code\"},{\"title\":\"Use Kimi K3 in Hermes Agent\",\"sidebarTitle\":\"Hermes Agent\",\"description\":\"Install Hermes Agent, connect it to the Global Kimi Open Platform, and enable Kimi K3 text, image, and video understanding.\",\"href\":\"/guide/use-kimi-in-hermes-agent\"},{\"title\":\"Use Kimi K3 in Codex CLI\",\"sidebarTitle\":\"Codex\",\"description\":null,\"href\":\"/guide/codex-kimi\"}]},{\"group\":\"Debugging and operations\",\"pages\":[{\"title\":\"MoonPalace - Moonshot AI's Kimi API Debugging Tool\",\"sidebarTitle\":\"Use the API Debugging Tool\",\"description\":null,\"href\":\"/guide/use-moonpalace\"},{\"title\":\"Use Playground to Debug the Model\",\"sidebarTitle\":\"Playground\",\"description\":null,\"href\":\"/guide/use-playground-to-debug-the-model\"},{\"title\":\"Setting Up and Verifying Your Organization\",\"sidebarTitle\":\"Best Practices for Organization Management\",\"description\":null,\"href\":\"/guide/org-best-practice\"}]}]},{\"tab\":\"API Reference\",\"pages\":[{\"title\":\"API Reference\",\"href\":\"/api/overview\"}]},{\"tab\":\"Pricing\",\"pages\":[{\"title\":\"Pricing\",\"href\":\"/pricing/chat\"}]},{\"tab\":\"Help Center\",\"pages\":[{\"title\":\"Help Center\",\"href\":\"/guide/account-and-payments\"}]},{\"tab\":\"Resources\",\"pages\":[{\"title\":\"Resources\",\"href\":\"/guide/prompt-best-practice\"}]}]},\"maps\":{\"firstHrefInVersion\":{},\"firstHrefInLanguage\":{}},\"children\":\"$L2e\"}]\n"])</script><script>self.__next_f.push([1,"2f:I[604804,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"LoginButtonProvider\"]\n"])</script><script>self.__next_f.push([1,"30:I[141180,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"SidebarLoginButtonProvider\"]\n"])</script><script>self.__next_f.push([1,"31:I[343590,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"NavigationContextController\"]\n"])</script><script>self.__next_f.push([1,"32:I[378486,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"PageListProvider\"]\n"])</script><script>self.__next_f.push([1,"33:I[742977,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"PrefetchProvider\"]\n"])</script><script>self.__next_f.push([1,"34:I[237978,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"PageModeOverrideProvider\"]\n"])</script><script>self.__next_f.push([1,"35:I[378896,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ConfiguredVariationProvider\"]\n"])</script><script>self.__next_f.push([1,"36:I[557611,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"Fonts\"]\n"])</script><script>self.__next_f.push([1,"37:I[330080,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"BannerProvider\"]\n"])</script><script>self.__next_f.push([1,"38:I[864506,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"NavbarTransitionScript\"]\n"])</script><script>self.__next_f.push([1,"3a:I[540345,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ConsentProvider\"]\n"])</script><script>self.__next_f.push([1,"3b:I[529058,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"LocalStorageAndAnalyticsProviders\"]\n"])</script><script>self.__next_f.push([1,"3c:I[958547,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"3e:I[763509,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ThemeLayout\"]\n"])</script><script>self.__next_f.push([1,"3f:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"ApiReferenceProvider\"]\n"])</script><script>self.__next_f.push([1,"40:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"PageProvider\"]\n"])</script><script>self.__next_f.push([1,"41:I[91557,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"OpenApiProvider\"]\n"])</script><script>self.__next_f.push([1,"42:I[525343,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"TabSyncContextProvider\"]\n"])</script><script>self.__next_f.push([1,"39:T865,"])</script><script>self.__next_f.push([1,"(function () {\n var measure = function(){let a=document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"),b=0;a.forEach(a=\u003e{let c=a.getBoundingClientRect();c.height\u003e0\u0026\u0026(b=Math.max(b,c.bottom))});let c=0,d=document.getElementById(\"content-container\");if(d){let{overflowY:a}=getComputedStyle(d);(\"auto\"===a||\"scroll\"===a)\u0026\u0026(c=Math.max(0,d.getBoundingClientRect().top))}let e=Math.round(Math.max(0,b-c))+40;document.documentElement.style.setProperty(\"--scroll-mt\",`${e}px`)};\n (function(a){let b=[],c=0,d=\"undefined\"==typeof ResizeObserver?null:new ResizeObserver(f);function e(){let c=Array.from(document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"));(c.length!==b.length||c.some((a,c)=\u003ea!==b[c]))\u0026\u0026d\u0026\u0026(d.disconnect(),c.forEach(a=\u003ed.observe(a))),b=c,a()}function f(){c||(c=requestAnimationFrame(()=\u003e{c=0,e()}))}new MutationObserver(f).observe(document.documentElement,{childList:!0,subtree:!0}),window.addEventListener(\"resize\",f),\"loading\"===document.readyState\u0026\u0026document.addEventListener(\"DOMContentLoaded\",e),e()})(measure);\n (function(a){let b=window.location.hash.slice(1);if(!b)return;function c(){return\"smooth\"===getComputedStyle(document.documentElement).scrollBehavior}function d(c){let d=document.getElementById(b);return!!d\u0026\u0026(a(),d.scrollIntoView(c?{behavior:c}:void 0),!0)}if(\"complete\"===document.readyState)return void d();let e=new MutationObserver(()=\u003e{!c()\u0026\u0026d(\"instant\")\u0026\u0026f()});function f(){e.disconnect(),window.removeEventListener(\"load\",g)}function g(){let a=c();f(),a\u0026\u0026requestAnimationFrame(()=\u003e{d(),function(){let a=[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"],c=0,e=window.scrollY,f=setInterval(()=\u003e{c+=1;let a=document.getElementById(b);if(!a||c\u003e=6)return g();let f=Math.abs(window.scrollY-e)\u003e1;if(e=window.scrollY,f)return;let h=parseFloat(getComputedStyle(a).scrollMarginTop)||0;Math.abs(a.getBoundingClientRect().top-h)\u003e4\u0026\u0026d()},350);function g(){clearInterval(f),a.forEach(a=\u003ewindow.removeEventListener(a,g))}a.forEach(a=\u003ewindow.addEventListener(a,g,{passive:!0}))}()})}window.addEventListener(\"load\",g),e.observe(document.documentElement,{childList:!0,subtree:!0}),!c()\u0026\u0026d(\"instant\")\u0026\u0026f()})(measure);\n})();"])</script><script>self.__next_f.push([1,"2c:[\"$\",\"$L2f\",null,{\"children\":[\"$\",\"$L30\",null,{\"children\":[\"$\",\"$L31\",null,{\"children\":[\"$\",\"$L32\",null,{\"pageListDataMap\":{},\"children\":[\"$\",\"$L33\",null,{\"disabled\":\"$undefined\",\"children\":[\"$\",\"$L34\",null,{\"children\":[\"$\",\"$L35\",null,{\"children\":[[\"$\",\"$L12\",null,{\"fonts\":\"$undefined\",\"theme\":\"mint\",\"subdomain\":\"moonshotai\"}],[[\"$\",\"$L11\",null,{\"docsConfig\":\"$17:2:props:children:props:children:6:props:children:props:children:props:children:props:value:docsConfig\"}],null,[\"$\",\"$L13\",null,{\"theme\":\"mint\"}],[\"$\",\"$L36\",null,{\"fonts\":\"$undefined\",\"children\":[\"$\",\"$L37\",null,{\"bannersByLocale\":{\"global\":\"$17:2:props:children:props:children:6:props:children:props:children:props:children:props:value:docsConfig:banner\"},\"subdomain\":\"moonshotai\",\"children\":[[\"$\",\"$L38\",null,{\"theme\":\"mint\"}],[\"$\",\"$L27\",null,{\"strategy\":\"beforeInteractive\",\"id\":\"_mintlify-scroll-margin-script\",\"dangerouslySetInnerHTML\":{\"__html\":\"$39\"},\"suppressHydrationWarning\":true}],[\"$\",\"$L3a\",null,{\"privacy\":\"$undefined\",\"children\":[\"$\",\"$L3b\",null,{\"subdomain\":\"moonshotai\",\"isAtlas\":false,\"children\":[\"$\",\"$L3c\",null,{\"toggles\":[{\"name\":\"tiered-billing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-profile-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-editor-theseus\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"self-serve-sso\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"force-workflows-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"kill-isr\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autumn-billing-mar-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"cloudflare-cache-invalidation\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"gitlab-workflows\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autopilot-dashboard\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"live-preview-client\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"direct-chroma-search\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"mintlify-credits-autumn-apr-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent_harness_kb\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-page\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-auth-revamp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"client-credentials-grant\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent_harness_slack_agent\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"assistant-integrations\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-comments\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-in-onboarding\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"viewer-role\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-panel\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autumn-enforcement-mar-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autumn-webhooks-mar-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-mintlify-slack\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-onboarding\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-v7-file-tree\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"atlas-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"onboarding-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"refresh-token-auth-mcp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"use-run-task-generate-docs-phase-queue\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"per-tenant-auth\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-integrations-settings\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"per-tenant-auth-mcp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"async-editor-publish\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"automations-pr-grouping\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"custom-prefix\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"assistant-widget\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"analytics-v7\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"composio-integrations\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"zendesk-integration\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"process-on-consumer\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-run-detail-page\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"credits-v2-jul-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"call-agent-tool\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"pylon-integration\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"user-flows-analytics\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"queue-git-webhooks-produce\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"slack-agent-chat-sdk\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"org-credit-pool-jul-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"preview-search-indexing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"approve-review-flow\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"pause-universal-search-reconcile\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false}],\"children\":\"$L3d\"}]}]}]]}]}]]]}]}]}]}]}]}]}]\n"])</script><script>self.__next_f.push([1,"43:T6ff,"])</script><script>self.__next_f.push([1,"{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://platform.kimi.ai/#organization\",\"name\":\"Kimi API Platform\",\"url\":\"https://platform.kimi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/moonshotai/X_5b_eA1iuJP595e/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=X_5b_eA1iuJP595e\u0026q=85\u0026s=f68cf2d80f8d7f0363e088d2b988a598\"}},{\"@type\":\"WebSite\",\"@id\":\"https://platform.kimi.ai/docs#website\",\"name\":\"Kimi API Platform\",\"url\":\"https://platform.kimi.ai/docs\",\"publisher\":{\"@id\":\"https://platform.kimi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://platform.kimi.ai/docs/overview#webpage\",\"url\":\"https://platform.kimi.ai/docs/overview\",\"name\":\"Quickstart\",\"description\":\"Create an API Key and complete your first Kimi API call.\",\"dateModified\":\"2026-07-23T08:17:58.213Z\",\"isPartOf\":{\"@id\":\"https://platform.kimi.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://platform.kimi.ai/docs/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://platform.kimi.ai/docs/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kimi API Platform\",\"item\":\"https://platform.kimi.ai/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart\",\"item\":\"https://platform.kimi.ai/docs/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://platform.kimi.ai/docs/overview#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Create an API Key and complete your first Kimi API call.\",\"url\":\"https://platform.kimi.ai/docs/overview\",\"mainEntityOfPage\":{\"@id\":\"https://platform.kimi.ai/docs/overview#webpage\"},\"image\":\"https://platform.kimi.ai/og.png?v=1\",\"dateModified\":\"2026-07-23T08:17:58.213Z\",\"publisher\":{\"@id\":\"https://platform.kimi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://platform.kimi.ai/docs#website\"}}]}"])</script><script>self.__next_f.push([1,"2e:[\"$\",\"$L3e\",null,{\"theme\":\"mint\",\"pageMetadata\":{\"title\":\"Quickstart\",\"sidebarTitle\":\"Quickstart\",\"description\":\"Create an API Key and complete your first Kimi API call.\",\"href\":\"/overview\"},\"children\":[\"$\",\"$L3f\",null,{\"value\":{\"apiReferenceData\":{},\"graphqlReferenceData\":\"$undefined\"},\"children\":[\"$\",\"$L40\",null,{\"value\":{\"pageMetadata\":\"$2e:props:pageMetadata\",\"lastModified\":\"2026-07-23T08:17:58.213Z\",\"gitLastModified\":\"$undefined\",\"originalFileLocation\":\"overview.mdx\",\"description\":{\"compiledSource\":\"\\\"use strict\\\";\\nconst {jsx: _jsx} = arguments[0];\\nconst {useMDXComponents: _provideComponents} = arguments[0];\\nfunction _createMdxContent(props) {\\n const _components = {\\n p: \\\"p\\\",\\n ..._provideComponents(),\\n ...props.components\\n };\\n return _jsx(_components.p, {\\n children: \\\"Create an API Key and complete your first Kimi API call.\\\"\\n });\\n}\\nfunction MDXContent(props = {}) {\\n const {wrapper: MDXLayout} = {\\n ..._provideComponents(),\\n ...props.components\\n };\\n return MDXLayout ? _jsx(MDXLayout, {\\n ...props,\\n children: _jsx(_createMdxContent, {\\n ...props\\n })\\n }) : _createMdxContent(props);\\n}\\nreturn {\\n default: MDXContent\\n};\\n\",\"frontmatter\":{},\"scope\":{}},\"mdxExtracts\":{\"tableOfContents\":[{\"title\":\"Get started\",\"slug\":\"get-started\",\"depth\":2,\"children\":[]},{\"title\":\"Explore more features\",\"slug\":\"explore-more-features\",\"depth\":2,\"children\":[{\"title\":\"Streaming output\",\"slug\":\"streaming-output\",\"depth\":3,\"children\":[]},{\"title\":\"Multimodal input\",\"slug\":\"multimodal-input\",\"depth\":3,\"children\":[]}]},{\"title\":\"Related resources\",\"slug\":\"related-resources\",\"depth\":2,\"children\":[]}],\"codeExamples\":{}},\"pageType\":\"$undefined\",\"panelMdxSource\":\"$undefined\",\"panelMdxSourceWithNoJs\":\"$undefined\",\"contextualStarterQuestions\":\"$undefined\",\"relatedPages\":\"$undefined\"},\"children\":[\"$\",\"$L41\",null,{\"pageMetadata\":\"$2e:props:pageMetadata\",\"mdxExtracts\":\"$2e:props:children:props:children:props:value:mdxExtracts\",\"openApiReferenceData\":\"$undefined\",\"children\":[\"$\",\"$L42\",null,{\"children\":[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"$43\"}}],\"$L44\",\"$L45\",\"$L46\",\"$L47\",\"$L48\"]}]}]}]}]}]\n"])</script><script>self.__next_f.push([1,"49:I[604780,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"CaptchaProvider\"]\n"])</script><script>self.__next_f.push([1,"4a:I[601054,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"SearchProvider\"]\n"])</script><script>self.__next_f.push([1,"4b:I[28330,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"SkipToContent\"]\n"])</script><script>self.__next_f.push([1,"4c:I[87732,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"AssistantLayoutWrapper\"]\n"])</script><script>self.__next_f.push([1,"4d:I[118717,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/bbe9a3c9a38b4577.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"NotFoundHydrator\"]\n"])</script><script>self.__next_f.push([1,"4e:I[228341,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"PageModeUpdater\"]\n"])</script><script>self.__next_f.push([1,"4f:I[575126,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"Background\"]\n"])</script><script>self.__next_f.push([1,"51:I[36098,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"CustomJsFiles\"]\n"])</script><script>self.__next_f.push([1,"52:I[530359,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"MDXContentController\"]\n"])</script><script>self.__next_f.push([1,"53:I[448287,[\"/docs/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/95c3d78b17c4a0d1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/6f0166feea50f0a1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/46b988571e738106.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\",\"/docs/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_EvckusBrjpk5444a2LznF3t7ApsQ\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"3d:[\"$\",\"$L49\",null,{\"enabled\":false,\"isPreview\":false,\"children\":[\"$\",\"$L4a\",null,{\"subdomain\":\"moonshotai\",\"hasChatPermissions\":false,\"isLoggedInCli\":false,\"assistantConfig\":{\"enableAskAiButton\":false,\"enableStarterQuestions\":false,\"enableAskAiSearchBar\":true},\"starterQuestions\":\"$undefined\",\"children\":[[\"$\",\"$L4b\",null,{}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function i(a,b,c,d){try{if(window.matchMedia(\\\"(max-width: 1024px)\\\").matches||!d){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\"),d||localStorage.setItem(a,\\\"false\\\");return}let e=localStorage.getItem(a);if(null===e){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\");return}let f=JSON.parse(e),g=localStorage.getItem(b),h=null!==g?JSON.parse(g):368;document.documentElement.style.setProperty(c,f?h+\\\"px\\\":\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",f?\\\"open\\\":\\\"closed\\\")}catch(a){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\")}})(\\n \\\"chat-assistant-sheet-open\\\",\\n \\\"chat-assistant-sheet-width\\\",\\n \\\"--assistant-sheet-width\\\",\\n false\\n )\"}}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"html{--assistant-sheet-width:0px!important}\"}}],[\"$\",\"$L4c\",null,{\"children\":[[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L4d\",null,{\"source\":\"multitenant\"}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],\"$undefined\"]}]]}]}]\n"])</script><script>self.__next_f.push([1,"44:[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"document.documentElement.setAttribute('data-page-mode', \\\"none\\\");\"}}],[\"$\",\"$L4e\",null,{\"pageMetadata\":\"$2e:props:pageMetadata\"}]]\n45:[\"$\",\"$L4f\",null,{\"pageMetadata\":\"$2e:props:pageMetadata\"}]\n50:T2af0,"])</script><script>self.__next_f.push([1,"/* Brand color system */\n:root {\n --brand-primary: #111111;\n --brand-primary-strong: #2a2a2a;\n --brand-primary-soft: rgba(17, 17, 17, 0.08);\n --brand-text: #171717;\n --brand-text-muted: #5f5f68;\n --brand-border: #e5e7eb;\n --brand-border-strong: #d4d4d8;\n --brand-surface: #f5f5f5;\n --brand-card-bg: rgba(255, 255, 255, 0.9);\n --brand-overlay: linear-gradient(to top, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.28), transparent);\n}\n\n.dark,\n[data-theme=\"dark\"] {\n --brand-primary: #f5f5f5;\n --brand-primary-strong: #ffffff;\n --brand-primary-soft: rgba(245, 245, 245, 0.14);\n --brand-text: #fafafa;\n --brand-text-muted: #a1a1aa;\n --brand-border: #303038;\n --brand-border-strong: #3f3f46;\n --brand-surface: #151515;\n --brand-card-bg: rgba(24, 24, 27, 0.88);\n --brand-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.3), transparent);\n}\n\n/* Footer: hide divider, \"Powered by Mintlify\", and theme toggle buttons */\n#footer \u003e * \u003e div:last-child,\n#footer \u003e * \u003e div:nth-last-child(2) {\n display: none !important;\n}\n\n/* Use a neutral community icon for the forum footer link. */\n#footer a[href^=\"https://forum.moonshot.ai/\"] svg {\n display: none !important;\n}\n\n#footer a[href^=\"https://forum.moonshot.ai/\"]::before {\n content: \"\";\n display: block;\n width: 1.25rem;\n height: 1.25rem;\n background-color: currentColor;\n -webkit-mask: url(\"/assets/icons/community.svg\") center / contain no-repeat;\n mask: url(\"/assets/icons/community.svg\") center / contain no-repeat;\n}\n\n/* Global Mintlify UI tuning */\n#search-bar-entry,\n#search-bar-entry-mobile {\n border: 1px solid var(--brand-border) !important;\n background: var(--brand-card-bg) !important;\n box-shadow: none !important;\n}\n\n#search-input {\n color: var(--brand-text) !important;\n}\n\n#search-input::placeholder {\n color: var(--brand-text-muted) !important;\n}\n\n#topbar,\n#topbar-content-container,\n#topbar-content-wrapper {\n color: var(--brand-text) !important;\n}\n\n/* Keep the desktop sidebar below the navbar's 3rem documentation tabs.\n Mintlify's default offset only includes the 4rem topbar and banner. */\n@media (min-width: 1024px) {\n #sidebar {\n top: calc(7rem + var(--banner-height, 0px)) !important;\n }\n}\n\n#sidebar-content li[data-active] {\n background: var(--brand-primary-soft) !important;\n border-radius: 14px;\n}\n\n/* Active sidebar item text: color the link itself and let the title inherit.\n Method pills (POST/GET) set their own colors and are unaffected. */\n#sidebar-content li[data-active] a,\n#sidebar-content li[data-active] button {\n color: var(--brand-primary) !important;\n}\n\n/* Prevent synthetic bold on sidebar items — Mintlify uses text-shadow to simulate bold, which distorts CJK glyphs */\n#sidebar-content a,\n#sidebar-content button {\n font-weight: inherit !important;\n text-shadow: none !important;\n}\n\n.sidebar-group[data-active] \u003e .sidebar-group-header,\n.sidebar-group[data-active] \u003e .sidebar-group-header * {\n color: var(--brand-primary) !important;\n}\n\n.method-nav-pill,\n.method-pill {\n border-radius: 999px !important;\n box-shadow: none !important;\n}\n\n#request-example,\n#response-example,\n#api-playground-input,\n#panel,\n#page-context-menu-button {\n border-color: var(--brand-border) !important;\n}\n\n#request-example,\n#response-example,\n#api-playground-input {\n background: var(--brand-card-bg) !important;\n}\n\n.dark .method-nav-pill,\n.dark .method-pill,\n[data-theme=\"dark\"] .method-nav-pill,\n[data-theme=\"dark\"] .method-pill {\n border-color: transparent !important;\n}\n\n/* Fix Tabs active state visibility in dark mode */\n.dark li[role=\"tab\"][aria-selected=\"true\"] \u003e div,\n[data-theme=\"dark\"] li[role=\"tab\"][aria-selected=\"true\"] \u003e div {\n color: #ffffff !important;\n border-color: #ffffff !important;\n}\n\n.nav-tabs-item[data-active],\n.mobile-nav-tabs-item[data-active] {\n color: var(--brand-primary) !important;\n}\n\n.navbar-link:hover,\n.nav-tabs-item:hover,\n.mobile-nav-tabs-item:hover {\n color: var(--brand-primary) !important;\n}\n\n.toc-item[data-active],\n.toc-item[data-active-deepest] {\n color: var(--brand-primary) !important;\n}\n\n.toc-item[data-active] a,\n.toc-item[data-active-deepest] a {\n color: var(--brand-primary) !important;\n}\n\n.mdx-content a {\n color: var(--brand-primary);\n text-decoration-color: color-mix(in srgb, var(--brand-primary) 58%, transparent);\n}\n\n.mdx-content a:hover {\n color: var(--brand-primary-strong);\n text-decoration-color: color-mix(in srgb, var(--brand-primary-strong) 72%, transparent);\n}\n\n.mdx-content a strong,\n.mdx-content a b,\n.mdx-content a code {\n color: inherit;\n}\n\n.code-block,\npre {\n border-color: var(--brand-border) !important;\n}\n\ncode:not(pre code) {\n background: var(--brand-surface) !important;\n border: 1px solid var(--brand-border);\n color: var(--brand-text) !important;\n}\n\n#page-context-menu-button:hover,\n.pagination-next:hover,\n.pagination-prev:hover,\n.topbar-cta-button:hover {\n border-color: var(--brand-primary) !important;\n}\n\n/* Base styles for the overview sections */\n.overview-page {\n color: var(--brand-text);\n}\n\n.overview-page a {\n border-bottom: none !important;\n box-shadow: none !important;\n text-decoration: none !important;\n}\n\n.overview-page .overview-overlay-link {\n position: absolute !important;\n inset: 0 !important;\n display: block !important;\n border: 0 !important;\n border-bottom: 0 !important;\n box-shadow: none !important;\n text-decoration: none !important;\n z-index: 4 !important;\n}\n\n/* Grid Layouts */\n.overview-page .overview-grid-2,\n.overview-page .overview-grid-3,\n.overview-page .overview-grid-4 {\n display: grid;\n align-items: stretch;\n gap: 16px;\n}\n\n.overview-page .overview-grid-2 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.overview-page .overview-grid-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.overview-page .overview-grid-4 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n/* Card Common Styles */\n.overview-page .overview-link-card,\n.overview-page .overview-resource-card {\n position: relative;\n overflow: hidden;\n display: flex;\n height: 100%;\n border: 1px solid var(--brand-border);\n border-radius: 12px;\n background: var(--brand-card-bg);\n backdrop-filter: blur(10px);\n transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;\n}\n\n.overview-page .overview-link-card:hover,\n.overview-page .overview-resource-card:hover {\n border-color: var(--brand-primary);\n box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);\n}\n\n/* Card Body (Media Object) */\n.overview-page .overview-link-card__body,\n.overview-page .overview-resource-card__body {\n display: flex;\n padding: 20px 16px;\n width: 100%;\n flex-direction: row;\n gap: 12px;\n align-items: flex-start;\n}\n\n.overview-page .overview-link-card__content {\n display: flex;\n flex: 1;\n flex-direction: column;\n}\n\n.overview-page .overview-link-card__icon {\n display: flex;\n width: 24px;\n min-width: 24px;\n align-items: center;\n justify-content: center;\n line-height: 1;\n margin-top: 3px;\n color: var(--brand-text-muted);\n}\n\n.overview-page .overview-link-card__title,\n.overview-page .overview-resource-card__title {\n font-size: 16px;\n font-weight: 500;\n line-height: 1.2;\n color: var(--brand-text);\n}\n\n.overview-page .overview-link-card__description,\n.overview-page .overview-resource-card__description {\n margin-top: 4px;\n font-size: 14px;\n color: var(--brand-text-muted);\n line-height: 1.4;\n}\n\n/* Model Card Styles */\n.overview-page .overview-model-card {\n position: relative;\n overflow: hidden;\n border: 1px solid var(--brand-border);\n border-radius: 12px;\n background: var(--brand-surface);\n}\n\n.overview-page .overview-model-card__media {\n position: relative;\n aspect-ratio: 123 / 92;\n line-height: 0;\n}\n\n.overview-page .overview-model-card__image {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: transform 0.5s;\n}\n\n.overview-page .overview-model-card:hover .overview-model-card__image {\n transform: scale(1.05);\n}\n\n.overview-page .overview-model-card__overlay {\n position: absolute;\n inset: 0;\n display: flex;\n align-items: flex-end;\n background: var(--brand-overlay);\n}\n\n.overview-page .overview-model-card__content {\n width: 100%;\n padding: 16px;\n}\n\n.overview-page .overview-model-card__name {\n color: white;\n font-weight: 600;\n line-height: 1.2;\n font-size: 16px;\n}\n\n.overview-page .overview-model-card__tag-row {\n margin-top: 8px;\n line-height: 1;\n}\n\n.overview-page .overview-hero-card {\n background: var(--brand-surface);\n border-color: var(--brand-border) !important;\n}\n\n.overview-page .overview-hero-card__cta {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 10px 20px;\n border: 1px solid rgba(255, 255, 255, 0.14);\n border-radius: 8px;\n background: rgba(255, 255, 255, 0.96);\n color: #111111 !important;\n font-size: 14px;\n font-weight: 500;\n white-space: nowrap;\n position: relative;\n z-index: 10;\n transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;\n}\n\n.overview-page .overview-hero-card__cta:hover {\n background: #ffffff;\n border-color: rgba(255, 255, 255, 0.3);\n transform: translateY(-1px);\n}\n\n.overview-page .overview-section-link {\n color: var(--brand-primary) !important;\n text-decoration: underline !important;\n text-underline-offset: 0.18em;\n}\n\n.overview-page .overview-section-link:hover {\n color: var(--brand-primary-strong) !important;\n}\n\n.overview-page .overview-resource-card a,\n.overview-page .overview-link-card a,\n.overview-page .overview-model-card a {\n color: inherit !important;\n}\n\n/* Responsive adjustments */\n@media (max-width: 1100px) {\n .overview-page .overview-grid-3 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n/* Hide API page right-side request/response code examples */\n#content-side-layout:has(.code-group) {\n display: none !important;\n}\n\n@media (max-width: 700px) {\n .overview-page .overview-grid-2,\n .overview-page .overview-grid-3,\n .overview-page .overview-grid-4 {\n grid-template-columns: 1fr;\n }\n}\n\n.doc-table-wrap {\n width: 100%;\n max-width: 100%;\n}\n\n.doc-table-wrap table {\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n table-layout: fixed !important;\n margin: 0 !important;\n}\n\n.doc-table-wrap th,\n.doc-table-wrap td {\n white-space: normal !important;\n overflow-wrap: anywhere;\n word-break: break-word;\n text-align: left !important;\n vertical-align: top;\n}\n\n@media (max-width: 900px) {\n .doc-table-wrap th,\n .doc-table-wrap td {\n padding: 10px 8px !important;\n font-size: 13px;\n line-height: 1.45;\n }\n}\n\n@media (max-width: 640px) {\n .doc-table-wrap {\n width: 100%;\n }\n\n .doc-table-wrap th,\n .doc-table-wrap td {\n padding: 8px 6px !important;\n font-size: 12px;\n line-height: 1.4;\n }\n\n .doc-table-wrap td:first-child,\n .doc-table-wrap th:first-child {\n word-break: break-all;\n overflow-wrap: anywhere;\n }\n\n .doc-table-wrap code {\n font-size: 11px;\n white-space: normal !important;\n word-break: break-all;\n }\n}\n"])</script><script>self.__next_f.push([1,"46:[[\"$\",\"style\",\"0\",{\"data-custom-css-index\":0,\"data-custom-css-path\":\"custom.css\",\"dangerouslySetInnerHTML\":{\"__html\":\"$50\"}}]]\n47:[\"$\",\"$L51\",null,{\"customJsDisabled\":false,\"jsFiles\":[]}]\n54:T9ee4,"])</script><script>self.__next_f.push([1,"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Info,Note,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Kimi API lets you interact with Kimi models and is compatible with the OpenAI API format. Prepare an API Key, choose a model, and configure `,_jsx(_components.code,{children:`base_url`}),` to make requests through the HTTP API, Python SDK, or Node.js SDK.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guide/kimi-k3-quickstart`,children:`Kimi K3`}),` is now officially available — Kimis most capable model to date, with a 1M-token context window and native visual understanding. It is well suited for programming agent scenarios such as `,_jsx(_components.a,{href:`guide/claude-code-kimi`,children:`Claude Code`}),`, as well as knowledge work and deep reasoning.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`get-started`,children:`Get started`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Get an API Key`,children:[_jsxs(_components.p,{children:[`Visit the `,_jsx(_components.a,{href:`https://platform.kimi.ai/`,children:`Kimi API Platform`}),`, sign in, then go to `,_jsx(_components.a,{href:`https://platform.kimi.ai/console/api-keys`,children:`API Keys`}),` to create and copy an API Key.`]}),_jsx(_components.p,{children:`Keep your API Key secure. Do not share it with others or hard-code it directly in your application. We recommend storing it in an environment variable:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MOONSHOT_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_KIMI_API_KEY\"`})]}),`\n`]})})}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Kimi API Platform`,icon:`link`,href:`https://platform.kimi.ai/`,children:_jsx(_components.p,{children:`Sign in to the platform to access the console, development workspace, and user center.`})}),_jsx(Card,{title:`API Keys`,icon:`key`,href:`https://platform.kimi.ai/console/api-keys`,children:_jsx(_components.p,{children:`Create, copy, and manage the keys used for API calls.`})})]})]}),_jsxs(Step,{title:`Choose a model`,children:[_jsx(_components.p,{children:`For a quickstart, we recommend starting with Kimi K3; you can also choose Kimi K2.7 Code or Kimi K2.6 for specific scenarios.`}),_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Kimi K3`,icon:`rocket`,href:`/guide/kimi-k3-quickstart`,children:_jsx(_components.p,{children:`Kimi K3 is our flagship model for long-horizon coding and end-to-end knowledge work — 2.8 trillion parameters, a 1M-token context window, and industry-leading intelligence.`})}),_jsx(Card,{title:`Kimi K2.7 Code`,icon:`code`,href:`/guide/kimi-k2-7-code-quickstart`,children:_jsxs(_components.p,{children:[`A coding-focused model with a 256K context window, text/image/video input, and thinking mode. Choose `,_jsx(_components.code,{children:`kimi-k2.7-code-highspeed`}),` when you need higher output speed.`]})}),_jsx(Card,{title:`Kimi K2.6`,icon:`brain`,href:`/guide/kimi-k2-6-quickstart`,children:_jsx(_components.p,{children:`A powerful general-purpose model with a 256K context window, text/image/video input, and both thinking and non-thinking modes. Use it for general chat, agent tasks, visual understanding, and complex reasoning.`})})]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`If you are not sure which model to choose, start with `,_jsx(_components.code,{children:`kimi-k3`}),`. If your task is mainly code generation, code editing, or programming agents and you need higher output speed, choose `,_jsx(_components.code,{children:`kimi-k2.7-code-highspeed`}),`.`]})})]}),_jsxs(Step,{title:`Choose an integration method`,children:[_jsx(_components.p,{children:`Kimi API is compatible with the OpenAI API format, so you can choose the integration method that best fits your technology stack.`}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`HTTP API`,icon:`globe`,href:`/api/chat`,children:_jsx(_components.p,{children:`A standard REST API for any language or custom server-side integration.`})}),_jsx(Card,{title:`Playground`,icon:`terminal`,href:`https://platform.kimi.ai/playground`,children:_jsx(_components.p,{children:`Test prompts, model behavior, and business examples without writing code.`})})]})]}),_jsxs(Step,{title:`Make your first call`,children:[_jsxs(_components.p,{children:[`The following examples use the Kimi K3 model. Replace `,_jsx(_components.code,{children:`MOONSHOT_API_KEY`}),` with the API Key you created on the platform, or set an environment variable with the same name before running the examples.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The examples on this page use the latest model `,_jsx(_components.code,{children:`kimi-k3`}),` by default. K3 configures reasoning effort with the top-level `,_jsx(_components.code,{children:`reasoning_effort`}),` request field (supports `,_jsx(_components.code,{children:`\"low\"`}),` / `,_jsx(_components.code,{children:`\"high\"`}),` / `,_jsx(_components.code,{children:`\"max\"`}),`, default `,_jsx(_components.code,{children:`\"max\"`}),`). To use another model such as `,_jsx(_components.code,{children:`kimi-k2.6`}),` or `,_jsx(_components.code,{children:`kimi-k2.5`}),`, just replace the `,_jsx(_components.code,{children:`model`}),` field — parameter configurations differ across models. See the `,_jsx(_components.a,{href:`/api/models-overview`,children:`Model Parameter Reference`}),`.`]})}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`To use the high-speed model for coding scenarios, replace `,_jsx(_components.code,{children:`kimi-k3`}),` in the examples with `,_jsx(_components.code,{children:`kimi-k2.7-code-highspeed`}),`; to call Kimi K2.6, replace it with `,_jsx(_components.code,{children:`kimi-k2.6`}),`.`]})}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`python`,id:`python`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` openai `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OpenAI(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MOONSHOT_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.moonshot.ai/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`completion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.chat.completions.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kimi-k3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` messages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi, my name is Li Lei. What is 1+1?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(completion.choices[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].message.content)`})]}),`\n`]})})})}),_jsx(Tab,{title:`curl`,id:`curl`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.moonshot.ai/v1/chat/completions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$MOONSHOT_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"kimi-k3\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"messages\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"role\": \"system\", \"content\": \"You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"role\": \"user\", \"content\": \"Hi, my name is Li Lei. What is 1+1?\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Tab,{title:`node.js`,id:`node-js`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` OpenAI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OpenAI`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`MOONSHOT_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` baseURL:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.moonshot.ai/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` completion`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`chat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`completions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"kimi-k3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` messages:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"system\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"You are Kimi, an AI assistant provided by Moonshot AI. You are especially good at conversations in Chinese and English. You provide users with safe, helpful, and accurate answers. You also refuse to answer any questions involving terrorism, racism, pornography, violence, or similar harmful content. Moonshot AI is a proper noun and must not be translated into other languages.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hi, my name is Li Lei. What is 1+1?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`completion`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`choices`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})})})]}),_jsx(_components.p,{children:`Before running the examples, prepare:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Python 3.8 or later, or Node.js 18 or later.`}),`\n`,_jsxs(_components.li,{children:[`OpenAI SDK 1.0.0 or later. Kimi API is compatible with the OpenAI API format, so you can call Kimi directly with the OpenAI Python or Node.js SDK.`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`pip install --upgrade 'openai\u003e=1.0' # Python`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`npm install openai@latest # Node.js`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`An API Key. Create an API Key in the `,_jsx(_components.a,{href:`https://platform.kimi.ai/console/api-keys`,children:`Kimi API Platform`}),`, then pass it to the `,_jsx(_components.code,{children:`OpenAI Client`}),` so the platform can identify your account.`]}),`\n`]}),_jsx(_components.p,{children:`If the code runs successfully without errors, you will see output similar to:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Hello, Li Lei! 1+1 equals 2. This is a basic arithmetic question. If you have any other questions or need help, feel free to let me know.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.em,{children:`Note: Because Kimi models are nondeterministic, the actual response may not exactly match the example above.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`explore-more-features`,children:`Explore more features`}),`\n`,_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Streaming output`,icon:`bolt`,href:`/api/chat`,children:_jsxs(_components.p,{children:[`Enable `,_jsx(_components.code,{children:`stream`}),` to receive tokens as they are generated. Useful for chat, code generation, and long-form text output.`]})}),_jsx(Card,{title:`Multi-turn chat`,icon:`comments`,href:`/guide/engage-in-multi-turn-conversations-using-kimi-api`,children:_jsxs(_components.p,{children:[`Maintain a `,_jsx(_components.code,{children:`messages`}),` list to preserve context history, letting the model remember the conversation.`]})}),_jsx(Card,{title:`Multimodal input`,icon:`image`,href:`/guide/use-kimi-vision-model`,children:_jsx(_components.p,{children:`Kimi K3, Kimi K2.7 Code, and Kimi K2.6 all support text, image, and video input.`})}),_jsx(Card,{title:`Tool calls`,icon:`wrench`,href:`/guide/use-kimi-api-to-complete-tool-calls`,children:_jsx(_components.p,{children:`Let the model call external functions or APIs for Agent tasks, web search, and complex workflows.`})}),_jsx(Card,{title:`JSON Mode`,icon:`code`,href:`/guide/use-json-mode-feature-of-kimi-api`,children:_jsx(_components.p,{children:`Force the model to output valid JSON for structured data extraction and downstream integration.`})}),_jsx(Card,{title:`Thinking models`,icon:`brain`,href:`/guide/use-thinking-models`,children:_jsx(_components.p,{children:`Use reasoning capabilities for complex tasks, multi-step tool use, and Agent workflows.`})})]}),`\n`,_jsx(Heading,{level:`3`,id:`streaming-output`,children:`Streaming output`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kimi-k3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please explain what recursion is and give a Python example.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stream\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`multimodal-input`,children:`Multimodal input`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"kimi-k3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data:image/png;base64,...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Please describe this image.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`For larger videos, or images and videos that need to be referenced multiple times, we recommend using file uploads. Images should be no larger than 4K resolution, and videos should be no larger than 1080p.`})}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related resources`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Kimi K3 model`,icon:`rocket`,href:`/guide/kimi-k3-quickstart`,children:_jsx(_components.p,{children:`View Kimi K3 capabilities, calling examples, and best practices.`})}),_jsx(Card,{title:`Kimi K2.7 Code model`,icon:`code`,href:`/guide/kimi-k2-7-code-quickstart`,children:_jsx(_components.p,{children:`View Kimi K2.7 Code capabilities, calling examples, and best practices.`})}),_jsx(Card,{title:`Kimi K2.6 model`,icon:`brain`,href:`/guide/kimi-k2-6-quickstart`,children:_jsx(_components.p,{children:`View Kimi K2.6 capabilities, image/video understanding examples, and tool calling guidance.`})}),_jsx(Card,{title:`Model list`,icon:`list`,href:`/models`,children:_jsx(_components.p,{children:`View currently available model names and descriptions.`})}),_jsx(Card,{title:`Join the Kimi Developer Community`,icon:`comments`,href:`/api/join-the-community`,children:_jsx(_components.p,{children:`Ask questions, share feedback, and showcase what you are building with Kimi.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"])</script><script>self.__next_f.push([1,"48:[\"$\",\"$L52\",null,{\"slug\":\"overview\",\"pageMetadata\":\"$2e:props:pageMetadata\",\"theme\":\"mint\",\"children\":[\"$\",\"$L53\",null,{\"mdxSource\":{\"compiledSource\":\"$54\",\"frontmatter\":{},\"scope\":{\"config\":{},\"pageMetadata\":{\"title\":\"Quickstart\",\"sidebarTitle\":\"Quickstart\",\"description\":\"Create an API Key and complete your first Kimi API call.\",\"href\":\"/overview\"}}},\"mdxSourceWithNoJs\":\"$undefined\",\"displayDomain\":\"platform.kimi.ai/docs\"}]}]\n"])</script></body></html>