{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-index.sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Credit Usage","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"color":"#cdcefb","fontSize":"14px","fontWeight":"700","textTransform":"uppercase","letterSpacing":"0.05em","display":"block","marginBottom":"-30px"}},"children":["Get Started"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"credit-usage","__idx":0},"children":["Credit Usage"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Understanding how credits are calculated across Anesya document workflows."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Credits are the billing unit used for document processing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The current public credit rates are listed below."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Important rule:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["credits are always calculated from the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["number of pages in the document"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"current-credit-rates","__idx":1},"children":["Current credit rates"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Current public rates:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operation"},"children":["Operation"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Credits per page"},"children":["Credits per page"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Parsing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Extract"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Split"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Classify"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"credit-formula","__idx":2},"children":["Credit formula"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The formula is simple:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"credits = number_of_pages_in_document × credit_rate_for_operation\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Examples:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a 1-page parsing costs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1 × 2 = 2"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a 3-page extract costs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3 × 3 = 9"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a 10-page split costs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10 × 2 = 20"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["a 5-page classify costs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5 × 1 = 5"]}," credits"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"by-workflow","__idx":3},"children":["By workflow"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"documents","__idx":4},"children":["Documents"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["documents"]}," resource is used to upload, store, list, retrieve, and download source files."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Document upload and storage do not consume credits."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Credits apply to processing operations such as parsing, extract, split, and classify, not to document storage itself."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"parsing","__idx":5},"children":["Parsing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rate:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," credits per page"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Formula:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"parsing_credits = page_count × 2\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Examples:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["4"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["8 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["16"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["25 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["50"]}," credits"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"extract","__idx":6},"children":["Extract"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rate:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}," credits per page"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Formula:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"extract_credits = page_count × 3\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Examples:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["8 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["24"]}," credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["25 pages -> ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["75"]}," credits"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"split","__idx":7},"children":["Split"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rate:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," credits per page"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Formula:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"split_credits = page_count × 2\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"classify","__idx":8},"children":["Classify"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rate:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," credit per page"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Formula:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"classify_credits = page_count × 1\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-calculations","__idx":9},"children":["Example calculations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are common examples for business documents."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Document size"},"children":["Document size"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parsing"},"children":["Parsing"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Extract"},"children":["Extract"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Split"},"children":["Split"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Classify"},"children":["Classify"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 page"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["3 pages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["9"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5 pages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["15"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["10 pages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["30"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["20 pages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["40"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["60"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["40"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["20"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-to-estimate-credits-before-processing","__idx":10},"children":["How to estimate credits before processing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To estimate usage, determine:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the number of pages in the document"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the operation you are going to run"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the matching public rate"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Then apply the formula."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["document has ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["7"]}," pages"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["operation is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["extract"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["extract rate is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["So:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"7 × 3 = 21 credits\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"credit-optimization-tips","__idx":11},"children":["Credit optimization tips"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-reduce-the-number-of-processed-pages","__idx":12},"children":["1. Reduce the number of processed pages"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Since credits scale directly with page count, the most effective optimization is to process fewer pages."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need part of a PDF, trim it during document upload with:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pdf_page_start"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pdf_page_end"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/documents"},"children":["Documents"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-use-the-cheapest-operation-that-solves-the-problem","__idx":13},"children":["2. Use the cheapest operation that solves the problem"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need classification, use classify instead of extract."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need OCR and markdown, use parsing instead of extract."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only need structured output, use extract directly."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"3-avoid-processing-the-same-oversized-source-repeatedly","__idx":14},"children":["3. Avoid processing the same oversized source repeatedly"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a file will be reused, upload it once, keep the document ID, and decide carefully which downstream operation is actually needed each time."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"4-trim-before-downstream-workflows","__idx":15},"children":["4. Trim before downstream workflows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A shorter stored document means:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["lower parsing credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["lower extract credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["lower split credits"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["lower classify credits"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"monitoring-usage","__idx":16},"children":["Monitoring usage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API responses can expose usage information on processing resources."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example shape:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"usage\": {\n    \"num_pages\": 3,\n    \"credits\": 9\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When usage is returned, it lets you compare:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the page count that was processed"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["the credits charged for that operation"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-questions","__idx":17},"children":["Common questions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"is-credit-usage-always-page-based","__idx":18},"children":["Is credit usage always page-based?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Yes. Credit usage is calculated from the number of document pages."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"does-document-upload-itself-consume-credits","__idx":19},"children":["Does document upload itself consume credits?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No. Credits apply to processing operations such as parsing, extract, split, and classify."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-is-the-most-expensive-operation-in-the-current-rates","__idx":20},"children":["What is the most expensive operation in the current rates?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Extract, at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["3"]}," credits per page."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-is-the-cheapest-operation-in-the-current-rates","__idx":21},"children":["What is the cheapest operation in the current rates?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Classify, at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," credit per page."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"related-guides","__idx":22},"children":["Related guides"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/documents"},"children":["Documents"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/parsing"},"children":["Parsing"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/extract"},"children":["Extract"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tutorials/quickstart"},"children":["API quickstart"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/api/schema"},"children":["API reference"]}]}]}]},"headings":[{"value":"Credit Usage","id":"credit-usage","depth":1},{"value":"Current credit rates","id":"current-credit-rates","depth":2},{"value":"Credit formula","id":"credit-formula","depth":2},{"value":"By workflow","id":"by-workflow","depth":2},{"value":"Documents","id":"documents","depth":3},{"value":"Parsing","id":"parsing","depth":3},{"value":"Extract","id":"extract","depth":3},{"value":"Split","id":"split","depth":3},{"value":"Classify","id":"classify","depth":3},{"value":"Example calculations","id":"example-calculations","depth":2},{"value":"How to estimate credits before processing","id":"how-to-estimate-credits-before-processing","depth":2},{"value":"Credit optimization tips","id":"credit-optimization-tips","depth":2},{"value":"1. Reduce the number of processed pages","id":"1-reduce-the-number-of-processed-pages","depth":3},{"value":"2. Use the cheapest operation that solves the problem","id":"2-use-the-cheapest-operation-that-solves-the-problem","depth":3},{"value":"3. Avoid processing the same oversized source repeatedly","id":"3-avoid-processing-the-same-oversized-source-repeatedly","depth":3},{"value":"4. Trim before downstream workflows","id":"4-trim-before-downstream-workflows","depth":3},{"value":"Monitoring usage","id":"monitoring-usage","depth":2},{"value":"Common questions","id":"common-questions","depth":2},{"value":"Is credit usage always page-based?","id":"is-credit-usage-always-page-based","depth":3},{"value":"Does document upload itself consume credits?","id":"does-document-upload-itself-consume-credits","depth":3},{"value":"What is the most expensive operation in the current rates?","id":"what-is-the-most-expensive-operation-in-the-current-rates","depth":3},{"value":"What is the cheapest operation in the current rates?","id":"what-is-the-cheapest-operation-in-the-current-rates","depth":3},{"value":"Related guides","id":"related-guides","depth":2}],"frontmatter":{"seo":{"title":"Credit Usage"}},"lastModified":"2026-04-22T15:07:29.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tutorials/credit-usage","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}