Decimal amount fields are decimal strings in USD and must not be divided by 10000.Legacy integer amount fields with corresponding Decimal fields are deprecated and remain available for compatibility. They are returned as JSON strings in units of 1/10000 USD.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"接口AI 文档中心","colors":{"primary":"#000000","light":"#0071E3","dark":"#0071E3"},"logo":{"light":"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/light.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=81df34bfa762625ad3a4e18f59a81a0e","dark":"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/dark.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=b81968885d04f4c09c4058bad9c364e1","href":"https://jiekou.vip"},"favicon":"https://mintcdn.com/jiekou/M__ek7klV-HYX16k/favicon.ico?fit=max\u0026auto=format\u0026n=M__ek7klV-HYX16k\u0026q=85\u0026s=7fb1bfe34418ab40c7c6025450bf40e0","navbar":{"links":[{"href":"https://jiekou.vip/models-console/library","label":"控制台"}],"primary":{"type":"button","label":"官网首页","href":"https://jiekou.vip"}},"seo":{"indexing":"all"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"languages":[{"language":"zh","default":true,"href":"docs/announcement/announcement"},{"language":"en","href":"en/docs/announcement/announcement"},{"language":"es","href":"es/docs/announcement/announcement"},{"language":"pt-BR","href":"pt/docs/announcement/announcement"},{"language":"fr","href":"fr/docs/announcement/announcement"},{"language":"de","href":"de/docs/announcement/announcement"},{"language":"ja","href":"ja/docs/announcement/announcement"},{"language":"ru","href":"ru/docs/announcement/announcement"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jiekou","hasAudioNarration":false,"actualSubdomain":"jiekou","customDomains":["docs.jiekou.ai"],"gitSource":{"type":"github","owner":"jiekouai","repo":"jiekou-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8825c16faa66f78bb29dc","collectionId":"8b465a02-2589-4cc4-be0d-1fa99874934f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8825c16faa66f78bb29dc"},"entitlements":{},"buildId":"6ad8825c16faa66f78bb29dc","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"de","tag":"Leitfaden für Modelldienste","count":24},{"language":"zh","tag":"模型服务用户指南","count":24},{"language":"en","tag":"Model Service Guide","count":24},{"language":"es","tag":"Guía del servicio de modelos","count":24},{"language":"fr","tag":"Guide du service de modèles","count":24},{"language":"ja","tag":"モデルサービスガイド","count":24},{"language":"pt-BR","tag":"Guia do serviço de modelos","count":24},{"language":"ru","tag":"Руководство по сервису моделей","count":24},{"language":"zh","tag":"模型服务 API 手册","count":22},{"language":"en","tag":"Model Service API Reference","count":22},{"language":"de","tag":"API-Referenz für Modelldienste","count":19},{"language":"es","tag":"Referencia de API del servicio de modelos","count":19},{"language":"fr","tag":"Référence API du service de modèles","count":19},{"language":"ja","tag":"モデルサービス API リファレンス","count":19},{"language":"pt-BR","tag":"Referência da API do serviço de modelos","count":19},{"language":"ru","tag":"Справочник API сервиса моделей","count":19},{"language":"zh","tag":"账号用户指南","count":16},{"language":"en","tag":"Account Guide","count":16},{"language":"de","tag":"Kontoleitfaden","count":14},{"language":"es","tag":"Guía de cuenta","count":14},{"language":"fr","tag":"Guide du compte","count":14},{"language":"ja","tag":"アカウントガイド","count":14},{"language":"pt-BR","tag":"Guia da conta","count":14},{"language":"ru","tag":"Руководство по аккаунту","count":14},{"language":"de","tag":"Einrichtung von Drittanbieter-Tools","count":11},{"language":"zh","tag":"第三方工具配置","count":11},{"language":"en","tag":"Third-party Tool Setup","count":11},{"language":"es","tag":"Configuración de herramientas de terceros","count":11},{"language":"fr","tag":"Configuration des outils tiers","count":11},{"language":"ja","tag":"サードパーティツール設定","count":11},{"language":"pt-BR","tag":"Configuração de ferramentas de terceiros","count":11},{"language":"ru","tag":"Настройка сторонних инструментов","count":11},{"language":"de","tag":"LLM API","count":9},{"language":"zh","tag":"大语言模型 API","count":9},{"language":"en","tag":"LLM API","count":9},{"language":"es","tag":"API de LLM","count":9},{"language":"fr","tag":"API LLM","count":9},{"language":"ja","tag":"LLM API","count":9},{"language":"pt-BR","tag":"API de LLM","count":9},{"language":"ru","tag":"API больших языковых моделей","count":9},{"language":"zh","tag":"账号管理","count":8},{"language":"en","tag":"Account Management","count":8},{"language":"de","tag":"FAQ","count":7},{"language":"zh","tag":"常见问题","count":7},{"language":"en","tag":"FAQ","count":7},{"language":"es","tag":"Preguntas frecuentes","count":7},{"language":"fr","tag":"FAQ","count":7},{"language":"ja","tag":"FAQ","count":7},{"language":"pt-BR","tag":"Perguntas frequentes","count":7},{"language":"ru","tag":"Часто задаваемые вопросы","count":7},{"language":"de","tag":"Große Sprachmodelle","count":6},{"language":"de","tag":"Kontoverwaltung","count":6},{"language":"zh","tag":"大语言","count":6},{"language":"en","tag":"Large Language Models","count":6},{"language":"es","tag":"Modelos de lenguaje","count":6},{"language":"es","tag":"Gestión de cuenta","count":6},{"language":"fr","tag":"Grands modèles de langage","count":6},{"language":"fr","tag":"Gestion du compte","count":6},{"language":"ja","tag":"大規模言語モデル","count":6},{"language":"ja","tag":"アカウント管理","count":6},{"language":"pt-BR","tag":"Modelos de linguagem","count":6},{"language":"pt-BR","tag":"Gerenciamento da conta","count":6},{"language":"ru","tag":"Большие языковые модели","count":6},{"language":"ru","tag":"Управление аккаунтом","count":6},{"language":"de","tag":"Bilder","count":5},{"language":"zh","tag":"图像","count":5},{"language":"en","tag":"Images","count":5},{"language":"es","tag":"Imágenes","count":5},{"language":"fr","tag":"Images","count":5},{"language":"ja","tag":"画像","count":5},{"language":"pt-BR","tag":"Imagens","count":5},{"language":"ru","tag":"Изображения","count":5},{"language":"de","tag":"API-Grundlagen","count":4},{"language":"zh","tag":"API 基础","count":4},{"language":"en","tag":"API Basics","count":4},{"language":"es","tag":"Conceptos básicos de API","count":4},{"language":"fr","tag":"Bases de l'API","count":4},{"language":"ja","tag":"API の基本","count":4},{"language":"pt-BR","tag":"Noções básicas da API","count":4},{"language":"ru","tag":"Основы API","count":4}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"@keyframes unified-api-spin{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}[style*=\"#7c3aed\"],[style*=\"7c3aed\"],[style*=\"rgb(124, 58, 237)\"]{background-color:#f5f5f5!important;background:#f5f5f5!important}#navbar .nav-tabs-item[aria-current=location],#navbar .nav-tabs-item[data-active=true]{background-color:transparent!important;background:0 0!important}#sidebar [aria-selected=true],#sidebar [class*=active],#sidebar [data-active=true]{background-color:#f5f5f5!important}.table-container{overflow-x:scroll;box-shadow:3px 0 10px 0 rgba(25,85,140,.05)}.table-container table{margin-top:0}.table thead{background-color:#eef2f150}.table thead th{padding:8px 10px;text-align:left;white-space:nowrap}.table tbody td{padding:6px 10px}.table-big thead th{padding:12px 10px}.table-big tbody td{padding:10px}.table .list-col,.table .list-sub-col{position:relative;padding-left:31px;margin:0;text-align:left}.table .list-col::before{content:\"•\";position:absolute;left:18px;top:6px;color:#16b063b0}.table .list-sub-col{padding-left:46px}.table .list-sub-col::before{content:\"\";position:absolute;left:36px;top:15px;width:4px;height:4px;background-color:#16b06380}.table .list-grandson-col,.table .list-grandson-sub-col{position:relative;padding-left:60px;margin:0;text-align:left}.table .list-grandson-col::before,.table .list-grandson-sub-col::before{content:\"\";position:absolute;left:50px;top:15px;width:4px;height:4px;border-radius:100%;border:1px solid #16b06380}.table .list-grandson-sub-col{padding-left:66px}.table .list-grandson-sub-col::before{left:58px;top:16px;width:3px;height:3px;border:1px solid #16b06350}.table .type-desc{display:inline-block;margin-left:12px;color:#9e9c98b0}.table .type-desc-narrow{margin-left:4px}.table .delete{text-decoration:line-through}.table .deprecated,.table .new-field{display:inline-block;color:#f23030;margin-bottom:4px}.table .new-field{color:#22ad5c}.table .moved{margin-bottom:4px;color:#f27430}.table .inline-block,.table .moved{display:inline-block}.table .mt-1{margin-top:4px}.table .mt-2{margin-top:8px}.table .ml-0{margin-left:0}.model-id-item{padding:.125rem .5rem;color:#111827;font-size:.875em;font-weight:500;font-variant-ligatures:none;overflow-wrap:break-word;border-radius:var(--rounded-md, .375rem);background-color:rgb(var(--gray-100)/.5)}.param_text{font-size:14px}.param_frame{width:100%;padding:0 8px}.unified-api-container span[data-as=p]{display:block;margin-top:1.25em;margin-bottom:1.25em}.unified-api-inline-label{padding:2px 8px;border-radius:6px;background-color:#f1eff580;color:#111827;font-size:12px;font-family:var(--font-jetbrains-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}.unified-api-selector-container{margin-bottom:16px}.unified-api-description{padding:6px 8px;font-size:15px;color:#4f4e4a;border-radius:6px;border-left:4px solid #fafafa;background-color:#fdfdfd}.unified-api-selector-label{display:block;margin-top:36px;margin-bottom:12px;font-size:15px;font-weight:500;color:#374151;line-height:1.25}.unified-api-selector-wrapper{position:relative;max-width:300px}.unified-api-selector-button{height:40px;width:100%;border-radius:6px;border:1px solid #d1d5db;background-color:#fff;padding:0 32px 0 12px;font-size:14px;color:#374151;outline:0;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;transition:border-color .2s ease-in-out,box-shadow .2s ease-in-out;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);font-family:var(--font-jetbrains-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}.unified-api-selector-button:hover{border-color:#9ca3af}.unified-api-selector-button:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.unified-api-selector-arrow{transition:transform .2s ease-in-out}.unified-api-selector-arrow.open{transform:rotate(180deg)}.unified-api-selector-dropdown{position:absolute;top:100%;left:0;right:0;z-index:50;margin-top:4px;border-radius:6px;border:1px solid #d1d5db;background-color:#fff;box-shadow:0 10px 25px -3px rgba(0,0,0,.2),0 4px 10px -2px rgba(0,0,0,.15);max-height:275px;overflow:hidden}.unified-api-selector-dropdown::after{content:'';position:sticky;bottom:0;left:0;right:0;height:12px;background:linear-gradient(to top,#fff 0,rgba(255,255,255,.5) 50%,rgba(255,255,255,.3) 100%);z-index:10;pointer-events:none;display:block;margin-top:-12px}.unified-api-selector-option{padding:10px 12px;font-size:14px;color:#374151;cursor:pointer;background-color:#fff}.unified-api-selector-option:not(:last-child){margin-top:1px;margin-bottom:1px;border-bottom:1px solid #f5f5f5}.unified-api-selector-option.selected{background-color:#f3f4f6}.unified-api-selector-option:hover:not(.selected){background-color:#f8fafc}.dark .unified-api-selector-label{color:inherit}.dark .unified-api-search-container{background-color:#1f2937}.dark .unified-api-search-input,.dark .unified-api-selector-button{background-color:#1f2937;color:#e5e7eb}.dark .unified-api-selector-button{border:1px solid #4b5563;box-shadow:0 1px 2px 0 rgba(0,0,0,.3)}.dark .unified-api-selector-button:hover{border-color:#6b7280}.dark .unified-api-selector-button:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.2)}.dark .unified-api-selector-dropdown{border:1px solid #4b5563;background-color:#1f2937;box-shadow:0 10px 25px -3px rgba(0,0,0,.4),0 4px 10px -2px rgba(0,0,0,.3)}.dark .unified-api-selector-dropdown::after{background:linear-gradient(to top,#1f2937 0,rgba(31,41,55,.5) 50%,rgba(31,41,55,.3) 100%)}.dark .unified-api-selector-option{color:#e5e7eb;background-color:#1f2937}.dark .unified-api-selector-option:not(:last-child){border-bottom:1px solid #374151}.dark .unified-api-selector-option.selected{background-color:#374151}.dark .unified-api-selector-option:hover:not(.selected){background-color:#2d3748}.dark .unified-api-description{padding:0;background-color:inherit;color:#e5e7eb;border-left:none}.unified-api-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.unified-api-loading-spinner{width:32px;height:32px;border:3px solid #f3f4f6;border-top:3px solid #7c3aed;border-radius:50%;animation:unified-api-spin 1s linear infinite;margin-bottom:16px}.unified-api-loading-text{color:#6b7280;font-size:14px;margin:0}.unified-api-search-container{padding:8px 12px;border-bottom:1px solid #e5e7eb;background-color:#fefefe}.unified-api-search-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:4px;font-size:14px;background-color:#fff;color:#374151;outline:0;transition:border-color .2s ease}.unified-api-search-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.1)}.unified-api-search-input::placeholder{color:#9ca3af}.unified-api-options-container{padding-bottom:12px;max-height:calc(275px - 48px);overflow-y:auto}.unified-api-no-results{padding:16px 12px;text-align:center;color:#6b7280;font-size:14px;font-style:italic}"}],"page":{"pagePath":"en/docs/models/reference-get-bill-pay-as-you-model","slug":"/en/docs/models/reference-get-bill-pay-as-you-model","pageMetadata":{"title":"Query Bills","api":"GET https://api.highwayapi.ai/openapi/v1/billing/bill/list","description":null,"href":"/en/docs/models/reference-get-bill-pay-as-you-model"},"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={code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request Headers`}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Enum value: `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Bearer authentication format: Bearer {{API Key}}.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response-information`,children:`Response Information`}),`\n`,_jsxs(ParamField,{query:`cycleType`,type:`string`,required:true,id:`param-cycle-type`,children:[_jsx(_components.p,{children:`Billing cycle granularity. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Hour`}),`: hourly`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Day`}),`: daily`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Week`}),`: weekly`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Month`}),`: monthly`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`productCategory`,type:`string`,required:true,id:`param-product-category`,children:[_jsx(_components.p,{children:`Product type. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`summary`}),`: summary bill`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`llm`}),`: large language model`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`productName`,type:`string`,required:false,id:`param-product-name`,children:_jsx(_components.p,{children:`Product name. Fuzzy matching is supported.`})}),`\n`,_jsx(ParamField,{query:`startTime`,type:`string`,required:false,id:`param-start-time`,children:_jsx(_components.p,{children:`Start time of the billing cycle to query, as a timestamp (seconds). Default value: 0.`})}),`\n`,_jsx(ParamField,{query:`endTime`,type:`string`,required:false,id:`param-end-time`,children:_jsx(_components.p,{children:`End time of the billing cycle to query, as a timestamp (seconds). Default value: 0.`})}),`\n`,_jsx(ParamField,{query:`ownerId`,type:`string`,required:false,id:`param-owner-id`,children:_jsx(_components.p,{children:`Specify the instance ID to query.`})}),`\n`,_jsx(Heading,{level:`2`,id:`amount-precision`,children:`Amount Precision`}),`\n`,_jsx(_components.p,{children:`Decimal amount fields are decimal strings in USD and must not be divided by 10000.`}),`\n`,_jsx(_components.p,{children:`Legacy integer amount fields with corresponding Decimal fields are deprecated and remain available for compatibility. They are returned as JSON strings in units of 1/10000 USD.`}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsxs(ResponseField,{name:`bills`,type:`object[]`,required:true,id:`param-bills`,children:[_jsx(_components.p,{children:`Pay-as-you-go instance billing information.`}),_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`userId`,type:`string`,required:true,id:`param-user-id`,children:_jsx(_components.p,{children:`User ID to which the instance belongs.`})}),_jsx(ResponseField,{name:`startTime`,type:`string`,required:true,id:`param-start-time-1`,children:_jsx(_components.p,{children:`Start time of the bill. Format: Unix timestamp.`})}),_jsx(ResponseField,{name:`endTime`,type:`string`,required:true,id:`param-end-time-1`,children:_jsx(_components.p,{children:`End time of the bill. Format: Unix timestamp.`})}),_jsx(ResponseField,{name:`billingMethod`,type:`int32`,required:true,id:`param-billing-method`,children:_jsx(_components.p,{children:`Billing method of the instance. A value of 1 indicates pay-as-you-go billing.`})}),_jsx(ResponseField,{name:`productName`,type:`string`,required:true,id:`param-product-name-1`,children:_jsx(_components.p,{children:`Product name.`})}),_jsx(ResponseField,{name:`category`,type:`string`,required:true,id:`param-category`,children:_jsx(_components.p,{children:`Product category.`})}),_jsx(ResponseField,{name:`ownerID`,type:`string`,required:true,id:`param-owner-id-1`,children:_jsx(_components.p,{children:`Instance ID.`})}),_jsx(ResponseField,{name:`billNum0`,type:`string`,required:true,id:`param-bill-num0`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: input tokens`}),`\n`]})}),_jsx(ResponseField,{name:`billNum1`,type:`string`,required:true,id:`param-bill-num1`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: output tokens`}),`\n`]})}),_jsx(ResponseField,{name:`basePrice0`,type:`string`,required:true,id:`param-base-price0`,children:_jsx(_components.p,{children:`Original price`})}),_jsx(ResponseField,{name:`basePrice1`,type:`string`,required:true,id:`param-base-price1`,children:_jsx(_components.p,{children:`Not meaningful`})}),_jsx(ResponseField,{name:`discountPrice0`,type:`string`,required:true,id:`param-discount-price0`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: unit price for input tokens`}),`\n`,_jsx(_components.li,{children:`Other: unit price`}),`\n`]})}),_jsx(ResponseField,{name:`discountPrice1`,type:`string`,required:true,id:`param-discount-price1`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: unit price for output tokens`}),`\n`]})}),_jsx(ResponseField,{name:`originAmountDecimal`,type:`string`,required:true,id:`param-origin-amount-decimal`,children:_jsx(_components.p,{children:`Original amount before deductions. Decimal string in USD.`})}),_jsx(ResponseField,{name:`amountDecimal`,type:`string`,required:true,id:`param-amount-decimal`,children:_jsx(_components.p,{children:`Total price. Decimal string in USD.`})}),_jsx(ResponseField,{name:`voucherAmountDecimal`,type:`string`,required:true,id:`param-voucher-amount-decimal`,children:_jsx(_components.p,{children:`Amount deducted by voucher. Decimal string in USD.`})}),_jsx(ResponseField,{name:`payableDecimal`,type:`string`,required:true,id:`param-payable-decimal`,children:_jsx(_components.p,{children:`Cash payment amount. Decimal string in USD.`})}),_jsx(ResponseField,{name:`payAmountDisplay`,type:`float`,required:true,id:`param-pay-amount-display`}),_jsx(ResponseField,{name:`pricePrecision`,type:`int32`,required:true,id:`param-price-precision`,children:_jsx(_components.p,{children:`Price precision.`})}),_jsx(ResponseField,{name:`productId`,type:`string`,required:true,id:`param-product-id`,children:_jsx(_components.p,{children:`Product ID.`})}),_jsx(ResponseField,{name:`originAmount`,type:`string`,required:true,deprecated:true,id:`param-origin-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Original amount before deductions. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`originAmountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`amount`,type:`string`,required:true,deprecated:true,id:`param-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Total price. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`amountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`voucherAmount`,type:`string`,required:true,deprecated:true,id:`param-voucher-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Amount deducted by voucher. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`voucherAmountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`payAmount`,type:`string`,required:true,deprecated:true,id:`param-pay-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Cash payment amount. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`payableDecimal`}),`, which is in USD.`]})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Query Bills","api":"GET https://api.highwayapi.ai/openapi/v1/billing/bill/list","description":null,"href":"/en/docs/models/reference-get-bill-pay-as-you-model"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`request-headers`,children:`Request Headers`}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Enum value: `,_jsx(_components.code,{children:`application/json`})]})}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsx(_components.p,{children:`Bearer authentication format: Bearer {{API Key}}.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response-information`,children:`Response Information`}),`\n`,_jsxs(ParamField,{query:`cycleType`,type:`string`,required:true,id:`param-cycle-type`,children:[_jsx(_components.p,{children:`Billing cycle granularity. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Hour`}),`: hourly`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Day`}),`: daily`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Week`}),`: weekly`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Month`}),`: monthly`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{query:`productCategory`,type:`string`,required:true,id:`param-product-category`,children:[_jsx(_components.p,{children:`Product type. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`summary`}),`: summary bill`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`llm`}),`: large language model`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`productName`,type:`string`,required:false,id:`param-product-name`,children:_jsx(_components.p,{children:`Product name. Fuzzy matching is supported.`})}),`\n`,_jsx(ParamField,{query:`startTime`,type:`string`,required:false,id:`param-start-time`,children:_jsx(_components.p,{children:`Start time of the billing cycle to query, as a timestamp (seconds). Default value: 0.`})}),`\n`,_jsx(ParamField,{query:`endTime`,type:`string`,required:false,id:`param-end-time`,children:_jsx(_components.p,{children:`End time of the billing cycle to query, as a timestamp (seconds). Default value: 0.`})}),`\n`,_jsx(ParamField,{query:`ownerId`,type:`string`,required:false,id:`param-owner-id`,children:_jsx(_components.p,{children:`Specify the instance ID to query.`})}),`\n`,_jsx(Heading,{level:`2`,id:`amount-precision`,children:`Amount Precision`}),`\n`,_jsx(_components.p,{children:`Decimal amount fields are decimal strings in USD and must not be divided by 10000.`}),`\n`,_jsx(_components.p,{children:`Legacy integer amount fields with corresponding Decimal fields are deprecated and remain available for compatibility. They are returned as JSON strings in units of 1/10000 USD.`}),`\n`,_jsx(Heading,{level:`2`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsxs(ResponseField,{name:`bills`,type:`object[]`,required:true,id:`param-bills`,children:[_jsx(_components.p,{children:`Pay-as-you-go instance billing information.`}),_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`userId`,type:`string`,required:true,id:`param-user-id`,children:_jsx(_components.p,{children:`User ID to which the instance belongs.`})}),_jsx(ResponseField,{name:`startTime`,type:`string`,required:true,id:`param-start-time-1`,children:_jsx(_components.p,{children:`Start time of the bill. Format: Unix timestamp.`})}),_jsx(ResponseField,{name:`endTime`,type:`string`,required:true,id:`param-end-time-1`,children:_jsx(_components.p,{children:`End time of the bill. Format: Unix timestamp.`})}),_jsx(ResponseField,{name:`billingMethod`,type:`int32`,required:true,id:`param-billing-method`,children:_jsx(_components.p,{children:`Billing method of the instance. A value of 1 indicates pay-as-you-go billing.`})}),_jsx(ResponseField,{name:`productName`,type:`string`,required:true,id:`param-product-name-1`,children:_jsx(_components.p,{children:`Product name.`})}),_jsx(ResponseField,{name:`category`,type:`string`,required:true,id:`param-category`,children:_jsx(_components.p,{children:`Product category.`})}),_jsx(ResponseField,{name:`ownerID`,type:`string`,required:true,id:`param-owner-id-1`,children:_jsx(_components.p,{children:`Instance ID.`})}),_jsx(ResponseField,{name:`billNum0`,type:`string`,required:true,id:`param-bill-num0`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: input tokens`}),`\n`]})}),_jsx(ResponseField,{name:`billNum1`,type:`string`,required:true,id:`param-bill-num1`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: output tokens`}),`\n`]})}),_jsx(ResponseField,{name:`basePrice0`,type:`string`,required:true,id:`param-base-price0`,children:_jsx(_components.p,{children:`Original price`})}),_jsx(ResponseField,{name:`basePrice1`,type:`string`,required:true,id:`param-base-price1`,children:_jsx(_components.p,{children:`Not meaningful`})}),_jsx(ResponseField,{name:`discountPrice0`,type:`string`,required:true,id:`param-discount-price0`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: unit price for input tokens`}),`\n`,_jsx(_components.li,{children:`Other: unit price`}),`\n`]})}),_jsx(ResponseField,{name:`discountPrice1`,type:`string`,required:true,id:`param-discount-price1`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`llm: unit price for output tokens`}),`\n`]})}),_jsx(ResponseField,{name:`originAmountDecimal`,type:`string`,required:true,id:`param-origin-amount-decimal`,children:_jsx(_components.p,{children:`Original amount before deductions. Decimal string in USD.`})}),_jsx(ResponseField,{name:`amountDecimal`,type:`string`,required:true,id:`param-amount-decimal`,children:_jsx(_components.p,{children:`Total price. Decimal string in USD.`})}),_jsx(ResponseField,{name:`voucherAmountDecimal`,type:`string`,required:true,id:`param-voucher-amount-decimal`,children:_jsx(_components.p,{children:`Amount deducted by voucher. Decimal string in USD.`})}),_jsx(ResponseField,{name:`payableDecimal`,type:`string`,required:true,id:`param-payable-decimal`,children:_jsx(_components.p,{children:`Cash payment amount. Decimal string in USD.`})}),_jsx(ResponseField,{name:`payAmountDisplay`,type:`float`,required:true,id:`param-pay-amount-display`}),_jsx(ResponseField,{name:`pricePrecision`,type:`int32`,required:true,id:`param-price-precision`,children:_jsx(_components.p,{children:`Price precision.`})}),_jsx(ResponseField,{name:`productId`,type:`string`,required:true,id:`param-product-id`,children:_jsx(_components.p,{children:`Product ID.`})}),_jsx(ResponseField,{name:`originAmount`,type:`string`,required:true,deprecated:true,id:`param-origin-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Original amount before deductions. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`originAmountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`amount`,type:`string`,required:true,deprecated:true,id:`param-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Total price. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`amountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`voucherAmount`,type:`string`,required:true,deprecated:true,id:`param-voucher-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Amount deducted by voucher. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`voucherAmountDecimal`}),`, which is in USD.`]})}),_jsx(ResponseField,{name:`payAmount`,type:`string`,required:true,deprecated:true,id:`param-pay-amount`,children:_jsxs(_components.p,{children:[`Deprecated. Cash payment amount. Integer returned as a string, in units of 1/10000 USD. Use `,_jsx(_components.code,{children:`payableDecimal`}),`, which is in USD.`]})})]})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`30`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bills\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"userId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1790812800\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"endTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1790899199\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingMethod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"productName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"llm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ownerID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billNum0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billNum1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"basePrice0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"basePrice1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discountPrice0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discountPrice1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"originAmountDecimal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.23456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amountDecimal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.000019\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voucherAmountDecimal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payableDecimal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.000019\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payAmountDisplay\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pricePrecision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"productId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstring>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"originAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"voucherAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Query Bills","api":"GET https://api.highwayapi.ai/openapi/v1/billing/bill/list","description":null,"href":"/en/docs/models/reference-get-bill-pay-as-you-model"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Headers","slug":"request-headers","depth":2,"children":[]},{"title":"Response Information","slug":"response-information","depth":2,"children":[]},{"title":"Amount Precision","slug":"amount-precision","depth":2,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"30\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"bills\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"userId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;string>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"startTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1790812800\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"endTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1790899199\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingMethod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"productName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;string>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"category\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"llm\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ownerID\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;string>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billNum0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billNum1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"500\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"basePrice0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"basePrice1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"discountPrice0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"discountPrice1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"originAmountDecimal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.23456789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amountDecimal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.000019\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voucherAmountDecimal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payableDecimal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1.000019\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payAmount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"payAmountDisplay\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"pricePrecision\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"productId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;string>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"originAmount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"12345\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"voucherAmount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Query Bills","path":"/openapi/v1/billing/bill/list","servers":[{"url":"https://api.highwayapi.ai"}],"method":"get","request":{"security":[],"parameters":{"query":{"cycleType":{"schema":[{"type":"string","description":"Billing cycle granularity. Options: `Hour` : hourly `Day` : daily `Week` : weekly `Month` : monthly","required":true}]},"productCategory":{"schema":[{"type":"string","description":"Product type. Options: `summary` : summary bill `llm` : large language model","required":true}]},"productName":{"schema":[{"type":"string","description":"Product name. Fuzzy matching is supported."}]},"startTime":{"schema":[{"type":"string","description":"Start time of the billing cycle to query, as a timestamp (seconds). Default value: 0."}]},"endTime":{"schema":[{"type":"string","description":"End time of the billing cycle to query, as a timestamp (seconds). Default value: 0."}]},"ownerId":{"schema":[{"type":"string","description":"Specify the instance ID to query."}]}},"header":{"Content-Type":{"schema":[{"type":"string","description":"Enum value: `application/json`","required":true}]},"Authorization":{"schema":[{"type":"string","description":"Bearer authentication format: Bearer {{API Key}}.","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"bills":[{"type":"array","items":[{"type":"object","properties":{"userId":[{"type":"string","description":"User ID to which the instance belongs.","required":true}],"startTime":[{"type":"string","description":"Start time of the bill. Format: Unix timestamp.","required":true}],"endTime":[{"type":"string","description":"End time of the bill. Format: Unix timestamp.","required":true}],"billingMethod":[{"type":"object","properties":{},"description":"Billing method of the instance. A value of 1 indicates pay-as-you-go billing.","required":true}],"productName":[{"type":"string","description":"Product name.","required":true}],"category":[{"type":"string","description":"Product category.","required":true}],"ownerID":[{"type":"string","description":"Instance ID.","required":true}],"billNum0":[{"type":"string","description":"llm: input tokens","required":true}],"billNum1":[{"type":"string","description":"llm: output tokens","required":true}],"basePrice0":[{"type":"string","description":"Original price","required":true}],"basePrice1":[{"type":"string","description":"Not meaningful","required":true}],"discountPrice0":[{"type":"string","description":"llm: unit price for input tokens Other: unit price","required":true}],"discountPrice1":[{"type":"string","description":"llm: unit price for output tokens","required":true}],"originAmountDecimal":[{"type":"string","description":"Original amount before deductions. Decimal string in USD.","required":true}],"amountDecimal":[{"type":"string","description":"Total price. Decimal string in USD.","required":true}],"voucherAmountDecimal":[{"type":"string","description":"Amount deducted by voucher. Decimal string in USD.","required":true}],"payableDecimal":[{"type":"string","description":"Cash payment amount. Decimal string in USD.","required":true}],"payAmountDisplay":[{"type":"number","required":true}],"pricePrecision":[{"type":"object","properties":{},"description":"Price precision.","required":true}],"productId":[{"type":"string","description":"Product ID.","required":true}],"originAmount":[{"type":"string","description":"Deprecated. Original amount before deductions. Integer returned as a string, in units of 1/10000 USD. Use `originAmountDecimal` , which is in USD.","required":true,"deprecated":true}],"amount":[{"type":"string","description":"Deprecated. Total price. Integer returned as a string, in units of 1/10000 USD. Use `amountDecimal` , which is in USD.","required":true,"deprecated":true}],"voucherAmount":[{"type":"string","description":"Deprecated. Amount deducted by voucher. Integer returned as a string, in units of 1/10000 USD. Use `voucherAmountDecimal` , which is in USD.","required":true,"deprecated":true}],"payAmount":[{"type":"string","description":"Deprecated. Cash payment amount. Integer returned as a string, in units of 1/10000 USD. Use `payableDecimal` , which is in USD.","required":true,"deprecated":true}]}}],"description":"Pay-as-you-go instance billing information.","required":true}]}}],"examples":{"example":{"value":{"bills":[{"userId":"\u003cstring>","startTime":"\u003cstring>","endTime":"\u003cstring>","billingMethod":{},"productName":"\u003cstring>","category":"\u003cstring>","ownerID":"\u003cstring>","billNum0":"\u003cstring>","billNum1":"\u003cstring>","basePrice0":"\u003cstring>","basePrice1":"\u003cstring>","discountPrice0":"\u003cstring>","discountPrice1":"\u003cstring>","originAmountDecimal":"\u003cstring>","amountDecimal":"\u003cstring>","voucherAmountDecimal":"\u003cstring>","payableDecimal":"\u003cstring>","payAmountDisplay":123,"pricePrecision":{},"productId":"\u003cstring>","originAmount":"\u003cstring>","amount":"\u003cstring>","voucherAmount":"\u003cstring>","payAmount":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/jiekou/66d6c24ef801984b/scripts/remoteData.js","/_mintlify/custom/jiekou/8ae569e8e123640c/scripts/gen-web-info/config.js","/_mintlify/custom/jiekou/2b947a82b530b471/scripts/gen-web-info/index.js"],"subdomain":"jiekou","siteName":"接口AI 文档中心","title":"Query Bills - 接口AI 文档中心","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"en":{"href":"/en/docs/models/reference-get-bill-pay-as-you-model","matchLevel":0},"es":{"href":"/es/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"pt-BR":{"href":"/pt/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"fr":{"href":"/fr/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"de":{"href":"/de/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"ja":{"href":"/ja/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1},"ru":{"href":"/ru/docs/models/reference-get-bill-pay-as-you-model","matchLevel":1}}},"lastModified":"2026-10-21T09:14:25.533Z","gitLastModified":"2026-10-21T08:41:24.000Z","originalFileLocation":"en/docs/models/reference-get-bill-pay-as-you-model.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=\"application-name\" content=\"接口AI 文档中心\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_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/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Query Bills - 接口AI 文档中心\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"接口AI 文档中心\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jiekou.mintlify.app/_mintlify/api/og/v2?division=API+Basics\u0026amp;title=Query+Bills\u0026amp;theme=23791efa182c1f70f1efca08\u0026amp;signature=947fafb1bbcad7b70ae776e168852813f6d5882842c891e290cffb5d0f7f463d\">\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=\"Query Bills - 接口AI 文档中心\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jiekou.mintlify.app/_mintlify/api/og/v2?division=API+Basics\u0026amp;title=Query+Bills\u0026amp;theme=23791efa182c1f70f1efca08\u0026amp;signature=947fafb1bbcad7b70ae776e168852813f6d5882842c891e290cffb5d0f7f463d\">\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/jiekou/oOvNr3EXOz4PkTkF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"接口AI 文档中心\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/docs/models/reference-get-bill-pay-as-you-model.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.jiekou.ai/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.jiekou.ai/es/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.jiekou.ai/pt/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.jiekou.ai/fr/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.jiekou.ai/de/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.jiekou.ai/ja/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.jiekou.ai/ru/docs/models/reference-get-bill-pay-as-you-model\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.jiekou.ai/docs/models/reference-get-bill-pay-as-you-model\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jiekou.ai/#organization\",\"name\":\"接口AI 文档中心\",\"url\":\"https://docs.jiekou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jiekou/Mf1wGBLqNABiRgF8/logo/light.svg?fit=max\u0026auto=format\u0026n=Mf1wGBLqNABiRgF8\u0026q=85\u0026s=81df34bfa762625ad3a4e18f59a81a0e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jiekou.ai#website\",\"name\":\"接口AI 文档中心\",\"url\":\"https://docs.jiekou.ai\",\"publisher\":{\"@id\":\"https://docs.jiekou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model#webpage\",\"url\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\",\"name\":\"Query Bills\",\"dateModified\":\"2026-10-21T08:41:24.000Z\",\"isPartOf\":{\"@id\":\"https://docs.jiekou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Basics\",\"item\":\"https://docs.jiekou.ai/en/docs/models/reference-authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Query Bills\",\"item\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model#apireference\",\"headline\":\"Query Bills\",\"name\":\"Query Bills\",\"url\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jiekou.ai/en/docs/models/reference-get-bill-pay-as-you-model#webpage\"},\"dateModified\":\"2026-10-21T08:41:24.000Z\",\"publisher\":{\"@id\":\"https://docs.jiekou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jiekou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"接口AI 文档中心\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"接口AI 文档中心","nav":{"global":null,"languages":[{"language":"zh","default":true,"pages":[{"title":"zh","href":"/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"en","tabs":[{"tab":"Product Announcements","pages":[{"title":"Product Announcements","href":"/en/docs/announcement/announcement"}]},{"tab":"Model Service Guide","pages":[{"title":"Model Service Guide","href":"/en/docs/model/overview"}]},{"tab":"Model Service API Reference","groups":[{"group":"API Basics","pages":[{"title":"API Authentication Method","href":"/en/docs/models/reference-authentication"},{"title":"API Error Codes","description":null,"href":"/en/docs/models/reference-error-code"},{"title":"Query Bills","api":"GET https://api.highwayapi.ai/openapi/v1/billing/bill/list","href":"/en/docs/models/reference-get-bill-pay-as-you-model"},{"title":"Query Task Result","api":"GET https://api.highwayapi.ai/v3/async/task-result","description":null,"href":"/en/docs/models/reference-get-async-task-result"}]},{"group":"API Key Management","pages":[{"title":"Get API Key IP Access Policy","api":"GET https://api.highwayapi.ai/openapi/v2/user/key/{stringId}/ip-access-policy","href":"/en/docs/models/reference-key-get-ip-access-policy"},{"title":"Set API Key IP Access Policy","api":"PUT https://api.highwayapi.ai/openapi/v2/user/key/{stringId}/ip-access-policy","href":"/en/docs/models/reference-key-put-ip-access-policy"},{"title":"Delete API Key IP Access Policy","api":"DELETE https://api.highwayapi.ai/openapi/v2/user/key/{stringId}/ip-access-policy","href":"/en/docs/models/reference-key-delete-ip-access-policy"}]},{"group":"Large Language Models","pages":[{"title":"Retrieve Model List","api":"GET https://api.highwayapi.ai/openai/v1/models","href":"/en/docs/models/reference-llm-list-models"},{"title":"Retrieve Specified Model Information","api":"GET https://api.highwayapi.ai/openai/v1/models/{model}","href":"/en/docs/models/reference-llm-retrieve-model"},{"title":"Create Embeddings","api":"POST https://api.highwayapi.ai/openai/v1/embeddings","href":"/en/docs/models/reference-llm-create-embeddings"},{"title":"Create Rerank","api":"POST https://api.highwayapi.ai/openai/v1/rerank","href":"/en/docs/models/reference-llm-create-rerank"},{"title":"Create Chat Conversation Request","api":"POST https://api.highwayapi.ai/openai/v1/chat/completions","href":"/en/docs/models/reference-llm-create-chat-completion"},{"title":"Create Completion Request","api":"POST https://api.highwayapi.ai/openai/v1/completions","href":"/en/docs/models/reference-llm-create-completion"}]},{"group":"Images","pages":[{"title":"Nano Banana","api":"POST https://api.highwayapi.ai/gemini/v1/models/{model}:generateContent","playground":"simple","href":"/en/docs/models/reference-nano-banana"},{"title":"Seedream","api":"POST https://api.highwayapi.ai/v3/bytedance/api/v3/images/generations","playground":"simple","href":"/en/docs/models/reference-seedream"},{"title":"GPT Image","api":"POST https://api.highwayapi.ai/openai/v1/images/generations","playground":"simple","href":"/en/docs/models/reference-gpt-image"},{"title":"Nano Banana Pro Reverse","api":"POST https://api.highwayapi.ai/v3/nano-banana-pro-light-t2i","playground":"simple","href":"/en/docs/models/reference-nano-banana-pro-reverse"},{"title":"Nano Banana 2 Reverse","api":"POST https://api.highwayapi.ai/v3/nano-banana-2-t2i","playground":"simple","href":"/en/docs/models/reference-nano-banana-2-reverse"}]},{"group":"Video","pages":[{"title":"MiniMax H3","api":"POST https://{api_domain}/v3/minimax/v2/video_generation","playground":"simple","href":"/en/docs/models/reference-minimax-h3"},{"title":"Kling 3.0 \u0026 3.0 Omni","api":"POST https://{api_domain}/v3/kling/text-to-video/kling-3.0","playground":"simple","href":"/en/docs/models/reference-kling-3.0-native"},{"title":"Kling 3.0 Turbo","api":"POST https://{api_domain}/v3/kling/text-to-video/kling-3.0-turbo","playground":"simple","href":"/en/docs/models/reference-kling-3.0-turbo-native"}]},{"group":"Audio","pages":[{"title":"MiniMax Speech","api":"POST https://{api_domain}/v3/minimax/v1/t2a_v2","playground":"simple","href":"/en/docs/models/reference-minimax-speech"}]}]},{"tab":"Account Guide","pages":[{"title":"Account Guide","href":"/en/docs/support/quickstart"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"de","pages":[{"title":"de","href":"/de/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/docs/models/reference-get-bill-pay-as-you-model"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/docs/models/reference-get-bill-pay-as-you-model"}]}]},"title":"Query Bills - 接口AI 文档中心","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js"]}