[{"data":1,"prerenderedAt":163},["ShallowReactive",2],{"doc-key-en-get-other-key":3},{"id":4,"title":5,"body":6,"description":151,"extension":152,"meta":153,"navigation":158,"path":159,"seo":160,"stem":161,"__hash__":162},"pages\u002Fen\u002Fdoc\u002Fget-key\u002Fget-other-key.md","Get another OpenAI-compatible API Key",{"type":7,"value":8,"toc":143},"minimark",[9,13,26,31,79,82,86,106,110,117,121],[10,11,5],"h1",{"id":12},"get-another-openai-compatible-api-key",[14,15,16,17,21,22,25],"p",{},"Missing from the preset list? If the provider speaks ",[18,19,20],"strong",{},"OpenAI-compatible Chat Completions",", use ",[18,23,24],{},"OpenAI-compatible \u002F custom"," in WriteX.",[27,28,30],"h2",{"id":29},"three-things-you-need","Three things you need",[32,33,34,47],"table",{},[35,36,37],"thead",{},[38,39,40,44],"tr",{},[41,42,43],"th",{},"Item",[41,45,46],{},"Notes",[48,49,50,63,71],"tbody",{},[38,51,52,56],{},[53,54,55],"td",{},"Base URL",[53,57,58,59],{},"e.g. ",[60,61,62],"code",{},"https:\u002F\u002Fyour-gateway.example\u002Fv1",[38,64,65,68],{},[53,66,67],{},"API Key",[53,69,70],{},"Token required by the gateway; local tools may allow a placeholder",[38,72,73,76],{},[53,74,75],{},"Model id",[53,77,78],{},"Exact name from the gateway docs",[14,80,81],{},"Confirm network access (VPN\u002Ffirewall) before testing.",[27,83,85],{"id":84},"in-writex","In WriteX",[87,88,89,98,101],"ol",{},[90,91,92,95,96],"li",{},[18,93,94],{},"Settings → Model \u002F Provider"," → ",[18,97,24],{},[90,99,100],{},"Fill Base URL, API Key, and default model",[90,102,103],{},[18,104,105],{},"Test & save",[27,107,109],{"id":108},"local-models","Local models",[14,111,112,113,116],{},"For Ollama and similar tools, Base URL is often localhost, e.g. ",[60,114,115],{},"http:\u002F\u002F127.0.0.1:11434\u002Fv1",". Use a model id you’ve already pulled locally.",[27,118,120],{"id":119},"related-reading","Related reading",[122,123,124,131,137],"ul",{},[90,125,126],{},[127,128,130],"a",{"href":129},"\u002Fguides\u002Fconfigure-byok","Configure BYOK in WriteX",[90,132,133],{},[127,134,136],{"href":135},"\u002Ffaq\u002Fwhich-models-supported","Which models are supported?",[90,138,139],{},[127,140,142],{"href":141},"\u002Fdoc\u002Fget-key","All API Key tutorials",{"title":144,"searchDepth":145,"depth":145,"links":146},"",2,[147,148,149,150],{"id":29,"depth":145,"text":30},{"id":84,"depth":145,"text":85},{"id":108,"depth":145,"text":109},{"id":119,"depth":145,"text":120},"Company gateways, local Ollama, third-party proxies: bring any Chat Completions–compatible Base URL and key into WriteX.","md",{"seoTitle":154,"summary":155,"provider":156,"order":157},"Custom \u002F OpenAI-compatible API | WriteX Tutorials","Not in the preset list? Supply your own endpoint and key.","other",11,true,"\u002Fen\u002Fdoc\u002Fget-key\u002Fget-other-key",{"title":5,"description":151},"en\u002Fdoc\u002Fget-key\u002Fget-other-key","N8xYFse75_m4nrethkERKtQs_pyw_Jy4kCzY70FOXJw",1785483021158]