Chat Completions is the planned compatibility surface. Check messages, tools, structured output, vision, context limits, and usage support for the exact model. Do not infer complete OpenAI compatibility from the endpoint name.Real LLM providers are not connected in this build stage. The example documents the intended request; it must not return invented model text as a live completion.
If an SDK rejects custom fields such as fallback, use its supported extra-body mechanism or plain HTTP. Use only valid SDK options. The 1–4 image/video output_count field is not an LLM generation multiplier.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIstable","colors":{"primary":"#6256e8","light":"#7468f2","dark":"#a9a0ff"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","javascript","python"]}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/quickstart"},{"language":"cn","href":"cn/quickstart"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apistable","hasAudioNarration":false,"actualSubdomain":"apistable","customDomains":[],"gitSource":{"type":"artifacts","owner":"prod","repo":"e3efe432bfca6de9b68154bf","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae5e3ed778ca28c5ec178e9"},"entitlements":{},"buildId":"6ae5e44b511388ce7ebc68a1","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"cn","tag":"接口参考","count":6},{"language":"cn","tag":"核心概念","count":6},{"language":"en","tag":"API reference","count":6},{"language":"en","tag":"Core concepts","count":6},{"language":"cn","tag":"快速开始","count":2},{"language":"en","tag":"Get started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"agent-integrations-settings","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":"analytics-v7","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":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/llm","slug":"/en/llm","pageMetadata":{"title":"LLM \u0026 streaming","description":"A scoped Chat Completions interface with explicit stream behavior.","openapi":"openapi.json POST /v1/chat/completions","href":"/en/llm"},"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: \"A scoped Chat Completions interface with explicit stream behavior.\"\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":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`API preview: generation providers are not connected. An authenticated request can return 503 without creating a task or charging credits.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`compatibility-is-per-model`,children:`Compatibility is per model`}),`\n`,_jsx(_components.p,{children:`Chat Completions is the planned compatibility surface. Check messages, tools, structured output, vision, context limits, and usage support for the exact model. Do not infer complete OpenAI compatibility from the endpoint name.`}),`\n`,_jsx(_components.p,{children:`Real LLM providers are not connected in this build stage. The example documents the intended request; it must not return invented model text as a live completion.`}),`\n`,_jsx(Heading,{level:`2`,id:`streaming-changes-recovery`,children:`Streaming changes recovery`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Before visible content is sent, an eligible confirmed failure may use an authorized fallback.`}),`\n`,_jsx(_components.li,{children:`After text, a tool call, or other visible SSE data is sent, do not restart on another supplier and concatenate a second answer.`}),`\n`,_jsx(_components.li,{children:`A client disconnect is not automatically free. Record known usage and resolve unknown metering according to the model’s published contract.`}),`\n`,_jsx(_components.li,{children:`Tools are instructions for your application. The platform must not repeat a tool action while recovering a stream.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`keep-platform-extensions-explicit`,children:`Keep platform extensions explicit`}),`\n`,_jsx(_components.p,{children:`If an SDK rejects custom fields such as fallback, use its supported extra-body mechanism or plain HTTP. Use only valid SDK options. The 1–4 image/video output_count field is not an LLM generation multiplier.`})]})}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.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"LLM \u0026 streaming","description":"A scoped Chat Completions interface with explicit stream behavior.","openapi":"openapi.json POST /v1/chat/completions","href":"/en/llm"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Compatibility is per model","slug":"compatibility-is-per-model","depth":2,"children":[]},{"title":"Streaming changes recovery","slug":"streaming-changes-recovery","depth":2,"children":[]},{"title":"Keep platform extensions explicit","slug":"keep-platform-extensions-explicit","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"chatCompletionsPreview","tags":["LLM"],"summary":"LLM placeholder / LLM 接口预留","security":["e16a4691-03be-4885-8059-65acdc92d22d"],"description":"A scoped Chat Completions interface with explicit stream behavior.","requestBody":"399979bb-9d63-4657-b629-83d7987c7650","responses":{"401":"99f01e27-afa1-4a20-9992-70a13f3e2cf8","403":"e5c9d531-edfb-48d7-bba9-f0991e450242","503":"deaa9845-0468-40f1-8762-7f38b719895b"},"method":"post","type":"path","servers":["68fcffb3-177d-4931-8788-1cd087a22ddd"],"path":"/v1/chat/completions","baseUrlOptions":["https://apistable.com"],"title":"LLM placeholder / LLM 接口预留","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":false,"description":"Planned payload only; live request validation is not yet connected.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"example":{"model":"nova-chat-4","messages":[{"role":"user","content":"Hello"}],"stream":true,"fallback":false},"examples":{"Example":{"title":"Example","value":{"model":"nova-chat-4","messages":[{"role":"user","content":"Hello"}],"stream":true,"fallback":false}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"99f01e27-afa1-4a20-9992-70a13f3e2cf8":{"description":"invalid_api_key","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e5c9d531-edfb-48d7-bba9-f0991e450242":{"description":"insufficient_scope","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"deaa9845-0468-40f1-8762-7f38b719895b":{"description":"provider_not_configured or service_unavailable; no model text or SSE stream is returned","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e16a4691-03be-4885-8059-65acdc92d22d":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"APIstable API key","description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"68fcffb3-177d-4931-8788-1cd087a22ddd":{"url":"https://apistable.com","description":"APIstable API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"APIstable API key","description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key beginning as_. Keep on the server. Scope permissions are checked separately.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"apistable","siteName":"APIstable","title":"LLM \u0026 streaming - APIstable","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/llm","matchLevel":0},"cn":{"href":"/cn/llm","matchLevel":1}}},"lastModified":"2026-10-31T12:51:27.183Z","originalFileLocation":"en/llm.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A scoped Chat Completions interface with explicit stream behavior.\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIstable\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"LLM \u0026amp; streaming - APIstable\">\u003cmeta data-mint-head property=\"og:description\" content=\"A scoped Chat Completions interface with explicit stream behavior.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIstable\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apistable.mintlify.app/en/llm\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apistable.mintlify.app/_mintlify/api/og/v2?division=API+reference\u0026amp;title=LLM+%26+streaming\u0026amp;description=A+scoped+Chat+Completions+interface+with+explicit+stream+behavior.\u0026amp;theme=0021cbb4aa87915489c6b7ac\u0026amp;signature=3f3ce712566184c19343d088e34e6b0f02aab0318db04d9bf6426d12ce932eb2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"LLM \u0026amp; streaming - APIstable\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A scoped Chat Completions interface with explicit stream behavior.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apistable.mintlify.app/_mintlify/api/og/v2?division=API+reference\u0026amp;title=LLM+%26+streaming\u0026amp;description=A+scoped+Chat+Completions+interface+with+explicit+stream+behavior.\u0026amp;theme=0021cbb4aa87915489c6b7ac\u0026amp;signature=3f3ce712566184c19343d088e34e6b0f02aab0318db04d9bf6426d12ce932eb2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/apistable/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIstable\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6256e8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apistable.mintlify.app/en/llm\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/llm.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://apistable.mintlify.app/en/llm\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://apistable.mintlify.app/cn/llm\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://apistable.mintlify.app/en/llm\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apistable.mintlify.app/#organization\",\"name\":\"APIstable\",\"url\":\"https://apistable.mintlify.app\"},{\"@type\":\"WebSite\",\"@id\":\"https://apistable.mintlify.app#website\",\"name\":\"APIstable\",\"url\":\"https://apistable.mintlify.app\",\"publisher\":{\"@id\":\"https://apistable.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apistable.mintlify.app/en/llm#webpage\",\"url\":\"https://apistable.mintlify.app/en/llm\",\"name\":\"LLM \u0026 streaming\",\"description\":\"A scoped Chat Completions interface with explicit stream behavior.\",\"dateModified\":\"2026-10-31T12:51:27.183Z\",\"isPartOf\":{\"@id\":\"https://apistable.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://apistable.mintlify.app/en/llm#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apistable.mintlify.app/en/llm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://apistable.mintlify.app/en/models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LLM \u0026 streaming\",\"item\":\"https://apistable.mintlify.app/en/llm\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apistable.mintlify.app/en/llm#apireference\",\"headline\":\"LLM \u0026 streaming\",\"name\":\"LLM \u0026 streaming\",\"description\":\"A scoped Chat Completions interface with explicit stream behavior.\",\"url\":\"https://apistable.mintlify.app/en/llm\",\"mainEntityOfPage\":{\"@id\":\"https://apistable.mintlify.app/en/llm#webpage\"},\"dateModified\":\"2026-10-31T12:51:27.183Z\",\"publisher\":{\"@id\":\"https://apistable.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://apistable.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIstable\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"APIstable","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get started","pages":[{"title":"Your first request","openapi":"openapi.json POST /v1/tasks","href":"/en/quickstart"},{"title":"Authentication","href":"/en/authentication"}]},{"group":"API reference","pages":[{"title":"List models","openapi":"openapi.json GET /v1/models","href":"/en/models"},{"title":"List tasks","openapi":"openapi.json GET /v1/tasks","href":"/en/list-tasks"},{"title":"Get a quote","openapi":"openapi.json POST /v1/quotes","href":"/en/quotes"},{"title":"Create a task","openapi":"openapi.json POST /v1/tasks","href":"/en/create-task"},{"title":"Query a task","description":"Read each result as it finishes, with its own status and cost.","openapi":"openapi.json GET /v1/tasks/{id}","href":"/en/query-task"},{"title":"LLM \u0026 streaming","openapi":"openapi.json POST /v1/chat/completions","href":"/en/llm"}]},{"group":"Core concepts","pages":[{"title":"Multiple results","description":"One request. Up to four independent image or video results.","href":"/en/outputs"},{"title":"Routing \u0026 fallback","href":"/en/fallback"},{"title":"Credits \u0026 billing","openapi":"openapi.json GET /v1/balance","href":"/en/credits"},{"title":"Music works \u0026 assets","href":"/en/music"},{"title":"Callbacks \u0026 polling","href":"/en/webhooks"},{"title":"Errors \u0026 idempotency","href":"/en/errors"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/llm"}]}]},"basePath":"","title":"LLM \u0026 streaming - APIstable","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}