Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
{ "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.", "reasoning_content": null, "role": "assistant", "tool_calls": [] }, "stop_reason": null } ], "created": 1739928524, "cost": { "diem": 0, "usd": 0.00042 }, "id": "chatcmpl-a81fbc2d81a7a083bb83ccf9f44c6e5e", "model": "zai-org-glm-5-1", "object": "chat.completion", "prompt_logprobs": null, "usage": { "completion_tokens": 146, "completion_tokens_details": null, "prompt_tokens": 612, "prompt_tokens_details": null, "total_tokens": 758 }, "venice_parameters": { "enable_e2ee": true, "include_venice_system_prompt": true, "include_search_results_in_stream": false, "return_search_results_as_documents": false, "web_search_citations": [], "enable_web_search": "auto", "enable_web_scraping": false, "enable_web_citations": true, "strip_thinking_response": true, "disable_thinking": true, "character_slug": "venice" }}
{
"error": "This API key is restricted to configured IP addresses, and this request's source IP is not allowed"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Venice-specific parameters live in venice_parameters. This endpoint is OpenAI-compatible, but the venice_parameters object unlocks features that aren’t part of the standard OpenAI API — and many integrators miss them:
Web search & citations — enable_web_search, enable_web_citations, enable_web_scraping
Character personas — character_slug
System prompt control — include_venice_system_prompt
A list of messages comprising the conversation so far. Depending on the model you use, different message types (modalities) are supported, like text and images. Non-multimodal models reject image content. For vision models that support multiple images (supportsMultipleImages), images are preserved across all messages in the conversation history. For single-image vision models, only the last image-containing message retains its images.
Minimum array length: 1
The user message is the input from the user. It is part of the conversation and is visible to the assistant.
The ID of the model you wish to prompt. May also be a model trait, or a model compatibility mapping. See the models endpoint for a list of models available to you. You can use feature suffixes to enable features from the venice_parameters object. Please see "Model Feature Suffix" documentation for more details.
Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.
The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API. Values of 0 or less are ignored and the model will use its default maximum. This value is now deprecated in favor of max_completion_tokens.
How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.
Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
OpenAI-compatible parameter to control reasoning effort level for supported models. Takes precedence over reasoning.effort if both are provided. Direct OpenAI models validate concrete levels against their reasoningEffortOptions; none and minimal may map to the minimum supported effort on mandatory-reasoning models, with reasoning tokens still billed.
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
Optional identifier for the API customer's end user. Combined with the Venice user id when attributing the request to upstream providers. Distinct from the discarded OpenAI user field. Must be printable ASCII and must not contain ||.
A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
A tool that can be called by the model. Currently, only functions are supported as tools.
A list of chat completion choices. Can be more than one if n is greater than 1. Certain models may not return this field under certain conditions.
Show child attributes
Example:
[ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.", "reasoning_content": null, "role": "assistant", "tool_calls": [] }, "stop_reason": null } ]
{ "choices": [ { "finish_reason": "stop", "index": 0, "logprobs": null, "message": { "content": "The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.", "reasoning_content": null, "role": "assistant", "tool_calls": [] }, "stop_reason": null } ], "created": 1739928524, "cost": { "diem": 0, "usd": 0.00042 }, "id": "chatcmpl-a81fbc2d81a7a083bb83ccf9f44c6e5e", "model": "zai-org-glm-5-1", "object": "chat.completion", "prompt_logprobs": null, "usage": { "completion_tokens": 146, "completion_tokens_details": null, "prompt_tokens": 612, "prompt_tokens_details": null, "total_tokens": 758 }, "venice_parameters": { "enable_e2ee": true, "include_venice_system_prompt": true, "include_search_results_in_stream": false, "return_search_results_as_documents": false, "web_search_citations": [], "enable_web_search": "auto", "enable_web_scraping": false, "enable_web_citations": true, "strip_thinking_response": true, "disable_thinking": true, "character_slug": "venice" }}
{
"error": "This API key is restricted to configured IP addresses, and this request's source IP is not allowed"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Venice API Docs","colors":{"primary":"#125DA3","light":"#125DA3","dark":"#125DA3"},"logo":{"light":"https://mintcdn.com/veniceai/gFXvp87w4B810n0Y/logo/light.svg?fit=max\u0026auto=format\u0026n=gFXvp87w4B810n0Y\u0026q=85\u0026s=121558c3bff1e4e012fcd34bdc50555c","dark":"https://mintcdn.com/veniceai/0vNwudF9KfvWPUSs/logo/dark.svg?fit=max\u0026auto=format\u0026n=0vNwudF9KfvWPUSs\u0026q=85\u0026s=79383337fb486ba06afb95cb7d0b4bf7","href":"https://venice.ai/?utm_source=venice-api-documentation"},"favicon":"https://mintcdn.com/veniceai/wJjdz14nrhedln0s/favicon.png?fit=max\u0026auto=format\u0026n=wJjdz14nrhedln0s\u0026q=85\u0026s=171a8dd0d43182f3b386c25e13152d92","api":{"openapi":"swagger.yaml","playground":{"proxy":false},"mdx":{"auth":{"method":"bearer"},"server":"https://api.venice.ai/api/v1"}},"navbar":{"links":[],"primary":{"type":"button","label":"Try Venice","href":"https://venice.ai/chat?utm_source=venice-api-documentation"}},"footer":{"socials":{"x":"https://x.com/AskVenice","discord":"https://discord.gg/askvenice","github":"https://github.com/veniceai","linkedin":"https://www.linkedin.com/company/venice-ai"}},"seo":{"metatags":{"og:site_name":"Venice API Docs","og:locale":"en_US","og:logo":"/logo/light.svg","article:publisher":"Venice AI","twitter:site":"@AskVenice"},"indexing":"navigable"},"icons":{"library":"tabler"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-KFP6HX49"},"plausible":{"domain":"docs.venice.ai"}},"navigation":{"languages":[{"language":"en","default":true,"href":"overview/about-venice"},{"language":"pt-BR","href":"pt-BR/overview/about-venice"},{"language":"ar","href":"ar/overview/about-venice"},{"language":"it","href":"it/overview/about-venice"},{"language":"de","href":"de/overview/about-venice"},{"language":"es","href":"es/overview/about-venice"},{"language":"fr","href":"fr/overview/about-venice"},{"language":"zh","href":"zh/overview/about-venice"},{"language":"ko","href":"ko/overview/about-venice"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"veniceai","hasAudioNarration":false,"actualSubdomain":"veniceai","customDomains":["docs.venice.ai"],"gitSource":{"type":"github","owner":"veniceai","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae60725cf4408c76828610e","collectionId":"8f2ae822-0bd2-4ac1-8249-75a7023d1d6c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae60725cf4408c76828610e"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae60725cf4408c76828610e","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"en","tag":"Docs","count":79},{"language":"ar","tag":"التوثيق","count":79},{"language":"de","tag":"Dokumentation","count":79},{"language":"es","tag":"Documentación","count":79},{"language":"fr","tag":"Documentation","count":79},{"language":"it","tag":"Documentazione","count":79},{"language":"ko","tag":"문서","count":79},{"language":"pt-BR","tag":"Documentação","count":79},{"language":"zh","tag":"文档","count":79},{"language":"en","tag":"API Reference","count":58},{"language":"en","tag":"Venice APIs","count":58},{"language":"ar","tag":"مرجع الـ API","count":58},{"language":"ar","tag":"Venice APIs","count":58},{"language":"de","tag":"API-Referenz","count":58},{"language":"de","tag":"Venice APIs","count":58},{"language":"es","tag":"Referencia de la API","count":58},{"language":"es","tag":"Venice APIs","count":58},{"language":"fr","tag":"Référence de l'API","count":58},{"language":"fr","tag":"Venice APIs","count":58},{"language":"it","tag":"Riferimento API","count":58},{"language":"it","tag":"Venice APIs","count":58},{"language":"ko","tag":"API 레퍼런스","count":58},{"language":"ko","tag":"Venice APIs","count":58},{"language":"pt-BR","tag":"Referência da API","count":58},{"language":"pt-BR","tag":"Venice APIs","count":58},{"language":"zh","tag":"API 参考","count":58},{"language":"zh","tag":"Venice APIs","count":58},{"language":"en","tag":"Audio","count":18},{"language":"en","tag":"Learn","count":18},{"language":"ar","tag":"الصوت","count":18},{"language":"ar","tag":"تعلّم","count":18},{"language":"de","tag":"Audio","count":18},{"language":"de","tag":"Lernen","count":18},{"language":"es","tag":"Audio","count":18},{"language":"es","tag":"Aprender","count":18},{"language":"fr","tag":"Audio","count":18},{"language":"fr","tag":"Apprendre","count":18},{"language":"it","tag":"Audio","count":18},{"language":"it","tag":"Impara","count":18},{"language":"ko","tag":"오디오","count":18},{"language":"ko","tag":"학습","count":18},{"language":"pt-BR","tag":"Áudio","count":18},{"language":"pt-BR","tag":"Aprender","count":18},{"language":"zh","tag":"音频","count":18},{"language":"zh","tag":"学习","count":18},{"language":"it","tag":"Immagini","count":12},{"language":"ko","tag":"이미지","count":12},{"language":"zh","tag":"图像","count":12},{"language":"en","tag":"Models","count":11},{"language":"en","tag":"Text \u0026 Chat","count":11},{"language":"ar","tag":"النماذج","count":11},{"language":"ar","tag":"النص والدردشة","count":11},{"language":"de","tag":"Modelle","count":11},{"language":"de","tag":"Text \u0026 Chat","count":11},{"language":"es","tag":"Modelos","count":11},{"language":"es","tag":"Texto y chat","count":11},{"language":"fr","tag":"Modèles","count":11},{"language":"fr","tag":"Texte et chat","count":11},{"language":"it","tag":"Modelli","count":11},{"language":"it","tag":"Testo e chat","count":11},{"language":"ko","tag":"모델","count":11},{"language":"ko","tag":"텍스트 및 채팅","count":11},{"language":"pt-BR","tag":"Modelos","count":11},{"language":"pt-BR","tag":"Texto e chat","count":11},{"language":"zh","tag":"模型","count":11},{"language":"zh","tag":"文本与聊天","count":11},{"language":"en","tag":"Agents \u0026 Integrations","count":10},{"language":"ar","tag":"الوكلاء والتكاملات","count":10},{"language":"de","tag":"Agenten \u0026 Integrationen","count":10},{"language":"es","tag":"Agentes e integraciones","count":10},{"language":"fr","tag":"Agents et intégrations","count":10},{"language":"it","tag":"Agenti e integrazioni","count":10},{"language":"ko","tag":"에이전트 및 통합","count":10},{"language":"pt-BR","tag":"Agentes e integrações","count":10},{"language":"zh","tag":"智能体与集成","count":10},{"language":"en","tag":"Video","count":9},{"language":"ar","tag":"الفيديو","count":9},{"language":"de","tag":"Video","count":9},{"language":"es","tag":"Vídeo","count":9},{"language":"fr","tag":"Vidéo","count":9},{"language":"it","tag":"Video","count":9},{"language":"ko","tag":"비디오","count":9},{"language":"pt-BR","tag":"Vídeo","count":9},{"language":"zh","tag":"视频","count":9},{"language":"en","tag":"Coding Tools","count":8},{"language":"ar","tag":"أدوات البرمجة","count":8},{"language":"de","tag":"Coding-Tools","count":8},{"language":"es","tag":"Herramientas de código","count":8},{"language":"fr","tag":"Outils de code","count":8},{"language":"pt-BR","tag":"Ferramentas de código","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":[{"filePath":"style.css","href":"/_mintlify/custom/veniceai/27197d3a34e3a413/style.css"}],"page":{"pagePath":"api-reference/endpoint/chat/completions","slug":"/api-reference/endpoint/chat/completions","pageMetadata":{"title":"Chat Completions","openapi":"POST /chat/completions","og:title":"Chat Completions | Venice API Docs","og:description":"Documentation covering Venice's chat completions API.","description":"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/api-reference/endpoint/chat/completions"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Authentication:\"\n }), \" This endpoint accepts either a Bearer API key or a \", _jsx(_components.code, {\n children: \"SIGN-IN-WITH-X\"\n }), \" header for x402 wallet-based authentication. The legacy \", _jsx(_components.code, {\n children: \"X-Sign-In-With-X\"\n }), \" header is also accepted during migration. When using x402, a \", _jsx(_components.code, {\n children: \"402 Payment Required\"\n }), \" response indicates insufficient balance and includes top-up instructions.\"]\n })]\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={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Venice-specific parameters live in `,_jsx(_components.a,{href:`#body-venice-parameters`,children:_jsx(_components.code,{children:`venice_parameters`})}),`.`]}),` This endpoint is OpenAI-compatible, but the `,_jsx(_components.code,{children:`venice_parameters`}),` object unlocks features that aren’t part of the standard OpenAI API — and many integrators miss them:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Web search \u0026 citations`}),` — `,_jsx(_components.code,{children:`enable_web_search`}),`, `,_jsx(_components.code,{children:`enable_web_citations`}),`, `,_jsx(_components.code,{children:`enable_web_scraping`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Character personas`}),` — `,_jsx(_components.code,{children:`character_slug`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`System prompt control`}),` — `,_jsx(_components.code,{children:`include_venice_system_prompt`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reasoning controls`}),` — `,_jsx(_components.code,{children:`disable_thinking`}),`, `,_jsx(_components.code,{children:`strip_thinking_response`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Privacy`}),` — `,_jsx(_components.code,{children:`enable_e2ee`})]}),`\n`]}),_jsxs(_components.p,{children:[`See the full list in the `,_jsx(_components.a,{href:`#body-venice-parameters`,children:_jsx(_components.code,{children:`venice_parameters`})}),` section below.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`postman-collection`,children:`Postman Collection`}),`\n`,_jsxs(_components.p,{children:[`For additional examples, please see this `,_jsx(_components.a,{href:`https://www.postman.com/veniceai/workspace/venice-ai-workspace/folder/38652128-5a71391b-5dd8-4fe8-80be-197a958907fe?action=share\u0026creator=38652128\u0026ctx=documentation\u0026active-environment=38652128-ef110f4e-d3e1-43b5-8029-4d6877e62041`,children:`Postman Collection`}),`.`]}),`\n`,_jsx(_components.hr,{})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Chat Completions","openapi":"POST /chat/completions","og:title":"Chat Completions | Venice API Docs","og:description":"Documentation covering Venice's chat completions API.","description":"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/api-reference/endpoint/chat/completions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Postman Collection","slug":"postman-collection","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/veniceai/e2ef95b7f404dd19/model-search.js"],"openApiReferenceData":{"operation":{"description":"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","operationId":"createChatCompletion","parameters":["b9edf65c-5931-4c35-9323-c9248083aff4"],"security":["5d63a44b-8d1c-4720-b9e4-fd9ac594ebcc","96a6155f-206e-41d2-9279-fe2cede69951"],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.001","max":"10.00"},"protocols":[{"x402":{}}]},"summary":"/api/v1/chat/completions","tags":["Chat"],"requestBody":"60a7e175-dbbb-490a-ae8c-73aae2480c5c","responses":{"200":"a8fbf874-b62f-474b-91f9-543c40797e19","400":"26eb28c1-3e84-486c-92a6-ba167866dfc4","401":"083a7ff4-0298-44ca-87d1-c346b3c1dbe5","402":"6e462129-a0ca-453e-93c5-3bdc6e737ead","403":"a4a89d0a-be44-4e92-9c4d-57b751f67e59","415":"478ba85f-8a6e-4c51-9a0a-605503298b59","429":"4ee3e64c-81ef-4b60-ad99-52afd4a3720e","500":"9feb521f-4b94-4fef-982f-b7e7666e1cd9","503":"3455c129-fbb8-48cd-b3b2-1933f0fc9ddb","504":"811cca89-0893-4165-a2d8-3d43da3f9552"},"method":"post","type":"path","servers":["4dec1485-73f1-4544-b3b0-aeb2493be681"],"path":"/chat/completions","baseUrlOptions":["https://api.venice.ai/api/v1"],"title":"/api/v1/chat/completions","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"b9edf65c-5931-4c35-9323-c9248083aff4":{"description":"Supported compression encodings (gzip, br). Only applied when stream is false.","in":"header","name":"Accept-Encoding","required":false,"schema":{"example":"gzip, br","type":"string","isRequired":false,"description":"Supported compression encodings (gzip, br). Only applied when stream is false.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"oneOf":[{"type":"object","title":"User Message","description":"The user message is the input from the user. It is part of the conversation and is visible to the assistant.","required":["content","role"],"properties":{"content":{"oneOf":[{"type":"string","title":"String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"text","description":"Text message type. Supports optional cache_control for prompt caching on supported providers.","required":["text","type"],"example":{"text":"Why is the sky blue?","type":"text"},"properties":{"text":{"type":"string","minLength":1,"description":"The prompt text of the message. Must be at-least one character in length","example":"Why is the sky blue?","title":"Text Content Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"type":{"type":"string","enum":["text"],"title":"Text Content String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.cache_control","typeLabel":"Cache Control · object"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"text · object"},{"type":"object","title":"image_url","description":"Image URL message type. Supports optional cache_control for prompt caching on supported providers.","required":["image_url","type"],"properties":{"image_url":{"type":"object","properties":{"url":{"type":"string","description":"The URL of the image. Can be a data URL with a base64 encoded image or a public URL. URL must be publicly accessible. Image must pass validation checks and be >= 64 pixels square.","format":"uri","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.url","typeLabel":"string\u003curi>"},"detail":{"type":"string","description":"Image detail auto, low, and high are now forwarded to providers rather than ignored. Explicit high detail may increase image-token usage and cost. For plaintext requests, original is preserved on direct OpenAI routes and mapped to high on other routes, including retries. Encrypted E2EE content is unchanged. Unrecognized values are ignored for legacy Chat Completions compatibility.","enum":["auto","low","high","original"],"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.detail","typeLabel":"enum\u003cstring>"}},"required":["url"],"description":"Object containing the image URL information","title":"Image URL Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"Image URL Object · object"},"type":{"type":"string","enum":["image_url"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.cache_control","typeLabel":"Cache Control · object"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"image_url · object"},{"type":"object","title":"input_audio","description":"Audio input message type for models that support audio analysis. Audio must be base64-encoded.","required":["input_audio","type"],"example":{"input_audio":{"data":"\u003cbase64-encoded-audio>","format":"wav"},"type":"input_audio"},"properties":{"input_audio":{"type":"object","properties":{"data":{"type":"string","description":"Base64-encoded audio data. Direct URLs are not supported for audio content.","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.data","typeLabel":"string"},"format":{"type":"string","enum":["wav","mp3","aiff","aac","ogg","flac","m4a","pcm16","pcm24"],"default":"wav","description":"The format of the audio file. Common formats include wav, mp3, aac, ogg, flac, m4a. Defaults to wav.","example":"wav","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio.format","typeLabel":"enum\u003cstring>"}},"required":["data"],"description":"Object containing the base64-encoded audio data and format","title":"Input Audio Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.input_audio","typeLabel":"Input Audio Object · object"},"type":{"type":"string","enum":["input_audio"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.cache_control","typeLabel":"Cache Control · object"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"input_audio · object"},{"type":"object","title":"video_url","description":"Video URL message type for models that support video analysis. Supports both direct URLs and base64-encoded data URLs.","required":["type","video_url"],"example":{"type":"video_url","video_url":{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},"properties":{"type":{"type":"string","enum":["video_url"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"video_url":{"type":"object","properties":{"url":{"type":"string","description":"The URL of the video. Can be a direct URL (including YouTube links for some providers), or a base64-encoded data URL (e.g., data:video/mp4;base64,...). Supported formats: mp4, mpeg, mov, webm. Remote URLs must be publicly accessible, must not redirect, and must return a permitted video Content-Type. At most 3 videos may be provided in one request.","format":"uri","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url.url","typeLabel":"string\u003curi>"}},"required":["url"],"description":"Object containing the video URL information","title":"Video URL Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.video_url","typeLabel":"Video URL Object · object"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3.cache_control","typeLabel":"Cache Control · object"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"video_url · object"},{"type":"object","title":"file","description":"File input message type for document processing. Supports PDF, EPUB, DOCX, PPTX, XLSX, plain text, and most source-code files (e.g., .py, .js, .ts, .c, .cpp, .java, .go, .rs, .ps1, .sh, .yaml, .sql). Files are extracted to text before being sent to the model.","required":["type","file"],"example":{"type":"file","file":{"file_data":"data:application/pdf;base64,JVBERi0xLjQK...","filename":"document.pdf"}},"properties":{"type":{"type":"string","enum":["file"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"file":{"type":"object","properties":{"file_data":{"type":"string","description":"The file content as a data URL (e.g., data:application/pdf;base64,...) or a publicly accessible URL. Supported formats: PDF, EPUB, DOCX, PPTX, XLSX, XLS, plain text, Markdown, CSV, JSON, and most source-code files (e.g., .py, .js, .ts, .c, .cpp, .java, .go, .rs, .ps1, .sh, .yaml, .sql).","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.file.file_data","typeLabel":"string"},"filename":{"type":"string","description":"Optional filename for the file. Used for display purposes.","example":"document.pdf","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.file.filename","typeLabel":"string"}},"required":["file_data"],"description":"Object containing the file data and optional filename","title":"File Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.file","typeLabel":"File Object · object"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4.cache_control","typeLabel":"Cache Control · object"}},"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"file · object"}],"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"text · object | image_url · object | input_audio · object | video_url · object | file · object"},"title":"Objects","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(text · object | image_url · object | input_audio · object | video_url · object | file · object)[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.content","typeLabel":"string | (text · object | image_url · object | input_audio · object | video_url · object | file · object)[]"},"role":{"type":"string","enum":["user"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.0.name","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].oneOf.0","typeLabel":"User Message · object"},{"type":"object","title":"Assistant Message","description":"The assistant message contains the response from the LLM. Must have either content or tool_calls.","required":["role"],"properties":{"role":{"type":"string","enum":["assistant"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.1.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.1.cache_control","typeLabel":"Cache Control · object"},"content":{"oneOf":[{"type":"string","title":"String","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"description":"The prompt text of the message. Must be at-least one character in length","example":"Why is the sky blue?","title":"Text Content Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","enum":["text"],"title":"Text Content String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"Cache Control · object"}},"required":["text","type"],"description":"Text message type. Supports optional cache_control for prompt caching on supported providers.","example":{"text":"Why is the sky blue?","type":"text"},"title":"text","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1.items.[INDEX]","typeLabel":"text · object"},"title":"Objects","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.1","typeLabel":"text · object[]"},{"title":"null"},{"type":"null","title":"null","uniqueKey":"messages.items.[INDEX].oneOf.1.content.oneOf.3","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.content","typeLabel":"string | text · object[] | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.1.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.name","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_content","typeLabel":"string | null"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].type","typeLabel":"string"},"data":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].data","typeLabel":"string"},"format":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].format","typeLabel":"string"},"id":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"number","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].index","typeLabel":"number"},"text":{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX].text","typeLabel":"string"}},"required":["type"],"uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details.items.[INDEX]","typeLabel":"object"},"description":"Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures.","uniqueKey":"messages.items.[INDEX].oneOf.1.reasoning_details","typeLabel":"object[]"},"thought_signature":{"oneOf":[{"type":"string","description":"Gemini thought signature returned by native GCP transport. For multi-turn conversations (especially with tool calls), pass it back exactly as received to preserve thought signatures.","uniqueKey":"messages.items.[INDEX].oneOf.1.thought_signature.oneOf.0","typeLabel":"string"},{"type":"null","description":"Gemini thought signature returned by native GCP transport. For multi-turn conversations (especially with tool calls), pass it back exactly as received to preserve thought signatures.","uniqueKey":"messages.items.[INDEX].oneOf.1.thought_signature.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.thought_signature","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"oneOf":[{},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.1.tool_calls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"null"},"uniqueKey":"messages.items.[INDEX].oneOf.1.tool_calls.oneOf.0","typeLabel":"null[]"},{"type":"null","items":{"oneOf":[{},{"type":"null"}]},"uniqueKey":"messages.items.[INDEX].oneOf.1.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.1.tool_calls","typeLabel":"null[] | null"}},"uniqueKey":"messages.items.[INDEX].oneOf.1","typeLabel":"Assistant Message · object"},{"type":"object","title":"Tool Message","description":"The tool message is a special message that is used to call a tool. It is not part of the conversation and is not visible to the user.","required":["content","role","tool_call_id"],"properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.content","typeLabel":"string"},"role":{"type":"string","enum":["tool"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.role","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_call_id","typeLabel":"string"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.2.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.2.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.2.cache_control","typeLabel":"Cache Control · object"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.2.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.2.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.name","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.reasoning_content","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"oneOf":[{},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"null"},"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.oneOf.0","typeLabel":"null[]"},{"type":"null","items":{"oneOf":[{},{"type":"null"}]},"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.2.tool_calls","typeLabel":"null[] | null"}},"uniqueKey":"messages.items.[INDEX].oneOf.2","typeLabel":"Tool Message · object"},{"type":"object","title":"System Message","description":"The system message is a special message that provides context to the model. It is not part of the conversation and is not visible to the user.","required":["content","role"],"properties":{"content":{"oneOf":[{"type":"string","title":"String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"description":"The prompt text of the message. Must be at-least one character in length","example":"Why is the sky blue?","title":"Text Content Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","enum":["text"],"title":"Text Content String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"Cache Control · object"}},"required":["text","type"],"description":"Text message type. Supports optional cache_control for prompt caching on supported providers.","example":{"text":"Why is the sky blue?","type":"text"},"title":"text","uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1.items.[INDEX]","typeLabel":"text · object"},"title":"Objects","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content.oneOf.1","typeLabel":"text · object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.content","typeLabel":"string | text · object[]"},"role":{"type":"string","enum":["system"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.3.role","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.3.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.3.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.3.name","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].oneOf.3","typeLabel":"System Message · object"},{"type":"object","title":"Developer Message","description":"The developer message provides high-level instructions to reasoning models (o1, codex). Semantically similar to system messages but specifically designed for reasoning model workflows.","required":["content","role"],"properties":{"content":{"oneOf":[{"type":"string","title":"String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"description":"The prompt text of the message. Must be at-least one character in length","example":"Why is the sky blue?","title":"Text Content Object","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","enum":["text"],"title":"Text Content String","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"Cache Control · object"}},"required":["text","type"],"description":"Text message type. Supports optional cache_control for prompt caching on supported providers.","example":{"text":"Why is the sky blue?","type":"text"},"title":"text","uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1.items.[INDEX]","typeLabel":"text · object"},"title":"Objects","isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content.oneOf.1","typeLabel":"text · object[]"}],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.content","typeLabel":"string | text · object[]"},"role":{"type":"string","enum":["developer"],"isRequired":true,"uniqueKey":"messages.items.[INDEX].oneOf.4.role","typeLabel":"enum\u003cstring>"},"name":{"oneOf":[{"type":"string","uniqueKey":"messages.items.[INDEX].oneOf.4.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"messages.items.[INDEX].oneOf.4.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"messages.items.[INDEX].oneOf.4.name","typeLabel":"string | null"}},"uniqueKey":"messages.items.[INDEX].oneOf.4","typeLabel":"Developer Message · object"}],"uniqueKey":"messages.items.[INDEX]","typeLabel":"User Message · object | Assistant Message · object | Tool Message · object | System Message · object | Developer Message · object"},"minItems":1,"description":"A list of messages comprising the conversation so far. Depending on the model you use, different message types (modalities) are supported, like text and images. Non-multimodal models reject image content. For vision models that support multiple images (supportsMultipleImages), images are preserved across all messages in the conversation history. For single-image vision models, only the last image-containing message retains its images.","isRequired":true,"uniqueKey":"messages","typeLabel":"(User Message · object | Assistant Message · object | Tool Message · object | System Message · object | Developer Message · object)[]"},"model":{"type":"string","description":"The ID of the model you wish to prompt. May also be a model trait, or a model compatibility mapping. See the models endpoint for a list of models available to you. You can use feature suffixes to enable features from the venice_parameters object. Please see \"Model Feature Suffix\" documentation for more details.","example":"zai-org-glm-5-1","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"frequency_penalty":{"type":"number","maximum":2,"minimum":-2,"default":0,"description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.","uniqueKey":"frequency_penalty","typeLabel":"number"},"logprobs":{"type":"boolean","description":"Whether to include log probabilities in the response. This is not supported by all models.","example":true,"uniqueKey":"logprobs","typeLabel":"boolean"},"top_logprobs":{"type":"integer","minimum":0,"description":"The number of highest probability tokens to return for each token position.","example":1,"uniqueKey":"top_logprobs","typeLabel":"integer"},"max_completion_tokens":{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.","uniqueKey":"max_completion_tokens","typeLabel":"integer"},"max_temp":{"type":"number","minimum":0,"maximum":2,"description":"Maximum temperature value for dynamic temperature scaling.","example":1.5,"uniqueKey":"max_temp","typeLabel":"number"},"max_tokens":{"type":"integer","description":"The maximum number of tokens that can be generated in the chat completion. This value can be used to control costs for text generated via API. Values of 0 or less are ignored and the model will use its default maximum. This value is now deprecated in favor of max_completion_tokens.","uniqueKey":"max_tokens","typeLabel":"integer"},"min_p":{"type":"number","minimum":0,"maximum":1,"description":"Sets a minimum probability threshold for token selection. Tokens with probabilities below this value are filtered out.","example":0.05,"uniqueKey":"min_p","typeLabel":"number"},"min_temp":{"type":"number","minimum":0,"maximum":2,"description":"Minimum temperature value for dynamic temperature scaling.","example":0.1,"uniqueKey":"min_temp","typeLabel":"number"},"n":{"type":"integer","default":1,"description":"How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.","uniqueKey":"n","typeLabel":"integer"},"presence_penalty":{"type":"number","maximum":2,"minimum":-2,"default":0,"description":"Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.","uniqueKey":"presence_penalty","typeLabel":"number"},"prompt_cache_key":{"type":"string","description":"When supplied, this field may be used to optimize conversation routing to improve cache performance and thus reduce latency.","example":"random-string","uniqueKey":"prompt_cache_key","typeLabel":"string"},"prompt_cache_retention":{"type":"string","enum":["default","extended","24h"],"description":"OpenAI-compatible parameter to control prompt cache retention. \"extended\" or \"24h\" extends retention to 24 hours for supported models.","example":"24h","uniqueKey":"prompt_cache_retention","typeLabel":"enum\u003cstring>"},"repetition_penalty":{"type":"number","minimum":0,"description":"The parameter for repetition penalty. 1.0 means no penalty. Values > 1.0 discourage repetition.","example":1.2,"uniqueKey":"repetition_penalty","typeLabel":"number"},"reasoning":{"type":"object","properties":{"effort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"],"description":"Controls the reasoning effort level for supported models. Higher effort means more thorough reasoning but increased token usage. Defaults to the model configuration if not specified.","example":"medium","uniqueKey":"reasoning.effort","typeLabel":"enum\u003cstring>"},"enabled":{"type":"boolean","description":"Set to false to disable reasoning on supported models. Defaults to the model configuration if not specified. Ignored when an effort level is provided.","example":false,"uniqueKey":"reasoning.enabled","typeLabel":"boolean"},"summary":{"type":"string","enum":["auto","concise","detailed"],"description":"Controls whether and how the model generates a summary of its reasoning. \"auto\" lets the model decide, \"concise\" requests a brief summary, \"detailed\" requests a thorough summary.","example":"auto","uniqueKey":"reasoning.summary","typeLabel":"enum\u003cstring>"}},"description":"Configuration for reasoning behavior on supported models.","uniqueKey":"reasoning","typeLabel":"object"},"reasoning_effort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"],"description":"OpenAI-compatible parameter to control reasoning effort level for supported models. Takes precedence over reasoning.effort if both are provided. Direct OpenAI models validate concrete levels against their reasoningEffortOptions; none and minimal may map to the minimum supported effort on mandatory-reasoning models, with reasoning tokens still billed.","example":"medium","uniqueKey":"reasoning_effort","typeLabel":"enum\u003cstring>"},"seed":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"The random seed used to generate the response. This is useful for reproducibility.","example":42,"uniqueKey":"seed","typeLabel":"integer"},"stop":{"oneOf":[{"type":"string","title":"String","description":"Up to 4 sequences where the API will stop generating further tokens. Defaults to null.","uniqueKey":"stop.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"stop.oneOf.1.items.[INDEX]","typeLabel":"string"},"title":"Array of Strings","description":"Up to 4 sequences where the API will stop generating further tokens. Defaults to null.","maxItems":4,"minItems":1,"uniqueKey":"stop.oneOf.1","typeLabel":"string[]"},{"title":"null","description":"Up to 4 sequences where the API will stop generating further tokens. Defaults to null.","uniqueKey":"stop.oneOf.2","typeLabel":"any"},{"type":"null","title":"null","description":"Up to 4 sequences where the API will stop generating further tokens. Defaults to null.","uniqueKey":"stop.oneOf.3","typeLabel":"null"}],"uniqueKey":"stop","typeLabel":"string | string[] | any | null"},"stop_token_ids":{"type":"array","items":{"type":"number","uniqueKey":"stop_token_ids.items.[INDEX]","typeLabel":"number"},"description":"Array of token IDs where the API will stop generating further tokens.","example":[151643,151645],"uniqueKey":"stop_token_ids","typeLabel":"number[]"},"stream":{"type":"boolean","description":"Whether to stream back partial progress. Defaults to false.","example":true,"uniqueKey":"stream","typeLabel":"boolean"},"stream_options":{"type":"object","properties":{"include_usage":{"type":"boolean","description":"Whether to include usage information in the stream.","uniqueKey":"stream_options.include_usage","typeLabel":"boolean"}},"uniqueKey":"stream_options","typeLabel":"object"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both.","example":0.7,"uniqueKey":"temperature","typeLabel":"number"},"top_k":{"type":"integer","minimum":0,"description":"The number of highest probability vocabulary tokens to keep for top-k-filtering.","example":40,"uniqueKey":"top_k","typeLabel":"integer"},"top_p":{"type":"number","minimum":0,"maximum":1,"description":"An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.","example":0.9,"uniqueKey":"top_p","typeLabel":"number"},"user":{"type":"string","description":"This field is discarded on the request but is supported in the Venice API for compatibility with OpenAI clients. It is not an alias of anon_user_id.","uniqueKey":"user","typeLabel":"string"},"anon_user_id":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[\\x20-\\x7E]+$","description":"Optional identifier for the API customer's end user. Combined with the Venice user id when attributing the request to upstream providers. Distinct from the discarded OpenAI `user` field. Must be printable ASCII and must not contain `||`.","example":"end-user-123","uniqueKey":"anon_user_id","typeLabel":"string"},"fallbacks":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"fallbacks.items.[INDEX].model","typeLabel":"string"}},"required":["model"],"uniqueKey":"fallbacks.items.[INDEX]","typeLabel":"object"},"maxItems":10,"description":"Anthropic beta parameter for Claude Fable 5 server-side refusal fallback. Forwarded only for direct Anthropic routes; ignored for other providers.","example":[{"model":"claude-opus-4-8"}],"uniqueKey":"fallbacks","typeLabel":"object[]"},"store":{"type":"boolean","description":"This field is accepted for OpenAI compatibility but is not used by Venice.","uniqueKey":"store","typeLabel":"boolean"},"verbosity":{"type":"string","enum":["low","medium","high","auto"],"description":"Controls the verbosity of the text response. Currently supported values are `low`, `medium`, and `high`.","example":"low","uniqueKey":"verbosity","typeLabel":"enum\u003cstring>"},"text":{"type":"object","properties":{"verbosity":{"type":"string","enum":["low","medium","high","auto"],"description":"Controls the verbosity of the text response.","example":"low","uniqueKey":"text.verbosity","typeLabel":"enum\u003cstring>"}},"description":"OpenAI-compatible text configuration parameter.","uniqueKey":"text","typeLabel":"object"},"include":{"type":"array","items":{"type":"string","uniqueKey":"include.items.[INDEX]","typeLabel":"string"},"description":"OpenAI-compatible parameter specifying additional data to include in the response.","uniqueKey":"include","typeLabel":"string[]"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"OpenAI-compatible metadata parameter for request tracking.","uniqueKey":"metadata","typeLabel":"object"},"venice_parameters":{"type":"object","properties":{"character_slug":{"type":"string","description":"The character slug of a public Venice character. Discoverable as the \"Public ID\" on the published character page.","uniqueKey":"venice_parameters.character_slug","typeLabel":"string"},"strip_thinking_response":{"type":"boolean","default":false,"description":"Strip \u003cthink>\u003c/think> blocks from the response. Applicable only to reasoning / thinking models. Also available to use as a model feature suffix. Defaults to false.","example":false,"uniqueKey":"venice_parameters.strip_thinking_response","typeLabel":"boolean"},"disable_thinking":{"type":"boolean","default":false,"description":"On supported reasoning models, disables thinking and strips reasoning from the response. Direct OpenAI models with mandatory reasoning use their minimum supported effort when a thinking toggle is offered; reasoning tokens may still be generated and billed. Defaults to false.","example":false,"uniqueKey":"venice_parameters.disable_thinking","typeLabel":"boolean"},"enable_e2ee":{"type":"boolean","default":true,"description":"Enable end-to-end encryption for E2EE-capable models. When true (default), E2EE is used if E2EE headers are present. When false, the model runs in TEE-only mode even if E2EE headers are present. Only applicable to models with E2EE capability.","example":true,"uniqueKey":"venice_parameters.enable_e2ee","typeLabel":"boolean"},"enable_web_search":{"type":"string","enum":["auto","off","on"],"default":"off","description":"Enable web search for this request. Defaults to off. On will force web search on the request. Auto will enable it based on the model's discretion. Citations will be returned either in the first chunk of a streaming result, or in the non streaming response.","example":"off","uniqueKey":"venice_parameters.enable_web_search","typeLabel":"enum\u003cstring>"},"enable_web_scraping":{"type":"boolean","default":false,"description":"Enable Venice web scraping of URLs in the latest user message using Firecrawl. Off by default.","example":false,"uniqueKey":"venice_parameters.enable_web_scraping","typeLabel":"boolean"},"enable_web_citations":{"type":"boolean","default":false,"description":"When web search is enabled, this will request that the LLM cite its sources using a ^index^ or ^i,j^ superscript format (e.g., ^1^). Defaults to false.","uniqueKey":"venice_parameters.enable_web_citations","typeLabel":"boolean"},"include_search_results_in_stream":{"type":"boolean","default":false,"description":"Experimental feature - When set to true, the LLM will include search results in the stream as the first emitted chunk. Defaults to false.","uniqueKey":"venice_parameters.include_search_results_in_stream","typeLabel":"boolean"},"return_search_results_as_documents":{"type":"boolean","description":"When set, search results are also surfaced in an OpenAI-compatible tool call named \"venice_web_search_documents\" to ease LangChain consumption.","uniqueKey":"venice_parameters.return_search_results_as_documents","typeLabel":"boolean"},"include_venice_system_prompt":{"type":"boolean","default":true,"description":"Whether to include the Venice supplied system prompts along side specified system prompts. Defaults to true.","uniqueKey":"venice_parameters.include_venice_system_prompt","typeLabel":"boolean"},"enable_x_search":{"type":"boolean","default":false,"description":"Enable xAI native search (web + X/Twitter) for supported models. When enabled, the model performs web and X searches server-side instead of Venice search augmentation. Only available on models with supportsXSearch capability (e.g., grok-4-20). Additional per-search charges apply (~$0.01/search).","example":true,"uniqueKey":"venice_parameters.enable_x_search","typeLabel":"boolean"}},"description":"Unique parameters to Venice's API implementation. Customize these to control the behavior of the model.","uniqueKey":"venice_parameters","typeLabel":"object"},"parallel_tool_calls":{"type":"boolean","default":true,"description":"Whether to enable parallel function calling during tool use.","example":false,"uniqueKey":"parallel_tool_calls","typeLabel":"boolean"},"response_format":{"oneOf":[{"type":"object","title":"json_schema","description":"Format in which the response should be returned.","required":["json_schema","type"],"example":{"json_schema":{"properties":{"age":{"type":"number"},"name":{"type":"string"}},"required":["name","age"],"type":"object"},"type":"json_schema"},"properties":{"json_schema":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"response_format.oneOf.0.json_schema.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"response_format.oneOf.0.json_schema.additionalProperties","typeLabel":"null"},"isRequired":true,"uniqueKey":"response_format.oneOf.0.json_schema","typeLabel":"object"},"type":{"type":"string","enum":["json_schema"],"isRequired":true,"uniqueKey":"response_format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"response_format.oneOf.0","typeLabel":"json_schema · object"},{"type":"object","title":"json_object","description":"Format in which the response should be returned.","required":["type"],"properties":{"type":{"type":"string","enum":["json_object"],"isRequired":true,"uniqueKey":"response_format.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"response_format.oneOf.1","typeLabel":"json_object · object"},{"type":"object","title":"text","description":"Format in which the response should be returned.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"isRequired":true,"uniqueKey":"response_format.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"response_format.oneOf.2","typeLabel":"text · object"}],"uniqueKey":"response_format","typeLabel":"json_schema · object | json_object · object | text · object"},"tool_choice":{"oneOf":[{"type":"object","required":["function","type"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.0.function.name","typeLabel":"string"}},"required":["name"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.0.function","typeLabel":"object"},"type":{"type":"string","isRequired":true,"uniqueKey":"tool_choice.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.0","typeLabel":"object"},{"type":"string","uniqueKey":"tool_choice.oneOf.1","typeLabel":"string"}],"uniqueKey":"tool_choice","typeLabel":"object | string"},"tools":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"Tool Call","description":"A tool that can be called by the model. Currently, only functions are supported as tools.","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","x_search"],"isRequired":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Tool Call · object"},{"type":"object","title":"Tool Call","description":"A tool that can be called by the model. Currently, only functions are supported as tools.","required":["function"],"properties":{"function":{"type":"object","properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.name","typeLabel":"string"},"description":{"type":"string","uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.description","typeLabel":"string"},"parameters":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.parameters.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.parameters.additionalProperties","typeLabel":"null"},"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.parameters","typeLabel":"object"},"strict":{"type":"boolean","default":false,"description":"If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true.","example":false,"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function.strict","typeLabel":"boolean"}},"required":["name"],"isRequired":true,"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.function","typeLabel":"object"},"id":{"type":"string","uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"string"}},"uniqueKey":"tools.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Tool Call · object"}],"uniqueKey":"tools.oneOf.0.items.[INDEX]","typeLabel":"Tool Call · object"},"description":"A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.","uniqueKey":"tools.oneOf.0","typeLabel":"Tool Call · object[]"},{"type":"null","items":{"oneOf":[{"type":"object","title":"Tool Call","description":"A tool that can be called by the model. Currently, only functions are supported as tools.","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","x_search"]}}},{"type":"object","title":"Tool Call","description":"A tool that can be called by the model. Currently, only functions are supported as tools.","required":["function"],"properties":{"function":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},"strict":{"type":"boolean","default":false,"description":"If set to true, the model will follow the exact schema defined in the parameters field. Only a subset of JSON Schema is supported when strict is true.","example":false}},"required":["name"]},"id":{"type":"string"},"type":{"type":"string"}}}]},"description":"A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.","uniqueKey":"tools.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools","typeLabel":"Tool Call · object[] | null"}},"required":["messages","model"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"messages":[{"content":"\u003cstring>","role":"user","name":"\u003cstring>"}],"model":"zai-org-glm-5-1","frequency_penalty":0,"logprobs":true,"top_logprobs":1,"max_completion_tokens":123,"max_temp":1.5,"max_tokens":123,"min_p":0.05,"min_temp":0.1,"n":1,"presence_penalty":0,"prompt_cache_key":"random-string","prompt_cache_retention":"24h","repetition_penalty":1.2,"reasoning":{"effort":"medium","enabled":false,"summary":"auto"},"reasoning_effort":"medium","seed":42,"stop":"\u003cstring>","stop_token_ids":[151643,151645],"stream":true,"stream_options":{"include_usage":true},"temperature":0.7,"top_k":40,"top_p":0.9,"user":"\u003cstring>","anon_user_id":"end-user-123","fallbacks":[{"model":"claude-opus-4-8"}],"store":true,"verbosity":"low","text":{"verbosity":"low"},"include":["\u003cstring>"],"metadata":{},"venice_parameters":{"character_slug":"\u003cstring>","strip_thinking_response":false,"disable_thinking":false,"enable_e2ee":true,"enable_web_search":"off","enable_web_scraping":false,"enable_web_citations":false,"include_search_results_in_stream":false,"return_search_results_as_documents":true,"include_venice_system_prompt":true,"enable_x_search":true},"parallel_tool_calls":false,"response_format":{"json_schema":{"properties":{"age":{"type":"number"},"name":{"type":"string"}},"required":["name","age"],"type":"object"},"type":"json_schema"},"tool_choice":{"function":{"name":"\u003cstring>"},"type":"\u003cstring>"},"tools":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a8fbf874-b62f-474b-91f9-543c40797e19":{"description":"OK","headers":{"X-Balance-Remaining":{"description":"Remaining x402 credit balance in USD after this request (only present for x402 auth).","required":false,"schema":{"type":"string","example":"4.230000"}},"Content-Encoding":{"description":"The encoding used to compress the response","schema":{"enum":["gzip","br"],"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"created":{"type":"integer","description":"The time at which the request was created.","example":1677858240,"isRequired":true,"uniqueKey":"created","typeLabel":"integer"},"id":{"type":"string","description":"The ID of the request.","example":"chatcmpl-abc123","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"model":{"type":"string","description":"The model id used for the request.","example":"zai-org-glm-5-1","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"object":{"type":"string","enum":["chat.completion"],"description":"The type of the object returned.","example":"chat.completion","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"usage":{"type":"object","properties":{"completion_tokens":{"type":"integer","description":"The number of tokens in the completion.","example":20,"isRequired":true,"uniqueKey":"usage.completion_tokens","typeLabel":"integer"},"prompt_tokens":{"type":"integer","description":"The number of tokens in the prompt.","example":10,"isRequired":true,"uniqueKey":"usage.prompt_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens used in the request.","example":30,"isRequired":true,"uniqueKey":"usage.total_tokens","typeLabel":"integer"},"completion_tokens_details":{"oneOf":[{"type":"object","properties":{"reasoning_tokens":{"type":"integer","description":"Number of completion tokens consumed by reasoning/thinking output when the upstream model reports it.","example":32,"uniqueKey":"usage.completion_tokens_details.oneOf.0.reasoning_tokens","typeLabel":"integer"}},"description":"Breakdown of completion tokens for providers that expose reasoning token accounting.","uniqueKey":"usage.completion_tokens_details.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"reasoning_tokens":{"type":"integer","description":"Number of completion tokens consumed by reasoning/thinking output when the upstream model reports it.","example":32}},"description":"Breakdown of completion tokens for providers that expose reasoning token accounting.","uniqueKey":"usage.completion_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.completion_tokens_details","typeLabel":"object | null"},"prompt_tokens_details":{"oneOf":[{"type":"object","properties":{"cached_tokens":{"type":"integer","description":"Number of prompt tokens that were served from cache (cache read) which may result in a discounted rate.","example":128,"uniqueKey":"usage.prompt_tokens_details.oneOf.0.cached_tokens","typeLabel":"integer"},"cache_creation_input_tokens":{"type":"integer","description":"Number of prompt tokens that were written to cache (cache write). For some providers like Anthropic, this may be charged at a premium rate.","example":64,"uniqueKey":"usage.prompt_tokens_details.oneOf.0.cache_creation_input_tokens","typeLabel":"integer"}},"description":"Breakdown of prompt tokens. Includes cached_tokens (cache read) and cache_creation_input_tokens (cache write) for models that support context caching.","uniqueKey":"usage.prompt_tokens_details.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"cached_tokens":{"type":"integer","description":"Number of prompt tokens that were served from cache (cache read) which may result in a discounted rate.","example":128},"cache_creation_input_tokens":{"type":"integer","description":"Number of prompt tokens that were written to cache (cache write). For some providers like Anthropic, this may be charged at a premium rate.","example":64}},"description":"Breakdown of prompt tokens. Includes cached_tokens (cache read) and cache_creation_input_tokens (cache write) for models that support context caching.","uniqueKey":"usage.prompt_tokens_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.prompt_tokens_details","typeLabel":"object | null"}},"required":["completion_tokens","prompt_tokens","total_tokens"],"isRequired":true,"uniqueKey":"usage","typeLabel":"object"},"choices":{"type":"array","items":{"type":"object","properties":{"finish_reason":{"type":"string","enum":["stop","length","tool_calls","content_filter"],"description":"The reason the completion finished.","example":"stop","isRequired":true,"uniqueKey":"choices.items.[INDEX].finish_reason","typeLabel":"enum\u003cstring>"},"index":{"type":"integer","description":"The index of the choice in the list.","example":0,"isRequired":true,"uniqueKey":"choices.items.[INDEX].index","typeLabel":"integer"},"logprobs":{"oneOf":[{"type":"object","properties":{"logprob":{"type":"number","description":"The log probability of this token","example":-0.34,"isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.logprob","typeLabel":"number"},"token":{"type":"string","description":"The token string","example":"hello","isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.token","typeLabel":"string"},"bytes":{"type":"array","items":{"type":"number","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.bytes.items.[INDEX]","typeLabel":"number"},"description":"Raw bytes of the token","example":[104,101,108,108,111],"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.bytes","typeLabel":"number[]"},"top_logprobs":{"type":"array","items":{"type":"object","properties":{"logprob":{"type":"number","isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"token":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs.items.[INDEX].token","typeLabel":"string"},"bytes":{"type":"array","items":{"type":"number","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"number"},"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs.items.[INDEX].bytes","typeLabel":"number[]"}},"required":["logprob","token"],"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs.items.[INDEX]","typeLabel":"object"},"description":"Top tokens considered with their log probabilities","uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0.top_logprobs","typeLabel":"object[]"}},"required":["logprob","token"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"bytes":{"type":"array","items":{"type":"number"},"description":"Raw bytes of the token","example":[104,101,108,108,111]},"logprob":{"type":"number","description":"The log probability of this token","example":-0.34},"token":{"type":"string","description":"The token string","example":"hello"},"top_logprobs":{"type":"array","items":{"type":"object","properties":{"bytes":{"type":"array","items":{"type":"number"}},"logprob":{"type":"number"},"token":{"type":"string"}},"required":["logprob","token"]},"description":"Top tokens considered with their log probabilities"}},"required":["logprob","token"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"choices.items.[INDEX].logprobs","typeLabel":"object | null"},"message":{"oneOf":[{"type":"object","title":"Assistant Message","description":"The assistant message contains the response from the LLM. Must have either content or tool_calls.","required":["role"],"properties":{"role":{"type":"string","enum":["assistant"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.role","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"choices.items.[INDEX].message.oneOf.0.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"choices.items.[INDEX].message.oneOf.0.cache_control","typeLabel":"Cache Control · object"},"content":{"oneOf":[{"type":"string","title":"String","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":1,"description":"The prompt text of the message. Must be at-least one character in length","example":"Why is the sky blue?","title":"Text Content Object","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"type":{"type":"string","enum":["text"],"title":"Text Content String","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX].cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX].cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX].cache_control","typeLabel":"Cache Control · object"}},"required":["text","type"],"description":"Text message type. Supports optional cache_control for prompt caching on supported providers.","example":{"text":"Why is the sky blue?","type":"text"},"title":"text","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"text · object"},"title":"Objects","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.1","typeLabel":"text · object[]"},{"title":"null"},{"type":"null","title":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.0.content.oneOf.3","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.content","typeLabel":"string | text · object[] | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.name","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_content","typeLabel":"string | null"},"reasoning_details":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].type","typeLabel":"string"},"data":{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].data","typeLabel":"string"},"format":{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].format","typeLabel":"string"},"id":{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].id","typeLabel":"string"},"index":{"type":"number","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].index","typeLabel":"number"},"text":{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX].text","typeLabel":"string"}},"required":["type"],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details.items.[INDEX]","typeLabel":"object"},"description":"Reasoning details returned by certain reasoning models that support this feature (e.g., Gemini 3 Pro). Not all reasoning models return this field. For multi-turn conversations with tool calls on supported models, pass back the reasoning_details exactly as received to preserve thought signatures.","uniqueKey":"choices.items.[INDEX].message.oneOf.0.reasoning_details","typeLabel":"object[]"},"thought_signature":{"oneOf":[{"type":"string","description":"Gemini thought signature returned by native GCP transport. For multi-turn conversations (especially with tool calls), pass it back exactly as received to preserve thought signatures.","uniqueKey":"choices.items.[INDEX].message.oneOf.0.thought_signature.oneOf.0","typeLabel":"string"},{"type":"null","description":"Gemini thought signature returned by native GCP transport. For multi-turn conversations (especially with tool calls), pass it back exactly as received to preserve thought signatures.","uniqueKey":"choices.items.[INDEX].message.oneOf.0.thought_signature.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.thought_signature","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"oneOf":[{},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.0.tool_calls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"null"},"uniqueKey":"choices.items.[INDEX].message.oneOf.0.tool_calls.oneOf.0","typeLabel":"null[]"},{"type":"null","items":{"oneOf":[{},{"type":"null"}]},"uniqueKey":"choices.items.[INDEX].message.oneOf.0.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.0.tool_calls","typeLabel":"null[] | null"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.0","typeLabel":"Assistant Message · object"},{"type":"object","title":"Tool Message","description":"The tool message is a special message that is used to call a tool. It is not part of the conversation and is not visible to the user.","required":["content","role","tool_call_id"],"properties":{"content":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.1.content","typeLabel":"string"},"role":{"type":"string","enum":["tool"],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.1.role","typeLabel":"enum\u003cstring>"},"tool_call_id":{"type":"string","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_call_id","typeLabel":"string"},"cache_control":{"type":"object","properties":{"type":{"type":"string","enum":["ephemeral"],"description":"The type of cache control. Currently only \"ephemeral\" is supported.","example":"ephemeral","isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.1.cache_control.type","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","description":"Optional TTL for extended cache duration. Beta feature requiring special header.","example":"1h","uniqueKey":"choices.items.[INDEX].message.oneOf.1.cache_control.ttl","typeLabel":"string"}},"required":["type"],"description":"Optional cache control for prompt caching on supported providers.","example":{"type":"ephemeral"},"title":"Cache Control","uniqueKey":"choices.items.[INDEX].message.oneOf.1.cache_control","typeLabel":"Cache Control · object"},"name":{"oneOf":[{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.1.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.1.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.1.name","typeLabel":"string | null"},"reasoning_content":{"oneOf":[{"type":"string","uniqueKey":"choices.items.[INDEX].message.oneOf.1.reasoning_content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.1.reasoning_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.1.reasoning_content","typeLabel":"string | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"oneOf":[{},{"type":"null","uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_calls.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"null"},"uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_calls.oneOf.0","typeLabel":"null[]"},{"type":"null","items":{"oneOf":[{},{"type":"null"}]},"uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].message.oneOf.1.tool_calls","typeLabel":"null[] | null"}},"isRequired":true,"uniqueKey":"choices.items.[INDEX].message.oneOf.1","typeLabel":"Tool Message · object"}],"isRequired":true,"uniqueKey":"choices.items.[INDEX].message","typeLabel":"Assistant Message · object | Tool Message · object"},"stop_reason":{"oneOf":[{"type":"string","enum":["stop","length"],"description":"The reason the completion stopped.","example":"stop","uniqueKey":"choices.items.[INDEX].stop_reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["stop","length"],"description":"The reason the completion stopped.","example":"stop","uniqueKey":"choices.items.[INDEX].stop_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"choices.items.[INDEX].stop_reason","typeLabel":"enum\u003cstring> | null"}},"required":["finish_reason","index","logprobs","message"],"uniqueKey":"choices.items.[INDEX]","typeLabel":"object"},"description":"A list of chat completion choices. Can be more than one if n is greater than 1. Certain models may not return this field under certain conditions.","example":[{"finish_reason":"stop","index":0,"logprobs":null,"message":{"content":"The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.","reasoning_content":null,"role":"assistant","tool_calls":[]},"stop_reason":null}],"uniqueKey":"choices","typeLabel":"object[]"},"cost":{"type":"object","properties":{"diem":{"type":"number","minimum":0,"description":"The DIEM-denominated portion of the request cost.","example":0,"isRequired":true,"uniqueKey":"cost.diem","typeLabel":"number"},"usd":{"type":"number","minimum":0,"description":"The USD-denominated portion of the request cost. Bundled credits are included as USD-equivalent cost.","example":0.00042,"isRequired":true,"uniqueKey":"cost.usd","typeLabel":"number"}},"required":["diem","usd"],"description":"The request cost split by billing currency.","uniqueKey":"cost","typeLabel":"object"},"prompt_logprobs":{"oneOf":[{"title":"null","description":"Log probability information for the prompt.","uniqueKey":"prompt_logprobs.oneOf.0","typeLabel":"any"},{"type":"null","title":"null","description":"Log probability information for the prompt.","uniqueKey":"prompt_logprobs.oneOf.1","typeLabel":"null"},{"type":"object","description":"Log probability information for the prompt.","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"prompt_logprobs.oneOf.2.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_logprobs.oneOf.2.additionalProperties","typeLabel":"null"},"uniqueKey":"prompt_logprobs.oneOf.2","typeLabel":"object"},{"title":"null","description":"Log probability information for the prompt.","uniqueKey":"prompt_logprobs.oneOf.3","typeLabel":"any"},{"type":"null","title":"null","description":"Log probability information for the prompt.","uniqueKey":"prompt_logprobs.oneOf.4","typeLabel":"null"}],"uniqueKey":"prompt_logprobs","typeLabel":"any · null · object · any · null"},"venice_parameters":{"type":"object","properties":{"enable_e2ee":{"type":"boolean","description":"Did the request enable end-to-end encryption? Only applicable to E2EE-capable models.","example":true,"isRequired":true,"uniqueKey":"venice_parameters.enable_e2ee","typeLabel":"boolean"},"enable_web_search":{"type":"string","enum":["auto","off","on"],"description":"Did the request enable web search?","example":"auto","isRequired":true,"uniqueKey":"venice_parameters.enable_web_search","typeLabel":"enum\u003cstring>"},"enable_web_citations":{"type":"boolean","description":"Did the request enable web citations?","example":true,"isRequired":true,"uniqueKey":"venice_parameters.enable_web_citations","typeLabel":"boolean"},"enable_web_scraping":{"type":"boolean","description":"Did the request enable web scraping of URLs via Firecrawl?","example":false,"isRequired":true,"uniqueKey":"venice_parameters.enable_web_scraping","typeLabel":"boolean"},"include_venice_system_prompt":{"type":"boolean","description":"Did the request include the Venice system prompt?","example":true,"isRequired":true,"uniqueKey":"venice_parameters.include_venice_system_prompt","typeLabel":"boolean"},"include_search_results_in_stream":{"type":"boolean","description":"Did the request include search results in the stream?","example":false,"isRequired":true,"uniqueKey":"venice_parameters.include_search_results_in_stream","typeLabel":"boolean"},"return_search_results_as_documents":{"type":"boolean","description":"Did the request also return search results as a tool-call documents block?","example":true,"isRequired":true,"uniqueKey":"venice_parameters.return_search_results_as_documents","typeLabel":"boolean"},"strip_thinking_response":{"type":"boolean","description":"Did the request strip thinking response?","example":true,"isRequired":true,"uniqueKey":"venice_parameters.strip_thinking_response","typeLabel":"boolean"},"disable_thinking":{"type":"boolean","description":"Did the request disable thinking?","example":true,"isRequired":true,"uniqueKey":"venice_parameters.disable_thinking","typeLabel":"boolean"},"character_slug":{"type":"string","description":"The character slug of a public Venice character.","example":"venice","uniqueKey":"venice_parameters.character_slug","typeLabel":"string"},"web_search_citations":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"venice_parameters.web_search_citations.items.[INDEX].title","typeLabel":"string"},"url":{"type":"string","isRequired":true,"uniqueKey":"venice_parameters.web_search_citations.items.[INDEX].url","typeLabel":"string"},"content":{"type":"string","uniqueKey":"venice_parameters.web_search_citations.items.[INDEX].content","typeLabel":"string"},"date":{"type":"string","uniqueKey":"venice_parameters.web_search_citations.items.[INDEX].date","typeLabel":"string"}},"required":["title","url"],"uniqueKey":"venice_parameters.web_search_citations.items.[INDEX]","typeLabel":"object"},"description":"Citations from web search results.","example":[{"content":"What\u0026#x27;s the scientific reason behind Earth\u0026#x27;s sky appearing blue to the human eye? And what\u0026#x27;s the real colour of the sky?\n\nSave 30% on the shop price when you subscribe to BBC Sky at Night Magazine today!\n\nIn this article we'll look at the science behind why the sky is blue, or at least why it appears blue to our eyes.\n\nA beautiful blue sky is the sign of a pleasant day ahead. But what makes the sky appear blue?\n\nSo, the sky appears blue because the molecules of nitrogen and oxygen in the atmosphere scatter light in short wavelengths towards the blue end of the visible spectrum.","date":"2024-08-13T13:45:16.000Z","title":"Why is the sky blue? | BBC Sky at Night Magazine","url":"https://www.skyatnightmagazine.com/space-science/why-is-the-sky-blue"},{"content":"It was around 1870 when the British physicist John William Strutt, better known as Lord Rayleigh, first found an explanation for why the sky is blue: Blue light from the Sun is scattered the most when it passes through the atmosphere.\n\nPublished: January 20, 2025 8:34am EST · Daniel Freedman, University of Wisconsin-Stout · Daniel Freedman · Dean of the College of Science, Technology, Engineering, Mathematics \u0026 Management, University of Wisconsin-Stout ·\n\nThe answer has to do with molecules.\n\nIt was around 1870 when the British physicist John William Strutt, better known as Lord Rayleigh, first found an explanation for why the sky is blue: Blue light from the Sun is scattered the most when it passes through the atmosphere.\n\nWhen the Sun is near the horizon, its light passes through a lot more of the atmosphere to reach the Earth’s surface than when it is directly overhead. The blue and green light is scattered so well that you can hardly see it. The sky is colored, instead, with red and orange light.","date":"2025-04-16T16:55:11.000Z","title":"Why is the sky blue?","url":"https://theconversation.com/why-is-the-sky-blue-246393"}],"uniqueKey":"venice_parameters.web_search_citations","typeLabel":"object[]"}},"required":["enable_e2ee","enable_web_search","enable_web_citations","enable_web_scraping","include_venice_system_prompt","include_search_results_in_stream","return_search_results_as_documents","strip_thinking_response","disable_thinking"],"description":"Unique parameters to Venice's API implementation.","uniqueKey":"venice_parameters","typeLabel":"object"}},"required":["created","id","model","object","usage"],"example":{"choices":[{"finish_reason":"stop","index":0,"logprobs":null,"message":{"content":"The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.","reasoning_content":null,"role":"assistant","tool_calls":[]},"stop_reason":null}],"created":1739928524,"cost":{"diem":0,"usd":0.00042},"id":"chatcmpl-a81fbc2d81a7a083bb83ccf9f44c6e5e","model":"zai-org-glm-5-1","object":"chat.completion","prompt_logprobs":null,"usage":{"completion_tokens":146,"completion_tokens_details":null,"prompt_tokens":612,"prompt_tokens_details":null,"total_tokens":758},"venice_parameters":{"enable_e2ee":true,"include_venice_system_prompt":true,"include_search_results_in_stream":false,"return_search_results_as_documents":false,"web_search_citations":[],"enable_web_search":"auto","enable_web_scraping":false,"enable_web_citations":true,"strip_thinking_response":true,"disable_thinking":true,"character_slug":"venice"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"choices":[{"finish_reason":"stop","index":0,"logprobs":null,"message":{"content":"The sky appears blue because of the way Earth's atmosphere scatters sunlight. When sunlight reaches Earth's atmosphere, it is made up of various colors of the spectrum, but blue light waves are shorter and scatter more easily when they hit the gases and particles in the atmosphere. This scattering occurs in all directions, but from our perspective on the ground, it appears as a blue hue that dominates the sky's color. This phenomenon is known as Rayleigh scattering. During sunrise and sunset, the sunlight has to travel further through the atmosphere, which allows more time for the blue light to scatter away from our direct line of sight, leaving the longer wavelengths, such as red, yellow, and orange, to dominate the sky's color.","reasoning_content":null,"role":"assistant","tool_calls":[]},"stop_reason":null}],"created":1739928524,"cost":{"diem":0,"usd":0.00042},"id":"chatcmpl-a81fbc2d81a7a083bb83ccf9f44c6e5e","model":"zai-org-glm-5-1","object":"chat.completion","prompt_logprobs":null,"usage":{"completion_tokens":146,"completion_tokens_details":null,"prompt_tokens":612,"prompt_tokens_details":null,"total_tokens":758},"venice_parameters":{"enable_e2ee":true,"include_venice_system_prompt":true,"include_search_results_in_stream":false,"return_search_results_as_documents":false,"web_search_citations":[],"enable_web_search":"auto","enable_web_scraping":false,"enable_web_citations":true,"strip_thinking_response":true,"disable_thinking":true,"character_slug":"venice"}}}},"exampleType":"generated"}},"exampleType":"generated"},"26eb28c1-3e84-486c-92a6-ba167866dfc4":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"object","properties":{},"description":"Details about the incorrect input","example":{"_errors":[],"field":{"_errors":["Field is required"]}},"uniqueKey":"details","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","details":{"_errors":[],"field":{"_errors":["Field is required"]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"083a7ff4-0298-44ca-87d1-c346b3c1dbe5":{"description":"- Authentication failed\n- This model is only available to Pro users","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6e462129-a0ca-453e-93c5-3bdc6e737ead":{"description":"Payment or balance required. Response varies by authentication state:\n\n**API Key users:** Standard error response with `INSUFFICIENT_BALANCE` code. Top up your Venice balance at venice.ai.\n\n**Unauthenticated x402 discovery:** Structured x402 response with `x402Version`, `resource`, `accepts`, and `extensions[\"sign-in-with-x\"]`. The `accepts` array advertises Base and Solana payment requirements.\n\n**Authenticated x402 wallet users with insufficient credit:** Structured response with `PAYMENT_REQUIRED` code containing:\n- `topUpInstructions`: Step-by-step guide to top up via x402 protocol\n- `supportedTokens` / `supportedChains`: Accepted payment methods\n- `siwxChallenge`: Fresh Sign-In-With-X challenge metadata\n\nThe `PAYMENT-REQUIRED` header also contains a base64-encoded x402 protocol object with the payment requirements for programmatic discovery.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON with x402 payment requirements. Present on x402 middleware 402 responses. Decode to choose and sign one accepted payment requirement programmatically.","required":false,"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Returned when an inference request has no API key or wallet authentication. The JSON body includes x402 discovery requirements and authentication options.","required":["x402Version","resource","accepts","authOptions"],"properties":{"x402Version":{"type":"number","description":"x402 protocol version.","example":2,"isRequired":true,"uniqueKey":"oneOf.1.x402Version","typeLabel":"number"},"resource":{"type":"object","properties":{"url":{"type":"string","description":"Protected resource URL.","example":"https://api.venice.ai/api/v1/chat/completions","isRequired":true,"uniqueKey":"oneOf.1.resource.url","typeLabel":"string"},"description":{"type":"string","description":"Human-readable resource description.","example":"Venice API","isRequired":true,"uniqueKey":"oneOf.1.resource.description","typeLabel":"string"},"mimeType":{"type":"string","description":"Resource MIME type.","example":"application/json","isRequired":true,"uniqueKey":"oneOf.1.resource.mimeType","typeLabel":"string"}},"required":["url","description","mimeType"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.resource","typeLabel":"object"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","enum":["exact"],"description":"x402 payment scheme.","example":"exact","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].scheme","typeLabel":"enum\u003cstring>"},"network":{"type":"string","description":"Payment network for this requirement.","example":"solana","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].network","typeLabel":"string"},"asset":{"type":"string","description":"USDC token address or mint for the selected network.","example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].asset","typeLabel":"string"},"amount":{"type":"string","description":"Required payment amount in base units (USDC has 6 decimals).","example":"10000000","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].amount","typeLabel":"string"},"payTo":{"type":"string","description":"Receiver wallet address for the selected network.","example":"8qUL23aSj7mDWdoLMXGHFvnVCT9wd7jXcysiekroADEL","isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].payTo","typeLabel":"string"},"maxTimeoutSeconds":{"type":"number","description":"Maximum time allowed for payment settlement.","example":300,"isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].maxTimeoutSeconds","typeLabel":"number"},"extra":{"type":"object","properties":{},"description":"Network-specific x402 metadata. Solana requirements include a feePayer.","example":{"name":"USD Coin","version":"2","feePayer":"BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"},"isRequired":true,"uniqueKey":"oneOf.1.accepts.items.[INDEX].extra","typeLabel":"object"}},"required":["scheme","network","asset","amount","payTo","maxTimeoutSeconds","extra"],"additionalProperties":false,"uniqueKey":"oneOf.1.accepts.items.[INDEX]","typeLabel":"object"},"description":"Protocol payment requirements. Clients should choose one entry, such as Base or Solana, and sign exactly that requirement.","isRequired":true,"uniqueKey":"oneOf.1.accepts","typeLabel":"object[]"},"authOptions":{"type":"object","properties":{"apiKey":{"type":"object","properties":{"header":{"type":"string","description":"API key authentication header format.","example":"Authorization: Bearer YOUR_API_KEY","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.header","typeLabel":"string"},"getKey":{"type":"string","description":"Where to create or manage API keys.","example":"https://venice.ai/settings/api","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.getKey","typeLabel":"string"},"docs":{"type":"string","description":"API key documentation URL.","example":"https://docs.venice.ai/api-reference","isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey.docs","typeLabel":"string"}},"required":["header","getKey","docs"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions.apiKey","typeLabel":"object"},"x402Wallet":{"type":"object","properties":{"header":{"type":"string","description":"Header used for Sign-In-With-X wallet authentication.","example":"SIGN-IN-WITH-X","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.header","typeLabel":"string"},"legacyHeader":{"type":"string","description":"Legacy Sign-In-With-X header accepted during migration.","example":"X-Sign-In-With-X","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.legacyHeader","typeLabel":"string"},"topUp":{"type":"string","description":"Endpoint used to discover and submit x402 top-up payments.","example":"POST /api/v1/x402/top-up","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.topUp","typeLabel":"string"},"docs":{"type":"string","description":"x402 top-up API documentation URL.","example":"https://docs.venice.ai/api-reference/endpoint/x402/top-up","isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet.docs","typeLabel":"string"}},"required":["header","legacyHeader","topUp","docs"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions.x402Wallet","typeLabel":"object"}},"required":["apiKey","x402Wallet"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.authOptions","typeLabel":"object"},"error":{"type":"string","description":"Human-readable payment requirement message.","example":"Payment required","uniqueKey":"oneOf.1.error","typeLabel":"string"},"extensions":{"type":"object","properties":{},"description":"Protocol extensions. Inference 402 responses include `sign-in-with-x` with a SIWX challenge for wallet-credit authentication.","uniqueKey":"oneOf.1.extensions","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error","code","reason","suggestedTopUpUsd","minimumTopUpUsd","supportedTokens","supportedChains","topUpInstructions","siwxChallenge"],"properties":{"error":{"type":"string","enum":["Payment required"],"description":"Error message indicating payment is required.","isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["PAYMENT_REQUIRED"],"description":"Machine-readable error code.","isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["insufficient_balance"],"description":"Reason the x402-authenticated request could not proceed.","isRequired":true,"uniqueKey":"oneOf.2.reason","typeLabel":"enum\u003cstring>"},"suggestedTopUpUsd":{"type":"number","description":"Suggested amount to top up in USD.","example":10,"isRequired":true,"uniqueKey":"oneOf.2.suggestedTopUpUsd","typeLabel":"number"},"minimumTopUpUsd":{"type":"number","description":"Minimum allowed top-up amount in USD.","example":5,"isRequired":true,"uniqueKey":"oneOf.2.minimumTopUpUsd","typeLabel":"number"},"supportedTokens":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.2.supportedTokens.items.[INDEX]","typeLabel":"string"},"description":"List of supported token symbols for payment.","example":["USDC"],"isRequired":true,"uniqueKey":"oneOf.2.supportedTokens","typeLabel":"string[]"},"supportedChains":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.2.supportedChains.items.[INDEX]","typeLabel":"string"},"description":"List of supported top-up rails.","example":["base","solana"],"isRequired":true,"uniqueKey":"oneOf.2.supportedChains","typeLabel":"string[]"},"topUpInstructions":{"type":"object","properties":{"step1":{"type":"string","description":"First step: get payment requirements.","example":"POST /api/v1/x402/top-up with no payment header to get payment requirements","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step1","typeLabel":"string"},"step2":{"type":"string","description":"Second step: sign the payment.","example":"Choose a payment option from accepts and sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step2","typeLabel":"string"},"step3":{"type":"string","description":"Third step: submit the payment.","example":"POST /api/v1/x402/top-up with the signed PAYMENT-SIGNATURE header","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.step3","typeLabel":"string"},"receiverWallet":{"type":"string","description":"Legacy Base receiver wallet address. Prefer the selected accepts entry from /x402/top-up for network-specific payTo values.","example":"\u003cRECEIVER_WALLET_ADDRESS>","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.receiverWallet","typeLabel":"string"},"tokenAddress":{"type":"string","description":"Legacy Base USDC token address. Prefer the selected accepts entry from /x402/top-up for network-specific assets.","example":"\u003cUSDC_TOKEN_ADDRESS>","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.tokenAddress","typeLabel":"string"},"tokenDecimals":{"type":"number","description":"Token decimal places.","example":6,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.tokenDecimals","typeLabel":"number"},"network":{"type":"string","description":"Legacy Base target network. Prefer the selected accepts entry from /x402/top-up for network-specific values.","example":"eip155:8453","isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.network","typeLabel":"string"},"minimumAmountUsd":{"type":"number","description":"Minimum top-up amount in USD.","example":5,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions.minimumAmountUsd","typeLabel":"number"}},"required":["step1","step2","step3","receiverWallet","tokenAddress","tokenDecimals","network","minimumAmountUsd"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.topUpInstructions","typeLabel":"object"},"siwxChallenge":{"type":"object","properties":{"info":{"type":"object","properties":{"domain":{"type":"string","description":"Domain for the SIWX challenge.","example":"api.venice.ai","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.domain","typeLabel":"string"},"uri":{"type":"string","description":"Resource URI for the challenge.","example":"https://api.venice.ai/api/v1/chat/completions","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.uri","typeLabel":"string"},"version":{"type":"string","description":"SIWX version.","example":"1","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.version","typeLabel":"string"},"nonce":{"type":"string","description":"Unique nonce for replay protection.","example":"{{nonce}}","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.nonce","typeLabel":"string"},"issuedAt":{"type":"string","description":"ISO timestamp when the challenge was issued.","example":"2026-04-09T12:00:00.000Z","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.issuedAt","typeLabel":"string"},"expirationTime":{"type":"string","description":"ISO timestamp when the challenge expires.","example":"2026-04-09T12:05:00.000Z","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.expirationTime","typeLabel":"string"},"statement":{"type":"string","description":"Human-readable statement for the signature.","example":"Sign in to Venice AI","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info.statement","typeLabel":"string"}},"required":["domain","uri","version","nonce","issuedAt","expirationTime","statement"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.info","typeLabel":"object"},"supportedChains":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"string","description":"Supported chain identity.","example":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX].chainId","typeLabel":"string"},"type":{"type":"string","enum":["eip191","eip1271","ed25519"],"description":"Signature type accepted for this chain.","example":"ed25519","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"required":["chainId","type"],"additionalProperties":false,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains.items.[INDEX]","typeLabel":"object"},"description":"Supported SIWX chains and signature types.","isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge.supportedChains","typeLabel":"object[]"}},"required":["info","supportedChains"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.siwxChallenge","typeLabel":"object"},"message":{"type":"string","description":"Human-readable context about the payment requirement.","example":"Insufficient x402 balance","uniqueKey":"oneOf.2.message","typeLabel":"string"},"currentBalanceUsd":{"type":"number","description":"Current x402 credit balance for the wallet.","example":0.01,"uniqueKey":"oneOf.2.currentBalanceUsd","typeLabel":"number"},"minimumBalanceUsd":{"type":"number","description":"Minimum x402 credit balance required before the request can run.","example":0.1,"uniqueKey":"oneOf.2.minimumBalanceUsd","typeLabel":"number"},"description":{"type":"string","description":"Protected resource description.","example":"Venice API","uniqueKey":"oneOf.2.description","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a4a89d0a-be44-4e92-9c4d-57b751f67e59":{"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["This API key is restricted to configured IP addresses, and this request's source IP is not allowed"],"description":"A description of the error","example":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed"}}},"exampleType":"generated"}},"description":"This API key is restricted to configured IP addresses, and this request's source IP is not allowed","exampleType":"generated"},"478ba85f-8a6e-4c51-9a0a-605503298b59":{"description":"Invalid request content-type","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4ee3e64c-81ef-4b60-ad99-52afd4a3720e":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9feb521f-4b94-4fef-982f-b7e7666e1cd9":{"description":"Inference processing failed","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3455c129-fbb8-48cd-b3b2-1933f0fc9ddb":{"description":"The model is at capacity. Please try again later.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"811cca89-0893-4165-a2d8-3d43da3f9552":{"description":"The request took too long to complete and was timed-out. For long-running inference requests, use the streaming API by setting stream=true in your request.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A description of the error","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5d63a44b-8d1c-4720-b9e4-fd9ac594ebcc":{"BearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"}},"96a6155f-206e-41d2-9279-fe2cede69951":{"siwx":{"description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","in":"header","name":"SIGN-IN-WITH-X","type":"apiKey","scopes":[],"schemeName":"siwx"}}},"servers":{"4dec1485-73f1-4544-b3b0-aeb2493be681":{"url":"https://api.venice.ai/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","scheme":"bearer","type":"http","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","in":"header","name":"SIGN-IN-WITH-X","type":"apiKey","scopes":[],"schemeName":"siwx"},"schema":{"title":"SIGN-IN-WITH-X","type":"string","description":"Wallet-based authentication using the x402 protocol (Sign-In-With-X). Supports EVM SIWE signatures on Base and Ed25519 signatures on Solana mainnet.\n\n**Header format:** Base64-encoded JSON object with the following fields:\n- `address` — EVM or Solana wallet address\n- `message` — Signed SIWX message. EVM wallets use EIP-4361 SIWE; Solana wallets use the Solana SIWX message format.\n- `signature` — Signature of the message, signed by the wallet's private key. EVM signatures are hex; Solana signatures may be base58 or base64.\n- `timestamp` — Unix timestamp in milliseconds\n- `chainId` — Chain identity. Use `8453`, `\"8453\"`, or `\"eip155:8453\"` for Base; use `\"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` for Solana.\n- `type` — Optional signature type. Use `\"ed25519\"` for Solana. Omitted means EVM/EIP-191 for backward compatibility.\n\n**EVM SIWE message fields:**\n- `domain`: `api.venice.ai`\n- `uri`: `https://api.venice.ai`\n- `version`: `\"1\"`\n- `chainId`: `8453`\n- `nonce`: Random 16-character hex string\n- `issuedAt` / `expirationTime`: ISO timestamps (recommended TTL: 10 minutes)\n- `statement`: `\"Sign in to Venice API\"`\n\n**Example (TypeScript):**\n```\nimport { Wallet } from 'ethers'\nimport { SiweMessage } from 'siwe'\n\nconst wallet = new Wallet(PRIVATE_KEY)\nconst msg = new SiweMessage({ domain: 'api.venice.ai', address: wallet.address, statement: 'Sign in to Venice API', uri: 'https://api.venice.ai', version: '1', chainId: 8453, nonce: crypto.randomUUID().replace(/-/g, '').slice(0, 16), issuedAt: new Date().toISOString(), expirationTime: new Date(Date.now() + 600000).toISOString() })\nconst signature = await wallet.signMessage(msg.prepareMessage())\nconst header = btoa(JSON.stringify({ address: wallet.address, message: msg.prepareMessage(), signature, timestamp: Date.now(), chainId: 8453 }))\n// Set header: SIGN-IN-WITH-X: \u003cheader>\n```\n\n**Solana message fields:** The signed message starts with `\u003cdomain> wants you to sign in with your Solana account:`, followed by the wallet address and the standard `URI`, `Version`, `Chain ID`, `Nonce`, `Issued At`, and optional `Expiration Time` fields. Use `type: \"ed25519\"` and `chainId: \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\"` in the encoded JSON payload.\n\n**SDK:** `npm install venice-x402-client` provides `VeniceClient` and `createAuthFetch` which handle this automatically.\n\n**Billing:** x402 users pay from a prepaid USDC credit balance. Top up via `POST /x402/top-up`. When balance is insufficient, endpoints return `402` with structured top-up instructions.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"siwx","name":"SIGN-IN-WITH-X"}],"title":"siwx"}]},"originalFileLocation":"swagger.yaml"},"subdomain":"veniceai","siteName":"Venice API Docs","title":"Chat Completions | Venice API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/chat/completions","matchLevel":0},"pt-BR":{"href":"/pt-BR/api-reference/endpoint/chat/completions","matchLevel":1},"ar":{"href":"/ar/api-reference/endpoint/chat/completions","matchLevel":1},"it":{"href":"/it/api-reference/endpoint/chat/completions","matchLevel":1},"de":{"href":"/de/api-reference/endpoint/chat/completions","matchLevel":1},"es":{"href":"/es/api-reference/endpoint/chat/completions","matchLevel":1},"fr":{"href":"/fr/api-reference/endpoint/chat/completions","matchLevel":1},"zh":{"href":"/zh/api-reference/endpoint/chat/completions","matchLevel":1},"ko":{"href":"/ko/api-reference/endpoint/chat/completions","matchLevel":1}}},"lastModified":"2026-08-06T01:00:14.178Z","originalFileLocation":"api-reference/endpoint/chat/completions.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=\"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Venice API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Chat Completions | Venice API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentation covering Venice\u0026#x27;s chat completions API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Venice API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.venice.ai/api-reference/endpoint/chat/completions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://veniceai.mintlify.app/_mintlify/api/og/v2?division=Chat\u0026amp;title=Chat+Completions\u0026amp;description=Run+text+inference+based+on+the+supplied+parameters.+Supports+multimodal+inputs+including+text%2C+images+%28image_url%29%2C+audio+%28input_audio%29%2C+video+%28video_url%29%2C+and+\u0026amp;theme=508d743c1f2720564c9062e7\u0026amp;signature=c81cb7ff3f2a952f8bde8c0572c7d007cf329950775446e0dd04a964c2127314\">\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=\"Chat Completions | Venice API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentation covering Venice\u0026#x27;s chat completions API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://veniceai.mintlify.app/_mintlify/api/og/v2?division=Chat\u0026amp;title=Chat+Completions\u0026amp;description=Run+text+inference+based+on+the+supplied+parameters.+Supports+multimodal+inputs+including+text%2C+images+%28image_url%29%2C+audio+%28input_audio%29%2C+video+%28video_url%29%2C+and+\u0026amp;theme=508d743c1f2720564c9062e7\u0026amp;signature=c81cb7ff3f2a952f8bde8c0572c7d007cf329950775446e0dd04a964c2127314\">\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=\"/mintlify-assets/_mintlify/favicons/veniceai/bx2bxRtmLEf0wvnq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Venice API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#125DA3\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"og:logo\" content=\"/logo/light.svg\">\u003cmeta data-mint-head name=\"article:publisher\" content=\"Venice AI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.venice.ai/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/chat/completions.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.venice.ai/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.venice.ai/pt-BR/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://docs.venice.ai/ar/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.venice.ai/it/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.venice.ai/de/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.venice.ai/es/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.venice.ai/fr/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.venice.ai/zh/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.venice.ai/ko/api-reference/endpoint/chat/completions\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.venice.ai/api-reference/endpoint/chat/completions\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.venice.ai/#organization\",\"name\":\"Venice API Docs\",\"url\":\"https://docs.venice.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/veniceai/gFXvp87w4B810n0Y/logo/light.svg?fit=max\u0026auto=format\u0026n=gFXvp87w4B810n0Y\u0026q=85\u0026s=121558c3bff1e4e012fcd34bdc50555c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.venice.ai#website\",\"name\":\"Venice API Docs\",\"url\":\"https://docs.venice.ai\",\"publisher\":{\"@id\":\"https://docs.venice.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions#webpage\",\"url\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions\",\"name\":\"Chat Completions\",\"description\":\"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\",\"dateModified\":\"2026-08-06T01:00:14.178Z\",\"isPartOf\":{\"@id\":\"https://docs.venice.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Venice APIs\",\"item\":\"https://docs.venice.ai/api-reference/api-spec\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat Completions\",\"item\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions#apireference\",\"headline\":\"Chat Completions\",\"name\":\"Chat Completions\",\"description\":\"Run text inference based on the supplied parameters. Supports multimodal inputs including text, images (image_url), audio (input_audio), video (video_url), and files (file) for compatible models. File inputs (PDF, DOCX, PPTX, XLSX, TXT, etc.) are automatically extracted to text before being sent to the model. Long running requests should use the streaming API by setting stream=true in your request. Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.\",\"url\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.venice.ai/api-reference/endpoint/chat/completions#webpage\"},\"dateModified\":\"2026-08-06T01:00:14.178Z\",\"publisher\":{\"@id\":\"https://docs.venice.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.venice.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Venice API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Venice API Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":"/overview/about-venice"}]},{"tab":"Models","icon":"box","pages":[{"title":"Models","href":"/models/overview"}]},{"tab":"Learn","icon":"layout-grid","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Venice APIs","pages":[{"title":"Introduction","href":"/api-reference/api-spec"},{"title":"Rate Limits","href":"/api-reference/rate-limiting"},{"title":"Error Codes","description":"Venice API error codes: HTTP status codes, error response format, validation details, credit refund status, rate limits, and retry guidance.","href":"/api-reference/error-codes"},{"group":"Chat","expanded":false,"pages":[{"title":"Chat Completions","openapi":"POST /chat/completions","href":"/api-reference/endpoint/chat/completions"},{"title":"Responses","openapi":"POST /responses","description":"**Beta**: This endpoint is currently in beta and may be unstable. Request/response schemas and behavior may change without notice. It is available to all API users.\n\nCreate a model response in OpenAI's Responses API format. Works with every Venice text model and returns typed output items such as `reasoning`, `message`, and `function_call`. Set `stream: true` to receive Server-Sent Events.\n\nMost OpenAI models are forwarded to OpenAI's Responses API natively. Other models, and requests that use Venice features such as web search or characters, are translated through Chat Completions, where some Responses features are not supported. Send `x-venice-responses-mode: native` or `compat` to choose the mode, and read the `x-venice-responses-lane` response header to see which one served the request.\n\nVenice does not store responses, so send the full conversation in `input` on every request. E2EE-capable models are not supported on this endpoint; use `/api/v1/chat/completions` with the required E2EE headers instead.\n\nSee the [Responses API guide](https://docs.venice.ai/guides/features/responses-api) for the features and limitations of each mode.\n\n**Authentication:** This endpoint accepts either a Bearer API key or a `SIGN-IN-WITH-X` header for x402 wallet-based authentication. The legacy `X-Sign-In-With-X` header is also accepted during migration. When using x402, a `402 Payment Required` response indicates insufficient balance and includes top-up instructions.","href":"/api-reference/endpoint/responses/create"},{"title":"Model Feature Suffix","href":"/api-reference/endpoint/chat/model_feature_suffix"},{"title":"Create Decisions","openapi":"POST /decisions","href":"/api-reference/endpoint/decisions/create"},{"title":"System One Compatibility","openapi":"POST /systemone","href":"/api-reference/endpoint/decisions/systemone"}]},{"group":"Images","expanded":false,"pages":[{"title":"Generate Images","openapi":"POST /image/generate","href":"/api-reference/endpoint/image/generate"},{"title":"Upscale and Enhance","openapi":"POST /image/upscale","href":"/api-reference/endpoint/image/upscale"},{"title":"Edit (aka Inpaint)","openapi":"POST /image/edit","href":"/api-reference/endpoint/image/edit"},{"title":"Multi-Edit Image","openapi":"POST /image/multi-edit","href":"/api-reference/endpoint/image/multi-edit"},{"title":"Background Remove","openapi":"POST /image/background-remove","href":"/api-reference/endpoint/image/background-remove"},{"title":"Image Styles","openapi":"GET /image/styles","href":"/api-reference/endpoint/image/styles"},{"title":"Generate Images (OpenAI Compatible API)","openapi":"POST /images/generations","href":"/api-reference/endpoint/image/generations"}]},{"group":"Audio","expanded":false,"pages":[{"title":"Speech API (Beta)","openapi":"POST /audio/speech","href":"/api-reference/endpoint/audio/speech"},{"title":"Clone Voice","openapi":"POST /audio/voices","href":"/api-reference/endpoint/audio/voices"},{"title":"Transcriptions API (Beta)","openapi":"POST /audio/transcriptions","href":"/api-reference/endpoint/audio/transcriptions"},{"title":"Queue Audio Generation","openapi":"POST /audio/queue","href":"/api-reference/endpoint/audio/queue"},{"title":"Retrieve Audio","openapi":"POST /audio/retrieve","href":"/api-reference/endpoint/audio/retrieve"},{"title":"Quote Audio Generation","openapi":"POST /audio/quote","href":"/api-reference/endpoint/audio/quote"},{"title":"Complete Audio","openapi":"POST /audio/complete","href":"/api-reference/endpoint/audio/complete"},{"title":"Queue Voice Changer","openapi":"POST /audio/voice-changer/queue","href":"/api-reference/endpoint/audio/voice-changer/queue"},{"title":"Retrieve Voice Changer","openapi":"POST /audio/voice-changer/retrieve","href":"/api-reference/endpoint/audio/voice-changer/retrieve"},{"title":"Quote Voice Changer","openapi":"POST /audio/voice-changer/quote","href":"/api-reference/endpoint/audio/voice-changer/quote"},{"title":"Complete Voice Changer","openapi":"POST /audio/voice-changer/complete","href":"/api-reference/endpoint/audio/voice-changer/complete"}]},{"group":"Video","expanded":false,"pages":[{"title":"Queue Video Generation","openapi":"POST /video/queue","href":"/api-reference/endpoint/video/queue"},{"title":"Retrieve Video","openapi":"POST /video/retrieve","href":"/api-reference/endpoint/video/retrieve"},{"title":"Quote Video Generation","openapi":"POST /video/quote","href":"/api-reference/endpoint/video/quote"},{"title":"Complete Video","openapi":"POST /video/complete","href":"/api-reference/endpoint/video/complete"}]},{"group":"Tools","expanded":false,"pages":[{"title":"Text Parser","openapi":"POST /augment/text-parser","href":"/api-reference/endpoint/augment/text-parser"},{"title":"Web Scrape","openapi":"POST /augment/scrape","href":"/api-reference/endpoint/augment/scrape"},{"title":"Web Search","openapi":"POST /augment/search","href":"/api-reference/endpoint/augment/search"},{"title":"Crypto Networks","openapi":"GET /crypto/rpc/networks","href":"/api-reference/endpoint/crypto/networks"},{"title":"Crypto RPC","openapi":"POST /crypto/rpc/{network}","href":"/api-reference/endpoint/crypto/rpc"}]},{"group":"Embeddings","expanded":false,"pages":[{"title":"Generate Embeddings","openapi":"POST /embeddings","href":"/api-reference/endpoint/embeddings/generate"}]},{"group":"Models","expanded":false,"pages":[{"title":"List Models","openapi":"GET /models","href":"/api-reference/endpoint/models/list"},{"title":"Compatibility Mapping","openapi":"GET /models/compatibility_mapping","href":"/api-reference/endpoint/models/compatibility_mapping"},{"title":"Traits","openapi":"GET /models/traits","href":"/api-reference/endpoint/models/traits"}]},{"group":"API Keys","expanded":false,"pages":[{"title":"List API Keys","openapi":"GET /api_keys","href":"/api-reference/endpoint/api_keys/list"},{"title":"Get API Key Details","openapi":"GET /api_keys/{id}","href":"/api-reference/endpoint/api_keys/get"},{"title":"Create API Key","openapi":"POST /api_keys","href":"/api-reference/endpoint/api_keys/create"},{"title":"Update API Key","openapi":"PATCH /api_keys","href":"/api-reference/endpoint/api_keys/update"},{"title":"Delete API Key","openapi":"DELETE /api_keys","href":"/api-reference/endpoint/api_keys/delete"},{"title":"Generate API Key with Web3 Wallet","openapi":"GET /api_keys/generate_web3_key","href":"/api-reference/endpoint/api_keys/generate_web3_key/get"},{"title":"Generate API Key with Web3 Wallet","openapi":"POST /api_keys/generate_web3_key","href":"/api-reference/endpoint/api_keys/generate_web3_key/post"}]},{"group":"API Key Rate Limits","expanded":false,"pages":[{"title":"Rate Limits and Balances","openapi":"GET /api_keys/rate_limits","href":"/api-reference/endpoint/api_keys/rate_limits"},{"title":"Rate Limit Logs","openapi":"GET /api_keys/rate_limits/log","href":"/api-reference/endpoint/api_keys/rate_limit_logs"}]},{"group":"Characters","expanded":false,"pages":[{"title":"Get Character","openapi":"GET /characters/{slug}","href":"/api-reference/endpoint/characters/get"},{"title":"List Characters","openapi":"GET /characters","href":"/api-reference/endpoint/characters/list"},{"title":"List Character Reviews","openapi":"GET /characters/{slug}/reviews","href":"/api-reference/endpoint/characters/reviews"}]},{"group":"Billing","expanded":false,"pages":[{"title":"Billing Balance","openapi":"GET /billing/balance","href":"/api-reference/endpoint/billing/balance"},{"title":"Billing Usage (removed)","openapi":"GET /billing/usage","href":"/api-reference/endpoint/billing/usage"},{"title":"Billing Usage Analytics (Beta)","openapi":"GET /billing/usage-analytics","href":"/api-reference/endpoint/billing/usage-analytics"},{"title":"Billing Usage History","openapi":"GET /billing/usage-history","href":"/api-reference/endpoint/billing/usage-history"}]},{"group":"X402","expanded":true,"pages":[{"title":"X402 Balance","openapi":"GET /x402/balance/{walletAddress}","href":"/api-reference/endpoint/x402/balance"},{"title":"X402 Top Up","openapi":"POST /x402/top-up","href":"/api-reference/endpoint/x402/top-up"},{"title":"X402 Transactions","openapi":"GET /x402/transactions/{walletAddress}","href":"/api-reference/endpoint/x402/transactions"}]}]}]},{"tab":"Changelog","icon":"history","href":"https://featurebase.venice.ai/changelog"},{"tab":"Status Page","icon":"activity","href":"https://veniceai-status.com"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/api-reference/endpoint/chat/completions"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/api-reference/endpoint/chat/completions"}]},{"language":"it","pages":[{"title":"it","href":"/it/api-reference/endpoint/chat/completions"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/endpoint/chat/completions"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/endpoint/chat/completions"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/endpoint/chat/completions"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/endpoint/chat/completions"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/endpoint/chat/completions"}]}]},"basePath":"","title":"Chat Completions | Venice API Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-m07pfKpT.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}