[{"data":1,"prerenderedAt":397},["ShallowReactive",2],{"doc-key-en-get-kimi-key":3},{"id":4,"title":5,"body":6,"description":385,"extension":386,"meta":387,"navigation":392,"path":393,"seo":394,"stem":395,"__hash__":396},"pages\u002Fen\u002Fdoc\u002Fget-key\u002Fget-kimi-key.md","Get a Kimi (Moonshot) API Key",{"type":7,"value":8,"toc":368},"minimark",[9,13,22,27,46,53,57,77,84,88,94,99,103,111,117,121,128,134,138,145,151,155,161,167,171,178,184,188,199,205,211,217,221,238,244,250,254,260,271,275,331,343,347],[10,11,5],"h1",{"id":12},"get-a-kimi-moonshot-api-key",[14,15,16,17,21],"p",{},"“Kimi API”, “Moonshot API”, and “Moonshot AI” refer to the same service. In WriteX, pick ",[18,19,20],"strong",{},"Kimi",".",[23,24,26],"h2",{"id":25},"overview","Overview",[28,29,30,34,37,40,43],"ol",{},[31,32,33],"li",{},"Open the Kimi open platform",[31,35,36],{},"Sign in with phone OTP",[31,38,39],{},"Complete personal verification (often unlocks trial credit)",[31,41,42],{},"Create an API key",[31,44,45],{},"Paste it into WriteX",[14,47,48,49,52],{},"You need a mainland China phone number that can receive SMS. The chat site is ",[18,50,51],{},"not"," where keys are created.",[23,54,56],{"id":55},"step-1-open-the-open-platform","Step 1: Open the open platform",[14,58,59,60,67,68,73,74,21],{},"Visit ",[61,62,66],"a",{"href":63,"rel":64},"https:\u002F\u002Fplatform.kimi.com\u002F",[65],"nofollow","platform.kimi.com"," (or ",[61,69,72],{"href":70,"rel":71},"https:\u002F\u002Fplatform.moonshot.ai\u002F",[65],"platform.moonshot.ai",") and click ",[18,75,76],{},"Log in",[14,78,79],{},[80,81],"img",{"alt":82,"src":83},"Kimi open platform homepage","\u002Fimages\u002Fdoc\u002Fkimi\u002F01-homepage.png",[23,85,87],{"id":86},"step-2-phone-login","Step 2: Phone login",[14,89,90,91,21],{},"If WeChat QR is the default, switch to ",[18,92,93],{},"Phone quick login",[14,95,96],{},[80,97],{"alt":93,"src":98},"\u002Fimages\u002Fdoc\u002Fkimi\u002F03-login-phone.png",[23,100,102],{"id":101},"step-3-enter-your-phone-number","Step 3: Enter your phone number",[14,104,105,106,110],{},"Use the default ",[107,108,109],"code",{},"+86"," country code unless you need another.",[14,112,113],{},[80,114],{"alt":115,"src":116},"Enter phone number","\u002Fimages\u002Fdoc\u002Fkimi\u002F04-phone-entered.png",[23,118,120],{"id":119},"step-4-accept-the-agreements","Step 4: Accept the agreements",[14,122,123,124,127],{},"Check ",[18,125,126],{},"I have read and agree to the service and privacy agreements",". Unregistered numbers usually auto-register on first login.",[14,129,130],{},[80,131],{"alt":132,"src":133},"Agreements checked","\u002Fimages\u002Fdoc\u002Fkimi\u002F05-agreement-checked.png",[23,135,137],{"id":136},"step-5-complete-the-captcha","Step 5: Complete the captcha",[14,139,140,141,144],{},"After ",[18,142,143],{},"Send code",", finish the slider puzzle.",[14,146,147],{},[80,148],{"alt":149,"src":150},"Captcha","\u002Fimages\u002Fdoc\u002Fkimi\u002F06-captcha.png",[23,152,154],{"id":153},"step-6-enter-the-sms-code","Step 6: Enter the SMS code",[14,156,157,158,160],{},"Paste the 6-digit code and click ",[18,159,76],{},". Codes often expire in about two minutes.",[14,162,163],{},[80,164],{"alt":165,"src":166},"Enter SMS code","\u002Fimages\u002Fdoc\u002Fkimi\u002F08-code-entered.png",[23,168,170],{"id":169},"step-7-open-user-center","Step 7: Open user center",[14,172,173,174,177],{},"Click ",[18,175,176],{},"User center"," in the top nav. If balance is 0, verify next to unlock trial credit (amounts vary by page).",[14,179,180],{},[80,181],{"alt":182,"src":183},"Account overview","\u002Fimages\u002Fdoc\u002Fkimi\u002F10-account-overview.png",[23,185,187],{"id":186},"step-8-personal-verification","Step 8: Personal verification",[14,189,190,191,194,195,198],{},"Open ",[18,192,193],{},"Organization verification"," → ",[18,196,197],{},"Personal verification"," → confirm.",[14,200,201],{},[80,202],{"alt":203,"src":204},"Verification page","\u002Fimages\u002Fdoc\u002Fkimi\u002F11-auth-page.png",[14,206,207],{},[80,208],{"alt":209,"src":210},"Confirm personal verification","\u002Fimages\u002Fdoc\u002Fkimi\u002F12-auth-confirm.png",[14,212,213],{},[80,214],{"alt":215,"src":216},"Verification done","\u002Fimages\u002Fdoc\u002Fkimi\u002F13-auth-done.png",[23,218,220],{"id":219},"step-9-create-an-api-key","Step 9: Create an API key",[14,222,223,194,226,229,230,233,234,237],{},[18,224,225],{},"API Key management",[18,227,228],{},"Create API Key",". Name it ",[107,231,232],{},"WriteX",", pick project ",[107,235,236],{},"default",", confirm.",[14,239,240],{},[80,241],{"alt":242,"src":243},"API Key page","\u002Fimages\u002Fdoc\u002Fkimi\u002F14-apikey-page.png",[14,245,246],{},[80,247],{"alt":248,"src":249},"Fill API Key dialog","\u002Fimages\u002Fdoc\u002Fkimi\u002F17-apikey-ready.png",[23,251,253],{"id":252},"step-10-save-the-key-immediately","Step 10: Save the key immediately",[14,255,256],{},[80,257],{"alt":258,"src":259},"API Key created","\u002Fimages\u002Fdoc\u002Fkimi\u002F18-apikey-created.png",[14,261,262,263,266,267,270],{},"The full ",[107,264,265],{},"sk-…"," string is shown ",[18,268,269],{},"once",". Copy it to a password manager.",[23,272,274],{"id":273},"paste-into-writex","Paste into WriteX",[276,277,278,291],"table",{},[279,280,281],"thead",{},[282,283,284,288],"tr",{},[285,286,287],"th",{},"Field",[285,289,290],{},"Typical value",[292,293,294,310,320],"tbody",{},[282,295,296,300],{},[297,298,299],"td",{},"Base URL",[297,301,302,305,306,309],{},[107,303,304],{},"https:\u002F\u002Fapi.moonshot.ai\u002Fv1"," (some docs use ",[107,307,308],{},".cn","; follow the console)",[282,311,312,315],{},[297,313,314],{},"API Key",[297,316,317,318],{},"your ",[107,319,265],{},[282,321,322,325],{},[297,323,324],{},"Model",[297,326,327,328],{},"e.g. ",[107,329,330],{},"kimi-k2.5",[14,332,333,334,194,337,339,340,21],{},"WriteX → ",[18,335,336],{},"Settings → Model \u002F Provider",[18,338,20],{}," → paste key → ",[18,341,342],{},"Test & save",[23,344,346],{"id":345},"related","Related",[348,349,350,356,362],"ul",{},[31,351,352],{},[61,353,355],{"href":354},"\u002Fguides\u002Fconfigure-byok","Configure BYOK in WriteX",[31,357,358],{},[61,359,361],{"href":360},"\u002Ffaq\u002Fwhich-models-supported","Which models are supported?",[31,363,364],{},[61,365,367],{"href":366},"\u002Fdoc\u002Fget-key","All API Key tutorials",{"title":369,"searchDepth":370,"depth":370,"links":371},"",2,[372,373,374,375,376,377,378,379,380,381,382,383,384],{"id":25,"depth":370,"text":26},{"id":55,"depth":370,"text":56},{"id":86,"depth":370,"text":87},{"id":101,"depth":370,"text":102},{"id":119,"depth":370,"text":120},{"id":136,"depth":370,"text":137},{"id":153,"depth":370,"text":154},{"id":169,"depth":370,"text":170},{"id":186,"depth":370,"text":187},{"id":219,"depth":370,"text":220},{"id":252,"depth":370,"text":253},{"id":273,"depth":370,"text":274},{"id":345,"depth":370,"text":346},"Register on the Moonshot \u002F Kimi open platform, finish verification, create an API key, and paste it into WriteX.","md",{"seoTitle":388,"summary":389,"provider":390,"order":391},"Get a Kimi API Key｜WriteX Tutorials","About 3 minutes; verification often unlocks trial credit. Strong for long context.","kimi",3,true,"\u002Fen\u002Fdoc\u002Fget-key\u002Fget-kimi-key",{"title":5,"description":385},"en\u002Fdoc\u002Fget-key\u002Fget-kimi-key","KDqHlZWGpH7qb1msImzKMylt0cn82_IvBQC1LMC9KOw",1785483021060]