[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-venice-ai-venice-billing":3,"mdc--29d4ej-key":34,"related-repo-venice-ai-venice-billing":5517,"related-org-venice-ai-venice-billing":5618},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"venice-billing","manage Venice billing and usage analytics","Venice billing and usage analytics - GET \u002Fbilling\u002Fbalance, GET \u002Fbilling\u002Fusage-history (keyset-paginated per-request ledger, JSON or CSV), GET \u002Fbilling\u002Fusage (deprecated predecessor), and GET \u002Fbilling\u002Fusage-analytics (aggregated by date\u002Fmodel\u002Fkey). Covers the DIEM\u002FUSD\u002FBUNDLED_CREDITS consumption priority and building dashboards. (Beta)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"venice-ai","Venice AI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvenice-ai.png","veniceai",[13,17,20],{"name":14,"slug":15,"type":16},"Reporting","reporting","tag",{"name":18,"slug":19,"type":16},"Finance","finance",{"name":21,"slug":22,"type":16},"Analytics","analytics",119,"https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills","2026-08-01T05:43:13.766419",null,15,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Agent Skills for the Venice.ai API. One folder per surface area, each with a SKILL.md for agent runtimes (Cursor, Claude, Codex, etc.).","https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fvenice-billing","---\nname: venice-billing\ndescription: Venice billing and usage analytics - GET \u002Fbilling\u002Fbalance, GET \u002Fbilling\u002Fusage-history (keyset-paginated per-request ledger, JSON or CSV), GET \u002Fbilling\u002Fusage (deprecated predecessor), and GET \u002Fbilling\u002Fusage-analytics (aggregated by date\u002Fmodel\u002Fkey). Covers the DIEM\u002FUSD\u002FBUNDLED_CREDITS consumption priority and building dashboards. (Beta)\n---\n\n# Venice Billing\n\nFour read-only endpoints for account-level billing and analytics. All are under a **Beta** tag — schema\u002Fbehavior may change.\n\n| Endpoint | Purpose |\n|---|---|\n| `GET \u002Fbilling\u002Fbalance` | Current `canConsume` flag, remaining DIEM & USD, epoch allocation. |\n| `GET \u002Fbilling\u002Fusage-history` | Per-request ledger with keyset pagination. JSON or CSV. **Use this one.** |\n| `GET \u002Fbilling\u002Fusage` | **Deprecated** offset-paginated ledger. See the warning below. |\n| `GET \u002Fbilling\u002Fusage-analytics` | Aggregated breakdowns: by date, model, API key. |\n\nAll require Bearer auth (not x402 — for wallet balances, use [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md)). `GET \u002Fbilling\u002Fbalance`, `GET \u002Fbilling\u002Fusage-history`, and `GET \u002Fbilling\u002Fusage` require an **ADMIN** key — an `INFERENCE` key gets `401`. `GET \u002Fbilling\u002Fusage-analytics` works on any authenticated key (scoped to the account behind the key).\n\n> **`GET \u002Fbilling\u002Fusage` is deprecated and mostly closed.** It is rate limited to\n> **1 request per minute per user**, and accounts created on or after\n> **2026-07-07** are rejected outright with `410 Gone`. Every response carries\n> `Deprecation: @1783555200` and\n> `Link: \u003C\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history>; rel=\"successor-version\"`. Write new\n> integrations against `GET \u002Fbilling\u002Fusage-history`, which returns the same data\n> with keyset pagination.\n\n## Currency \u002F priority\n\nVenice debits from, in order:\n\n1. **`DIEM`** — staked credits (reset per epoch).\n2. **`BUNDLED_CREDITS`** — included in some Pro plans.\n3. **`USD`** — prepaid fiat balance.\n4. (`VCU`) — **deprecated** legacy DIEM.\n\n`consumptionCurrency` on `\u002Fbilling\u002Fbalance` reports the **current** currency being consumed.\n\n## `GET \u002Fbilling\u002Fbalance`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fbalance \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n```\n\n```json\n{\n  \"canConsume\": true,\n  \"consumptionCurrency\": \"DIEM\",\n  \"balances\": { \"diem\": 90.5, \"usd\": 25 },\n  \"diemEpochAllocation\": 100\n}\n```\n\n- `canConsume: false` means both DIEM and USD buckets are empty on this endpoint — `canConsume` here is `hasPositiveDiemBalance || usdBalance > 0` and does **not** factor in bundled credits (which are consulted during the actual request in `getConsumableBalanceForRequest`).\n- `consumptionCurrency` is `\"DIEM\"`, `\"USD\"`, or `null` (when neither applies).\n- `balances.diem` is `null` if not staking.\n- `diemEpochAllocation` is the ceiling for the current epoch — `balances.diem \u002F diemEpochAllocation` = remaining fraction.\n\n## `GET \u002Fbilling\u002Fusage-history`\n\nPer-request ledger with keyset (cursor) pagination. This is the supported way to\nwalk billing history.\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-06-01T00:00:00Z&endTimestamp=2026-07-01T00:00:00Z&pageSize=1000&currency=USD\" \\\n  -H \"Authorization: Bearer $VENICE_ADMIN_KEY\" \\\n  -H \"Accept: application\u002Fjson\"\n```\n\n### Query parameters\n\nA request is **either** a filtered first page **or** a bare continuation. Sending\n`cursor` alongside any filter is a `400`, and so is any unknown parameter — the\nvalidator is strict rather than lenient.\n\n| Param | Notes |\n|---|---|\n| `startTimestamp` | Inclusive lower bound, ISO 8601 UTC with a `Z` suffix. First page only. |\n| `endTimestamp` | Exclusive upper bound, ISO 8601 UTC. Must be later than `startTimestamp`. Consecutive windows that share a boundary walk the history with no gaps and no overlaps. |\n| `currency` | `USD` \u002F `DIEM` \u002F `BUNDLED_CREDITS`. |\n| `pageSize` | 10–1000. Default **1000**. |\n| `cursor` | Opaque continuation token from a previous `nextCursor`. Carries the filters of the walk it continues, so send it **alone**. |\n\n### Response (JSON)\n\n```json\n{\n  \"data\": [\n    {\n      \"timestamp\": \"2026-06-15T19:05:10.504Z\",\n      \"sku\": \"zai-org-glm-5-1-llm-output-mtoken\",\n      \"units\": 0.000227,\n      \"pricePerUnitUsd\": 2.8,\n      \"amount\": -0.06356,\n      \"currency\": \"DIEM\",\n      \"notes\": \"API Inference\",\n      \"inferenceDetails\": {\n        \"requestId\": \"chatcmpl-4007fd29f42b7d3c4107f4345e8d174a\",\n        \"promptTokens\": 339,\n        \"completionTokens\": 227,\n        \"inferenceExecutionTime\": 2964\n      }\n    }\n  ],\n  \"nextCursor\": \"AZq3fK9tXhIVDm2j4vN8cQwYt1sB6uEoLxRgPzKaJdHfM5nC7yW0K3w\"\n}\n```\n\nEntries come back in **ascending** timestamp order. `nextCursor` is `null` on the\nlast page. Set `Accept: text\u002Fcsv` for CSV, in which case `Content-Disposition`\nstamps the export time into the filename (each page of a walk downloads under a\nunique, sort-ordered name) and `nextCursor` moves to the `x-next-cursor`\nresponse header.\n\nEntry fields match `\u002Fbilling\u002Fusage` (see below), with `inferenceDetails`\nsub-fields nullable when a count or timing was not recorded.\n\n### Walking the full history\n\n```ts\nlet url = `${base}\u002Fbilling\u002Fusage-history?startTimestamp=${start}&endTimestamp=${end}`\nfor (;;) {\n  const page = await fetch(url, { headers }).then(r => r.json())\n  handle(page.data)\n  if (page.nextCursor === null) break\n  url = `${base}\u002Fbilling\u002Fusage-history?cursor=${encodeURIComponent(page.nextCursor)}`\n}\n```\n\n## `GET \u002Fbilling\u002Fusage` (deprecated)\n\nOffset-paginated per-request ledger. Kept alive for grandfathered accounts only;\nsee the deprecation warning at the top of this skill before using it.\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage?limit=200&page=1&sortOrder=desc&currency=USD&startDate=2026-04-01T00:00:00Z&endDate=2026-04-21T23:59:59Z\" \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Accept: application\u002Fjson\"\n```\n\n### Query parameters\n\n| Param | Notes |\n|---|---|\n| `currency` | `USD` \u002F `VCU` \u002F `DIEM` \u002F `BUNDLED_CREDITS`. |\n| `startDate` \u002F `endDate` | ISO 8601 datetime. |\n| `limit` | 1–500. Default 200. |\n| `page` | Default 1. |\n| `sortOrder` | `asc` \u002F `desc` on `createdAt`. Default `desc`. |\n\n### Accept header\n\n- `application\u002Fjson` (default) — paginated JSON.\n- `text\u002Fcsv` — downloads `billing-usage.csv` (sets `Content-Disposition`).\n\n### Response (JSON)\n\n```json\n{\n  \"warningMessage\": \"DIEM (formerly VCU) has been renamed...\",\n  \"data\": [\n    {\n      \"timestamp\": \"2026-04-20T12:34:56Z\",\n      \"sku\": \"zai-org-glm-5-1-llm-output-mtoken\",\n      \"units\": 0.000227,\n      \"pricePerUnitUsd\": 2.8,\n      \"amount\": -0.06356,\n      \"currency\": \"DIEM\",\n      \"notes\": \"API Inference\",\n      \"inferenceDetails\": {\n        \"requestId\": \"chatcmpl-...\",\n        \"promptTokens\": 339,\n        \"completionTokens\": 227,\n        \"inferenceExecutionTime\": 2964\n      }\n    }\n  ],\n  \"pagination\": { \"limit\": 200, \"page\": 1, \"total\": 1000, \"totalPages\": 5 }\n}\n```\n\nResponse headers: `x-pagination-{limit,page,total,total-pages}`.\n\n### Fields\n\n- `sku` — billing line item (model + unit type + format).\n- `units` — for LLMs, millions of tokens (e.g. `0.000227` = 227 tokens).\n- `pricePerUnitUsd` — rate; for DIEM, DIEM ≈ USD so this doubles as reference.\n- `amount` — negative for debit.\n- `inferenceDetails` — present for inference SKUs; `requestId` is the `id` returned on the original `\u002Fchat\u002Fcompletions` response.\n\n## `GET \u002Fbilling\u002Fusage-analytics`\n\nAggregated summary for dashboards. **Cached 10 minutes.**\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-analytics?lookback=7d\" \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n```\n\n### Query parameters (choose one approach)\n\n- `lookback=Nd` — `7d`, `30d`, up to `90d`. Default `7d`.\n- **OR** `startDate=YYYY-MM-DD` + `endDate=YYYY-MM-DD` — both required if either is given.\n\n### Response (selected keys)\n\n```json\n{\n  \"lookback\": \"7d\",\n  \"byDate\": [{ \"date\": \"2026-04-20\", \"USD\": 0.5, \"DIEM\": 10.25 }, ...],\n  \"byModel\": [\n    {\n      \"modelName\": \"GLM 5.1\",\n      \"unitType\": \"tokens\",\n      \"modelType\": \"LLM\",\n      \"totalUsd\": 0.4,\n      \"totalDiem\": 12.5,\n      \"totalUnits\": 50000,\n      \"breakdown\": [\n        { \"type\": \"Output\", \"usd\": 0.3, \"diem\": 10, \"units\": 35000 },\n        { \"type\": \"Input\",  \"usd\": 0.1, \"diem\": 2.5, \"units\": 15000 }\n      ]\n    }\n  ],\n  \"byModelDaily\": [\n    { \"date\": 1705276800000, \"GLM 5.1\": 5.5, \"Claude Opus 4.7\": 3.2 }\n  ],\n  \"byModelDailyUsd\": [...],\n  \"topModels\": [\"GLM 5.1\", \"Claude Opus 4.7\"],\n  \"byKey\": [\n    { \"apiKeyId\": \"key_abc123\", \"description\": \"Production Key\",\n      \"totalUsd\": 0.8, \"totalDiem\": 15, \"totalUnits\": 75000 },\n    { \"apiKeyId\": null, \"description\": \"Web App\",\n      \"totalUsd\": 0, \"totalDiem\": 4, \"totalUnits\": 25000 }\n  ],\n  \"byKeyDaily\": [...],\n  \"byKeyDailyUsd\": [...],\n  \"topKeyNames\": [...]\n}\n```\n\n- `byDate` \u002F `byModelDaily` \u002F `byKeyDaily` are pre-shaped for time-series charts.\n- `topModels` \u002F `topKeyNames` give top-8 names for legend rendering.\n- `apiKeyId: null` in `byKey` means the usage originated from Venice's web app.\n\n## Recipes\n\n### Abort before calling inference if balance is empty\n\n```ts\nconst { canConsume } = await fetch(`${base}\u002Fbilling\u002Fbalance`, { headers }).then(r => r.json())\nif (!canConsume) throw new Error('Venice balance exhausted — top up before continuing')\n```\n\n### Monthly CSV export\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-04-01T00:00:00Z&endTimestamp=2026-05-01T00:00:00Z&pageSize=1000\" \\\n  -H \"Authorization: Bearer $VENICE_ADMIN_KEY\" \\\n  -H \"Accept: text\u002Fcsv\" \\\n  -o billing-april.csv\n```\n\nRead `x-next-cursor` off the response and re-request with `?cursor=\u003Ctoken>` (and\nno other parameters) until the header is absent.\n\n### Top-models chart\n\n```ts\nconst a = await fetch(`${base}\u002Fbilling\u002Fusage-analytics?lookback=30d`, { headers }).then(r => r.json())\n\u002F\u002F chart(a.byModelDaily, { series: a.topModels, xField: 'date' })\n```\n\n## Errors\n\n| Code | Meaning |\n|---|---|\n| `400` | Bad params (`startDate` without `endDate`, calendar range > 90 days). On `\u002Fbilling\u002Fusage-history`: a `cursor` sent with any filter, an unknown parameter, or `endTimestamp` not later than `startTimestamp`. `lookback=100d` is silently **clamped** to 90 days rather than rejected. |\n| `401` | Auth failed, or `INFERENCE` key used on `\u002Fbilling\u002Fbalance`, `\u002Fbilling\u002Fusage-history`, or `\u002Fbilling\u002Fusage` (ADMIN required). |\n| `410` | `\u002Fbilling\u002Fusage` only — the account was created on or after 2026-07-07 and must use `\u002Fbilling\u002Fusage-history`. |\n| `429` | `\u002Fbilling\u002Fusage` only — the deprecated 1 request\u002Fminute cap. |\n| `500` | Internal error. |\n| `504` | Analytics query timed out — shorten `lookback` or date range. |\n\n## Gotchas\n\n- This is **Beta** — field names may shift. Validate against `swagger.yaml` periodically.\n- Don't build anything new on `\u002Fbilling\u002Fusage`. One request per minute is not a pagination budget, and new accounts can't call it at all.\n- `\u002Fbilling\u002Fusage-history` takes `startTimestamp` \u002F `endTimestamp` \u002F `pageSize`; `\u002Fbilling\u002Fusage` takes `startDate` \u002F `endDate` \u002F `limit` \u002F `page`. The parameter names do not carry over when you migrate.\n- `\u002Fbilling\u002Fusage-history` accepts `USD`, `DIEM`, and `BUNDLED_CREDITS` for `currency`. Legacy `VCU` is only on `\u002Fbilling\u002Fusage`.\n- `currency` values on `\u002Fbilling\u002Fusage` include legacy `VCU` — use `DIEM` instead in new code.\n- `inferenceDetails` is `null` for non-inference SKUs (e.g. subscription charges).\n- The analytics endpoint is **cached 10 min** — sudden spikes lag in the dashboard by that window.\n- `byModelDaily.date` is a **Unix milliseconds integer**; `byDate.date` is a **`YYYY-MM-DD` string**. Don't mix them.\n- Usage entries from the Venice web app have `apiKeyId: null` — don't drop them when reconciling.\n- For x402 (wallet) balance, don't use this endpoint — use `GET \u002Fx402\u002Fbalance\u002F{walletAddress}`.\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,47,61,176,245,309,316,321,388,414,423,488,686,799,808,813,892,899,934,1093,1099,1602,1658,1678,1684,2032,2043,2048,2125,2130,2288,2294,2333,2338,2933,2945,2951,3035,3044,3054,3108,3114,3182,3188,4508,4567,4573,4579,4761,4767,4861,4881,4887,5008,5014,5242,5248,5511],{"type":40,"tag":41,"props":42,"children":43},"element","h1",{"id":4},[44],{"type":45,"value":46},"text","Venice Billing",{"type":40,"tag":48,"props":49,"children":50},"p",{},[51,53,59],{"type":45,"value":52},"Four read-only endpoints for account-level billing and analytics. All are under a ",{"type":40,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"Beta",{"type":45,"value":60}," tag — schema\u002Fbehavior may change.",{"type":40,"tag":62,"props":63,"children":64},"table",{},[65,84],{"type":40,"tag":66,"props":67,"children":68},"thead",{},[69],{"type":40,"tag":70,"props":71,"children":72},"tr",{},[73,79],{"type":40,"tag":74,"props":75,"children":76},"th",{},[77],{"type":45,"value":78},"Endpoint",{"type":40,"tag":74,"props":80,"children":81},{},[82],{"type":45,"value":83},"Purpose",{"type":40,"tag":85,"props":86,"children":87},"tbody",{},[88,115,137,159],{"type":40,"tag":70,"props":89,"children":90},{},[91,102],{"type":40,"tag":92,"props":93,"children":94},"td",{},[95],{"type":40,"tag":96,"props":97,"children":99},"code",{"className":98},[],[100],{"type":45,"value":101},"GET \u002Fbilling\u002Fbalance",{"type":40,"tag":92,"props":103,"children":104},{},[105,107,113],{"type":45,"value":106},"Current ",{"type":40,"tag":96,"props":108,"children":110},{"className":109},[],[111],{"type":45,"value":112},"canConsume",{"type":45,"value":114}," flag, remaining DIEM & USD, epoch allocation.",{"type":40,"tag":70,"props":116,"children":117},{},[118,127],{"type":40,"tag":92,"props":119,"children":120},{},[121],{"type":40,"tag":96,"props":122,"children":124},{"className":123},[],[125],{"type":45,"value":126},"GET \u002Fbilling\u002Fusage-history",{"type":40,"tag":92,"props":128,"children":129},{},[130,132],{"type":45,"value":131},"Per-request ledger with keyset pagination. JSON or CSV. ",{"type":40,"tag":54,"props":133,"children":134},{},[135],{"type":45,"value":136},"Use this one.",{"type":40,"tag":70,"props":138,"children":139},{},[140,149],{"type":40,"tag":92,"props":141,"children":142},{},[143],{"type":40,"tag":96,"props":144,"children":146},{"className":145},[],[147],{"type":45,"value":148},"GET \u002Fbilling\u002Fusage",{"type":40,"tag":92,"props":150,"children":151},{},[152,157],{"type":40,"tag":54,"props":153,"children":154},{},[155],{"type":45,"value":156},"Deprecated",{"type":45,"value":158}," offset-paginated ledger. See the warning below.",{"type":40,"tag":70,"props":160,"children":161},{},[162,171],{"type":40,"tag":92,"props":163,"children":164},{},[165],{"type":40,"tag":96,"props":166,"children":168},{"className":167},[],[169],{"type":45,"value":170},"GET \u002Fbilling\u002Fusage-analytics",{"type":40,"tag":92,"props":172,"children":173},{},[174],{"type":45,"value":175},"Aggregated breakdowns: by date, model, API key.",{"type":40,"tag":48,"props":177,"children":178},{},[179,181,192,194,199,201,206,208,213,215,220,222,228,230,236,238,243],{"type":45,"value":180},"All require Bearer auth (not x402 — for wallet balances, use ",{"type":40,"tag":182,"props":183,"children":185},"a",{"href":184},"..\u002Fvenice-x402\u002FSKILL.md",[186],{"type":40,"tag":96,"props":187,"children":189},{"className":188},[],[190],{"type":45,"value":191},"venice-x402",{"type":45,"value":193},"). ",{"type":40,"tag":96,"props":195,"children":197},{"className":196},[],[198],{"type":45,"value":101},{"type":45,"value":200},", ",{"type":40,"tag":96,"props":202,"children":204},{"className":203},[],[205],{"type":45,"value":126},{"type":45,"value":207},", and ",{"type":40,"tag":96,"props":209,"children":211},{"className":210},[],[212],{"type":45,"value":148},{"type":45,"value":214}," require an ",{"type":40,"tag":54,"props":216,"children":217},{},[218],{"type":45,"value":219},"ADMIN",{"type":45,"value":221}," key — an ",{"type":40,"tag":96,"props":223,"children":225},{"className":224},[],[226],{"type":45,"value":227},"INFERENCE",{"type":45,"value":229}," key gets ",{"type":40,"tag":96,"props":231,"children":233},{"className":232},[],[234],{"type":45,"value":235},"401",{"type":45,"value":237},". ",{"type":40,"tag":96,"props":239,"children":241},{"className":240},[],[242],{"type":45,"value":170},{"type":45,"value":244}," works on any authenticated key (scoped to the account behind the key).",{"type":40,"tag":246,"props":247,"children":248},"blockquote",{},[249],{"type":40,"tag":48,"props":250,"children":251},{},[252,262,264,269,271,276,278,284,286,292,294,300,302,307],{"type":40,"tag":54,"props":253,"children":254},{},[255,260],{"type":40,"tag":96,"props":256,"children":258},{"className":257},[],[259],{"type":45,"value":148},{"type":45,"value":261}," is deprecated and mostly closed.",{"type":45,"value":263}," It is rate limited to\n",{"type":40,"tag":54,"props":265,"children":266},{},[267],{"type":45,"value":268},"1 request per minute per user",{"type":45,"value":270},", and accounts created on or after\n",{"type":40,"tag":54,"props":272,"children":273},{},[274],{"type":45,"value":275},"2026-07-07",{"type":45,"value":277}," are rejected outright with ",{"type":40,"tag":96,"props":279,"children":281},{"className":280},[],[282],{"type":45,"value":283},"410 Gone",{"type":45,"value":285},". Every response carries\n",{"type":40,"tag":96,"props":287,"children":289},{"className":288},[],[290],{"type":45,"value":291},"Deprecation: @1783555200",{"type":45,"value":293}," and\n",{"type":40,"tag":96,"props":295,"children":297},{"className":296},[],[298],{"type":45,"value":299},"Link: \u003C\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history>; rel=\"successor-version\"",{"type":45,"value":301},". Write new\nintegrations against ",{"type":40,"tag":96,"props":303,"children":305},{"className":304},[],[306],{"type":45,"value":126},{"type":45,"value":308},", which returns the same data\nwith keyset pagination.",{"type":40,"tag":310,"props":311,"children":313},"h2",{"id":312},"currency-priority",[314],{"type":45,"value":315},"Currency \u002F priority",{"type":40,"tag":48,"props":317,"children":318},{},[319],{"type":45,"value":320},"Venice debits from, in order:",{"type":40,"tag":322,"props":323,"children":324},"ol",{},[325,340,354,368],{"type":40,"tag":326,"props":327,"children":328},"li",{},[329,338],{"type":40,"tag":54,"props":330,"children":331},{},[332],{"type":40,"tag":96,"props":333,"children":335},{"className":334},[],[336],{"type":45,"value":337},"DIEM",{"type":45,"value":339}," — staked credits (reset per epoch).",{"type":40,"tag":326,"props":341,"children":342},{},[343,352],{"type":40,"tag":54,"props":344,"children":345},{},[346],{"type":40,"tag":96,"props":347,"children":349},{"className":348},[],[350],{"type":45,"value":351},"BUNDLED_CREDITS",{"type":45,"value":353}," — included in some Pro plans.",{"type":40,"tag":326,"props":355,"children":356},{},[357,366],{"type":40,"tag":54,"props":358,"children":359},{},[360],{"type":40,"tag":96,"props":361,"children":363},{"className":362},[],[364],{"type":45,"value":365},"USD",{"type":45,"value":367}," — prepaid fiat balance.",{"type":40,"tag":326,"props":369,"children":370},{},[371,373,379,381,386],{"type":45,"value":372},"(",{"type":40,"tag":96,"props":374,"children":376},{"className":375},[],[377],{"type":45,"value":378},"VCU",{"type":45,"value":380},") — ",{"type":40,"tag":54,"props":382,"children":383},{},[384],{"type":45,"value":385},"deprecated",{"type":45,"value":387}," legacy DIEM.",{"type":40,"tag":48,"props":389,"children":390},{},[391,397,399,405,407,412],{"type":40,"tag":96,"props":392,"children":394},{"className":393},[],[395],{"type":45,"value":396},"consumptionCurrency",{"type":45,"value":398}," on ",{"type":40,"tag":96,"props":400,"children":402},{"className":401},[],[403],{"type":45,"value":404},"\u002Fbilling\u002Fbalance",{"type":45,"value":406}," reports the ",{"type":40,"tag":54,"props":408,"children":409},{},[410],{"type":45,"value":411},"current",{"type":45,"value":413}," currency being consumed.",{"type":40,"tag":310,"props":415,"children":417},{"id":416},"get-billingbalance",[418],{"type":40,"tag":96,"props":419,"children":421},{"className":420},[],[422],{"type":45,"value":101},{"type":40,"tag":424,"props":425,"children":430},"pre",{"className":426,"code":427,"language":428,"meta":429,"style":429},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fbalance \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n","bash","",[431],{"type":40,"tag":96,"props":432,"children":433},{"__ignoreMap":429},[434,458],{"type":40,"tag":435,"props":436,"children":439},"span",{"class":437,"line":438},"line",1,[440,446,452],{"type":40,"tag":435,"props":441,"children":443},{"style":442},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[444],{"type":45,"value":445},"curl",{"type":40,"tag":435,"props":447,"children":449},{"style":448},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[450],{"type":45,"value":451}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fbalance",{"type":40,"tag":435,"props":453,"children":455},{"style":454},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[456],{"type":45,"value":457}," \\\n",{"type":40,"tag":435,"props":459,"children":461},{"class":437,"line":460},2,[462,467,473,478,483],{"type":40,"tag":435,"props":463,"children":464},{"style":448},[465],{"type":45,"value":466},"  -H",{"type":40,"tag":435,"props":468,"children":470},{"style":469},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[471],{"type":45,"value":472}," \"",{"type":40,"tag":435,"props":474,"children":475},{"style":448},[476],{"type":45,"value":477},"Authorization: Bearer ",{"type":40,"tag":435,"props":479,"children":480},{"style":454},[481],{"type":45,"value":482},"$VENICE_API_KEY",{"type":40,"tag":435,"props":484,"children":485},{"style":469},[486],{"type":45,"value":487},"\"\n",{"type":40,"tag":424,"props":489,"children":493},{"className":490,"code":491,"language":492,"meta":429,"style":429},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"canConsume\": true,\n  \"consumptionCurrency\": \"DIEM\",\n  \"balances\": { \"diem\": 90.5, \"usd\": 25 },\n  \"diemEpochAllocation\": 100\n}\n","json",[494],{"type":40,"tag":96,"props":495,"children":496},{"__ignoreMap":429},[497,505,533,570,651,677],{"type":40,"tag":435,"props":498,"children":499},{"class":437,"line":438},[500],{"type":40,"tag":435,"props":501,"children":502},{"style":469},[503],{"type":45,"value":504},"{\n",{"type":40,"tag":435,"props":506,"children":507},{"class":437,"line":460},[508,513,518,523,528],{"type":40,"tag":435,"props":509,"children":510},{"style":469},[511],{"type":45,"value":512},"  \"",{"type":40,"tag":435,"props":514,"children":516},{"style":515},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[517],{"type":45,"value":112},{"type":40,"tag":435,"props":519,"children":520},{"style":469},[521],{"type":45,"value":522},"\"",{"type":40,"tag":435,"props":524,"children":525},{"style":469},[526],{"type":45,"value":527},":",{"type":40,"tag":435,"props":529,"children":530},{"style":469},[531],{"type":45,"value":532}," true,\n",{"type":40,"tag":435,"props":534,"children":536},{"class":437,"line":535},3,[537,541,545,549,553,557,561,565],{"type":40,"tag":435,"props":538,"children":539},{"style":469},[540],{"type":45,"value":512},{"type":40,"tag":435,"props":542,"children":543},{"style":515},[544],{"type":45,"value":396},{"type":40,"tag":435,"props":546,"children":547},{"style":469},[548],{"type":45,"value":522},{"type":40,"tag":435,"props":550,"children":551},{"style":469},[552],{"type":45,"value":527},{"type":40,"tag":435,"props":554,"children":555},{"style":469},[556],{"type":45,"value":472},{"type":40,"tag":435,"props":558,"children":559},{"style":448},[560],{"type":45,"value":337},{"type":40,"tag":435,"props":562,"children":563},{"style":469},[564],{"type":45,"value":522},{"type":40,"tag":435,"props":566,"children":567},{"style":469},[568],{"type":45,"value":569},",\n",{"type":40,"tag":435,"props":571,"children":573},{"class":437,"line":572},4,[574,578,583,587,591,596,600,605,609,613,619,624,628,633,637,641,646],{"type":40,"tag":435,"props":575,"children":576},{"style":469},[577],{"type":45,"value":512},{"type":40,"tag":435,"props":579,"children":580},{"style":515},[581],{"type":45,"value":582},"balances",{"type":40,"tag":435,"props":584,"children":585},{"style":469},[586],{"type":45,"value":522},{"type":40,"tag":435,"props":588,"children":589},{"style":469},[590],{"type":45,"value":527},{"type":40,"tag":435,"props":592,"children":593},{"style":469},[594],{"type":45,"value":595}," {",{"type":40,"tag":435,"props":597,"children":598},{"style":469},[599],{"type":45,"value":472},{"type":40,"tag":435,"props":601,"children":602},{"style":442},[603],{"type":45,"value":604},"diem",{"type":40,"tag":435,"props":606,"children":607},{"style":469},[608],{"type":45,"value":522},{"type":40,"tag":435,"props":610,"children":611},{"style":469},[612],{"type":45,"value":527},{"type":40,"tag":435,"props":614,"children":616},{"style":615},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[617],{"type":45,"value":618}," 90.5",{"type":40,"tag":435,"props":620,"children":621},{"style":469},[622],{"type":45,"value":623},",",{"type":40,"tag":435,"props":625,"children":626},{"style":469},[627],{"type":45,"value":472},{"type":40,"tag":435,"props":629,"children":630},{"style":442},[631],{"type":45,"value":632},"usd",{"type":40,"tag":435,"props":634,"children":635},{"style":469},[636],{"type":45,"value":522},{"type":40,"tag":435,"props":638,"children":639},{"style":469},[640],{"type":45,"value":527},{"type":40,"tag":435,"props":642,"children":643},{"style":615},[644],{"type":45,"value":645}," 25",{"type":40,"tag":435,"props":647,"children":648},{"style":469},[649],{"type":45,"value":650}," },\n",{"type":40,"tag":435,"props":652,"children":654},{"class":437,"line":653},5,[655,659,664,668,672],{"type":40,"tag":435,"props":656,"children":657},{"style":469},[658],{"type":45,"value":512},{"type":40,"tag":435,"props":660,"children":661},{"style":515},[662],{"type":45,"value":663},"diemEpochAllocation",{"type":40,"tag":435,"props":665,"children":666},{"style":469},[667],{"type":45,"value":522},{"type":40,"tag":435,"props":669,"children":670},{"style":469},[671],{"type":45,"value":527},{"type":40,"tag":435,"props":673,"children":674},{"style":615},[675],{"type":45,"value":676}," 100\n",{"type":40,"tag":435,"props":678,"children":680},{"class":437,"line":679},6,[681],{"type":40,"tag":435,"props":682,"children":683},{"style":469},[684],{"type":45,"value":685},"}\n",{"type":40,"tag":687,"props":688,"children":689},"ul",{},[690,731,764,781],{"type":40,"tag":326,"props":691,"children":692},{},[693,699,701,706,708,714,716,721,723,729],{"type":40,"tag":96,"props":694,"children":696},{"className":695},[],[697],{"type":45,"value":698},"canConsume: false",{"type":45,"value":700}," means both DIEM and USD buckets are empty on this endpoint — ",{"type":40,"tag":96,"props":702,"children":704},{"className":703},[],[705],{"type":45,"value":112},{"type":45,"value":707}," here is ",{"type":40,"tag":96,"props":709,"children":711},{"className":710},[],[712],{"type":45,"value":713},"hasPositiveDiemBalance || usdBalance > 0",{"type":45,"value":715}," and does ",{"type":40,"tag":54,"props":717,"children":718},{},[719],{"type":45,"value":720},"not",{"type":45,"value":722}," factor in bundled credits (which are consulted during the actual request in ",{"type":40,"tag":96,"props":724,"children":726},{"className":725},[],[727],{"type":45,"value":728},"getConsumableBalanceForRequest",{"type":45,"value":730},").",{"type":40,"tag":326,"props":732,"children":733},{},[734,739,741,747,748,754,756,762],{"type":40,"tag":96,"props":735,"children":737},{"className":736},[],[738],{"type":45,"value":396},{"type":45,"value":740}," is ",{"type":40,"tag":96,"props":742,"children":744},{"className":743},[],[745],{"type":45,"value":746},"\"DIEM\"",{"type":45,"value":200},{"type":40,"tag":96,"props":749,"children":751},{"className":750},[],[752],{"type":45,"value":753},"\"USD\"",{"type":45,"value":755},", or ",{"type":40,"tag":96,"props":757,"children":759},{"className":758},[],[760],{"type":45,"value":761},"null",{"type":45,"value":763}," (when neither applies).",{"type":40,"tag":326,"props":765,"children":766},{},[767,773,774,779],{"type":40,"tag":96,"props":768,"children":770},{"className":769},[],[771],{"type":45,"value":772},"balances.diem",{"type":45,"value":740},{"type":40,"tag":96,"props":775,"children":777},{"className":776},[],[778],{"type":45,"value":761},{"type":45,"value":780}," if not staking.",{"type":40,"tag":326,"props":782,"children":783},{},[784,789,791,797],{"type":40,"tag":96,"props":785,"children":787},{"className":786},[],[788],{"type":45,"value":663},{"type":45,"value":790}," is the ceiling for the current epoch — ",{"type":40,"tag":96,"props":792,"children":794},{"className":793},[],[795],{"type":45,"value":796},"balances.diem \u002F diemEpochAllocation",{"type":45,"value":798}," = remaining fraction.",{"type":40,"tag":310,"props":800,"children":802},{"id":801},"get-billingusage-history",[803],{"type":40,"tag":96,"props":804,"children":806},{"className":805},[],[807],{"type":45,"value":126},{"type":40,"tag":48,"props":809,"children":810},{},[811],{"type":45,"value":812},"Per-request ledger with keyset (cursor) pagination. This is the supported way to\nwalk billing history.",{"type":40,"tag":424,"props":814,"children":816},{"className":426,"code":815,"language":428,"meta":429,"style":429},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-06-01T00:00:00Z&endTimestamp=2026-07-01T00:00:00Z&pageSize=1000&currency=USD\" \\\n  -H \"Authorization: Bearer $VENICE_ADMIN_KEY\" \\\n  -H \"Accept: application\u002Fjson\"\n",[817],{"type":40,"tag":96,"props":818,"children":819},{"__ignoreMap":429},[820,844,872],{"type":40,"tag":435,"props":821,"children":822},{"class":437,"line":438},[823,827,831,836,840],{"type":40,"tag":435,"props":824,"children":825},{"style":442},[826],{"type":45,"value":445},{"type":40,"tag":435,"props":828,"children":829},{"style":469},[830],{"type":45,"value":472},{"type":40,"tag":435,"props":832,"children":833},{"style":448},[834],{"type":45,"value":835},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-06-01T00:00:00Z&endTimestamp=2026-07-01T00:00:00Z&pageSize=1000&currency=USD",{"type":40,"tag":435,"props":837,"children":838},{"style":469},[839],{"type":45,"value":522},{"type":40,"tag":435,"props":841,"children":842},{"style":454},[843],{"type":45,"value":457},{"type":40,"tag":435,"props":845,"children":846},{"class":437,"line":460},[847,851,855,859,864,868],{"type":40,"tag":435,"props":848,"children":849},{"style":448},[850],{"type":45,"value":466},{"type":40,"tag":435,"props":852,"children":853},{"style":469},[854],{"type":45,"value":472},{"type":40,"tag":435,"props":856,"children":857},{"style":448},[858],{"type":45,"value":477},{"type":40,"tag":435,"props":860,"children":861},{"style":454},[862],{"type":45,"value":863},"$VENICE_ADMIN_KEY",{"type":40,"tag":435,"props":865,"children":866},{"style":469},[867],{"type":45,"value":522},{"type":40,"tag":435,"props":869,"children":870},{"style":454},[871],{"type":45,"value":457},{"type":40,"tag":435,"props":873,"children":874},{"class":437,"line":535},[875,879,883,888],{"type":40,"tag":435,"props":876,"children":877},{"style":448},[878],{"type":45,"value":466},{"type":40,"tag":435,"props":880,"children":881},{"style":469},[882],{"type":45,"value":472},{"type":40,"tag":435,"props":884,"children":885},{"style":448},[886],{"type":45,"value":887},"Accept: application\u002Fjson",{"type":40,"tag":435,"props":889,"children":890},{"style":469},[891],{"type":45,"value":487},{"type":40,"tag":893,"props":894,"children":896},"h3",{"id":895},"query-parameters",[897],{"type":45,"value":898},"Query parameters",{"type":40,"tag":48,"props":900,"children":901},{},[902,904,909,911,916,918,924,926,932],{"type":45,"value":903},"A request is ",{"type":40,"tag":54,"props":905,"children":906},{},[907],{"type":45,"value":908},"either",{"type":45,"value":910}," a filtered first page ",{"type":40,"tag":54,"props":912,"children":913},{},[914],{"type":45,"value":915},"or",{"type":45,"value":917}," a bare continuation. Sending\n",{"type":40,"tag":96,"props":919,"children":921},{"className":920},[],[922],{"type":45,"value":923},"cursor",{"type":45,"value":925}," alongside any filter is a ",{"type":40,"tag":96,"props":927,"children":929},{"className":928},[],[930],{"type":45,"value":931},"400",{"type":45,"value":933},", and so is any unknown parameter — the\nvalidator is strict rather than lenient.",{"type":40,"tag":62,"props":935,"children":936},{},[937,953],{"type":40,"tag":66,"props":938,"children":939},{},[940],{"type":40,"tag":70,"props":941,"children":942},{},[943,948],{"type":40,"tag":74,"props":944,"children":945},{},[946],{"type":45,"value":947},"Param",{"type":40,"tag":74,"props":949,"children":950},{},[951],{"type":45,"value":952},"Notes",{"type":40,"tag":85,"props":954,"children":955},{},[956,981,1005,1040,1063],{"type":40,"tag":70,"props":957,"children":958},{},[959,968],{"type":40,"tag":92,"props":960,"children":961},{},[962],{"type":40,"tag":96,"props":963,"children":965},{"className":964},[],[966],{"type":45,"value":967},"startTimestamp",{"type":40,"tag":92,"props":969,"children":970},{},[971,973,979],{"type":45,"value":972},"Inclusive lower bound, ISO 8601 UTC with a ",{"type":40,"tag":96,"props":974,"children":976},{"className":975},[],[977],{"type":45,"value":978},"Z",{"type":45,"value":980}," suffix. First page only.",{"type":40,"tag":70,"props":982,"children":983},{},[984,993],{"type":40,"tag":92,"props":985,"children":986},{},[987],{"type":40,"tag":96,"props":988,"children":990},{"className":989},[],[991],{"type":45,"value":992},"endTimestamp",{"type":40,"tag":92,"props":994,"children":995},{},[996,998,1003],{"type":45,"value":997},"Exclusive upper bound, ISO 8601 UTC. Must be later than ",{"type":40,"tag":96,"props":999,"children":1001},{"className":1000},[],[1002],{"type":45,"value":967},{"type":45,"value":1004},". Consecutive windows that share a boundary walk the history with no gaps and no overlaps.",{"type":40,"tag":70,"props":1006,"children":1007},{},[1008,1017],{"type":40,"tag":92,"props":1009,"children":1010},{},[1011],{"type":40,"tag":96,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":45,"value":1016},"currency",{"type":40,"tag":92,"props":1018,"children":1019},{},[1020,1025,1027,1032,1033,1038],{"type":40,"tag":96,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":45,"value":365},{"type":45,"value":1026}," \u002F ",{"type":40,"tag":96,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":45,"value":337},{"type":45,"value":1026},{"type":40,"tag":96,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":45,"value":351},{"type":45,"value":1039},".",{"type":40,"tag":70,"props":1041,"children":1042},{},[1043,1052],{"type":40,"tag":92,"props":1044,"children":1045},{},[1046],{"type":40,"tag":96,"props":1047,"children":1049},{"className":1048},[],[1050],{"type":45,"value":1051},"pageSize",{"type":40,"tag":92,"props":1053,"children":1054},{},[1055,1057,1062],{"type":45,"value":1056},"10–1000. Default ",{"type":40,"tag":54,"props":1058,"children":1059},{},[1060],{"type":45,"value":1061},"1000",{"type":45,"value":1039},{"type":40,"tag":70,"props":1064,"children":1065},{},[1066,1074],{"type":40,"tag":92,"props":1067,"children":1068},{},[1069],{"type":40,"tag":96,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":45,"value":923},{"type":40,"tag":92,"props":1075,"children":1076},{},[1077,1079,1085,1087,1092],{"type":45,"value":1078},"Opaque continuation token from a previous ",{"type":40,"tag":96,"props":1080,"children":1082},{"className":1081},[],[1083],{"type":45,"value":1084},"nextCursor",{"type":45,"value":1086},". Carries the filters of the walk it continues, so send it ",{"type":40,"tag":54,"props":1088,"children":1089},{},[1090],{"type":45,"value":1091},"alone",{"type":45,"value":1039},{"type":40,"tag":893,"props":1094,"children":1096},{"id":1095},"response-json",[1097],{"type":45,"value":1098},"Response (JSON)",{"type":40,"tag":424,"props":1100,"children":1102},{"className":490,"code":1101,"language":492,"meta":429,"style":429},"{\n  \"data\": [\n    {\n      \"timestamp\": \"2026-06-15T19:05:10.504Z\",\n      \"sku\": \"zai-org-glm-5-1-llm-output-mtoken\",\n      \"units\": 0.000227,\n      \"pricePerUnitUsd\": 2.8,\n      \"amount\": -0.06356,\n      \"currency\": \"DIEM\",\n      \"notes\": \"API Inference\",\n      \"inferenceDetails\": {\n        \"requestId\": \"chatcmpl-4007fd29f42b7d3c4107f4345e8d174a\",\n        \"promptTokens\": 339,\n        \"completionTokens\": 227,\n        \"inferenceExecutionTime\": 2964\n      }\n    }\n  ],\n  \"nextCursor\": \"AZq3fK9tXhIVDm2j4vN8cQwYt1sB6uEoLxRgPzKaJdHfM5nC7yW0K3w\"\n}\n",[1103],{"type":40,"tag":96,"props":1104,"children":1105},{"__ignoreMap":429},[1106,1113,1138,1146,1184,1221,1250,1280,1310,1346,1384,1410,1449,1479,1509,1534,1543,1552,1561,1594],{"type":40,"tag":435,"props":1107,"children":1108},{"class":437,"line":438},[1109],{"type":40,"tag":435,"props":1110,"children":1111},{"style":469},[1112],{"type":45,"value":504},{"type":40,"tag":435,"props":1114,"children":1115},{"class":437,"line":460},[1116,1120,1125,1129,1133],{"type":40,"tag":435,"props":1117,"children":1118},{"style":469},[1119],{"type":45,"value":512},{"type":40,"tag":435,"props":1121,"children":1122},{"style":515},[1123],{"type":45,"value":1124},"data",{"type":40,"tag":435,"props":1126,"children":1127},{"style":469},[1128],{"type":45,"value":522},{"type":40,"tag":435,"props":1130,"children":1131},{"style":469},[1132],{"type":45,"value":527},{"type":40,"tag":435,"props":1134,"children":1135},{"style":469},[1136],{"type":45,"value":1137}," [\n",{"type":40,"tag":435,"props":1139,"children":1140},{"class":437,"line":535},[1141],{"type":40,"tag":435,"props":1142,"children":1143},{"style":469},[1144],{"type":45,"value":1145},"    {\n",{"type":40,"tag":435,"props":1147,"children":1148},{"class":437,"line":572},[1149,1154,1159,1163,1167,1171,1176,1180],{"type":40,"tag":435,"props":1150,"children":1151},{"style":469},[1152],{"type":45,"value":1153},"      \"",{"type":40,"tag":435,"props":1155,"children":1156},{"style":442},[1157],{"type":45,"value":1158},"timestamp",{"type":40,"tag":435,"props":1160,"children":1161},{"style":469},[1162],{"type":45,"value":522},{"type":40,"tag":435,"props":1164,"children":1165},{"style":469},[1166],{"type":45,"value":527},{"type":40,"tag":435,"props":1168,"children":1169},{"style":469},[1170],{"type":45,"value":472},{"type":40,"tag":435,"props":1172,"children":1173},{"style":448},[1174],{"type":45,"value":1175},"2026-06-15T19:05:10.504Z",{"type":40,"tag":435,"props":1177,"children":1178},{"style":469},[1179],{"type":45,"value":522},{"type":40,"tag":435,"props":1181,"children":1182},{"style":469},[1183],{"type":45,"value":569},{"type":40,"tag":435,"props":1185,"children":1186},{"class":437,"line":653},[1187,1191,1196,1200,1204,1208,1213,1217],{"type":40,"tag":435,"props":1188,"children":1189},{"style":469},[1190],{"type":45,"value":1153},{"type":40,"tag":435,"props":1192,"children":1193},{"style":442},[1194],{"type":45,"value":1195},"sku",{"type":40,"tag":435,"props":1197,"children":1198},{"style":469},[1199],{"type":45,"value":522},{"type":40,"tag":435,"props":1201,"children":1202},{"style":469},[1203],{"type":45,"value":527},{"type":40,"tag":435,"props":1205,"children":1206},{"style":469},[1207],{"type":45,"value":472},{"type":40,"tag":435,"props":1209,"children":1210},{"style":448},[1211],{"type":45,"value":1212},"zai-org-glm-5-1-llm-output-mtoken",{"type":40,"tag":435,"props":1214,"children":1215},{"style":469},[1216],{"type":45,"value":522},{"type":40,"tag":435,"props":1218,"children":1219},{"style":469},[1220],{"type":45,"value":569},{"type":40,"tag":435,"props":1222,"children":1223},{"class":437,"line":679},[1224,1228,1233,1237,1241,1246],{"type":40,"tag":435,"props":1225,"children":1226},{"style":469},[1227],{"type":45,"value":1153},{"type":40,"tag":435,"props":1229,"children":1230},{"style":442},[1231],{"type":45,"value":1232},"units",{"type":40,"tag":435,"props":1234,"children":1235},{"style":469},[1236],{"type":45,"value":522},{"type":40,"tag":435,"props":1238,"children":1239},{"style":469},[1240],{"type":45,"value":527},{"type":40,"tag":435,"props":1242,"children":1243},{"style":615},[1244],{"type":45,"value":1245}," 0.000227",{"type":40,"tag":435,"props":1247,"children":1248},{"style":469},[1249],{"type":45,"value":569},{"type":40,"tag":435,"props":1251,"children":1253},{"class":437,"line":1252},7,[1254,1258,1263,1267,1271,1276],{"type":40,"tag":435,"props":1255,"children":1256},{"style":469},[1257],{"type":45,"value":1153},{"type":40,"tag":435,"props":1259,"children":1260},{"style":442},[1261],{"type":45,"value":1262},"pricePerUnitUsd",{"type":40,"tag":435,"props":1264,"children":1265},{"style":469},[1266],{"type":45,"value":522},{"type":40,"tag":435,"props":1268,"children":1269},{"style":469},[1270],{"type":45,"value":527},{"type":40,"tag":435,"props":1272,"children":1273},{"style":615},[1274],{"type":45,"value":1275}," 2.8",{"type":40,"tag":435,"props":1277,"children":1278},{"style":469},[1279],{"type":45,"value":569},{"type":40,"tag":435,"props":1281,"children":1283},{"class":437,"line":1282},8,[1284,1288,1293,1297,1301,1306],{"type":40,"tag":435,"props":1285,"children":1286},{"style":469},[1287],{"type":45,"value":1153},{"type":40,"tag":435,"props":1289,"children":1290},{"style":442},[1291],{"type":45,"value":1292},"amount",{"type":40,"tag":435,"props":1294,"children":1295},{"style":469},[1296],{"type":45,"value":522},{"type":40,"tag":435,"props":1298,"children":1299},{"style":469},[1300],{"type":45,"value":527},{"type":40,"tag":435,"props":1302,"children":1303},{"style":615},[1304],{"type":45,"value":1305}," -0.06356",{"type":40,"tag":435,"props":1307,"children":1308},{"style":469},[1309],{"type":45,"value":569},{"type":40,"tag":435,"props":1311,"children":1313},{"class":437,"line":1312},9,[1314,1318,1322,1326,1330,1334,1338,1342],{"type":40,"tag":435,"props":1315,"children":1316},{"style":469},[1317],{"type":45,"value":1153},{"type":40,"tag":435,"props":1319,"children":1320},{"style":442},[1321],{"type":45,"value":1016},{"type":40,"tag":435,"props":1323,"children":1324},{"style":469},[1325],{"type":45,"value":522},{"type":40,"tag":435,"props":1327,"children":1328},{"style":469},[1329],{"type":45,"value":527},{"type":40,"tag":435,"props":1331,"children":1332},{"style":469},[1333],{"type":45,"value":472},{"type":40,"tag":435,"props":1335,"children":1336},{"style":448},[1337],{"type":45,"value":337},{"type":40,"tag":435,"props":1339,"children":1340},{"style":469},[1341],{"type":45,"value":522},{"type":40,"tag":435,"props":1343,"children":1344},{"style":469},[1345],{"type":45,"value":569},{"type":40,"tag":435,"props":1347,"children":1349},{"class":437,"line":1348},10,[1350,1354,1359,1363,1367,1371,1376,1380],{"type":40,"tag":435,"props":1351,"children":1352},{"style":469},[1353],{"type":45,"value":1153},{"type":40,"tag":435,"props":1355,"children":1356},{"style":442},[1357],{"type":45,"value":1358},"notes",{"type":40,"tag":435,"props":1360,"children":1361},{"style":469},[1362],{"type":45,"value":522},{"type":40,"tag":435,"props":1364,"children":1365},{"style":469},[1366],{"type":45,"value":527},{"type":40,"tag":435,"props":1368,"children":1369},{"style":469},[1370],{"type":45,"value":472},{"type":40,"tag":435,"props":1372,"children":1373},{"style":448},[1374],{"type":45,"value":1375},"API Inference",{"type":40,"tag":435,"props":1377,"children":1378},{"style":469},[1379],{"type":45,"value":522},{"type":40,"tag":435,"props":1381,"children":1382},{"style":469},[1383],{"type":45,"value":569},{"type":40,"tag":435,"props":1385,"children":1387},{"class":437,"line":1386},11,[1388,1392,1397,1401,1405],{"type":40,"tag":435,"props":1389,"children":1390},{"style":469},[1391],{"type":45,"value":1153},{"type":40,"tag":435,"props":1393,"children":1394},{"style":442},[1395],{"type":45,"value":1396},"inferenceDetails",{"type":40,"tag":435,"props":1398,"children":1399},{"style":469},[1400],{"type":45,"value":522},{"type":40,"tag":435,"props":1402,"children":1403},{"style":469},[1404],{"type":45,"value":527},{"type":40,"tag":435,"props":1406,"children":1407},{"style":469},[1408],{"type":45,"value":1409}," {\n",{"type":40,"tag":435,"props":1411,"children":1413},{"class":437,"line":1412},12,[1414,1419,1424,1428,1432,1436,1441,1445],{"type":40,"tag":435,"props":1415,"children":1416},{"style":469},[1417],{"type":45,"value":1418},"        \"",{"type":40,"tag":435,"props":1420,"children":1421},{"style":615},[1422],{"type":45,"value":1423},"requestId",{"type":40,"tag":435,"props":1425,"children":1426},{"style":469},[1427],{"type":45,"value":522},{"type":40,"tag":435,"props":1429,"children":1430},{"style":469},[1431],{"type":45,"value":527},{"type":40,"tag":435,"props":1433,"children":1434},{"style":469},[1435],{"type":45,"value":472},{"type":40,"tag":435,"props":1437,"children":1438},{"style":448},[1439],{"type":45,"value":1440},"chatcmpl-4007fd29f42b7d3c4107f4345e8d174a",{"type":40,"tag":435,"props":1442,"children":1443},{"style":469},[1444],{"type":45,"value":522},{"type":40,"tag":435,"props":1446,"children":1447},{"style":469},[1448],{"type":45,"value":569},{"type":40,"tag":435,"props":1450,"children":1452},{"class":437,"line":1451},13,[1453,1457,1462,1466,1470,1475],{"type":40,"tag":435,"props":1454,"children":1455},{"style":469},[1456],{"type":45,"value":1418},{"type":40,"tag":435,"props":1458,"children":1459},{"style":615},[1460],{"type":45,"value":1461},"promptTokens",{"type":40,"tag":435,"props":1463,"children":1464},{"style":469},[1465],{"type":45,"value":522},{"type":40,"tag":435,"props":1467,"children":1468},{"style":469},[1469],{"type":45,"value":527},{"type":40,"tag":435,"props":1471,"children":1472},{"style":615},[1473],{"type":45,"value":1474}," 339",{"type":40,"tag":435,"props":1476,"children":1477},{"style":469},[1478],{"type":45,"value":569},{"type":40,"tag":435,"props":1480,"children":1482},{"class":437,"line":1481},14,[1483,1487,1492,1496,1500,1505],{"type":40,"tag":435,"props":1484,"children":1485},{"style":469},[1486],{"type":45,"value":1418},{"type":40,"tag":435,"props":1488,"children":1489},{"style":615},[1490],{"type":45,"value":1491},"completionTokens",{"type":40,"tag":435,"props":1493,"children":1494},{"style":469},[1495],{"type":45,"value":522},{"type":40,"tag":435,"props":1497,"children":1498},{"style":469},[1499],{"type":45,"value":527},{"type":40,"tag":435,"props":1501,"children":1502},{"style":615},[1503],{"type":45,"value":1504}," 227",{"type":40,"tag":435,"props":1506,"children":1507},{"style":469},[1508],{"type":45,"value":569},{"type":40,"tag":435,"props":1510,"children":1511},{"class":437,"line":27},[1512,1516,1521,1525,1529],{"type":40,"tag":435,"props":1513,"children":1514},{"style":469},[1515],{"type":45,"value":1418},{"type":40,"tag":435,"props":1517,"children":1518},{"style":615},[1519],{"type":45,"value":1520},"inferenceExecutionTime",{"type":40,"tag":435,"props":1522,"children":1523},{"style":469},[1524],{"type":45,"value":522},{"type":40,"tag":435,"props":1526,"children":1527},{"style":469},[1528],{"type":45,"value":527},{"type":40,"tag":435,"props":1530,"children":1531},{"style":615},[1532],{"type":45,"value":1533}," 2964\n",{"type":40,"tag":435,"props":1535,"children":1537},{"class":437,"line":1536},16,[1538],{"type":40,"tag":435,"props":1539,"children":1540},{"style":469},[1541],{"type":45,"value":1542},"      }\n",{"type":40,"tag":435,"props":1544,"children":1546},{"class":437,"line":1545},17,[1547],{"type":40,"tag":435,"props":1548,"children":1549},{"style":469},[1550],{"type":45,"value":1551},"    }\n",{"type":40,"tag":435,"props":1553,"children":1555},{"class":437,"line":1554},18,[1556],{"type":40,"tag":435,"props":1557,"children":1558},{"style":469},[1559],{"type":45,"value":1560},"  ],\n",{"type":40,"tag":435,"props":1562,"children":1564},{"class":437,"line":1563},19,[1565,1569,1573,1577,1581,1585,1590],{"type":40,"tag":435,"props":1566,"children":1567},{"style":469},[1568],{"type":45,"value":512},{"type":40,"tag":435,"props":1570,"children":1571},{"style":515},[1572],{"type":45,"value":1084},{"type":40,"tag":435,"props":1574,"children":1575},{"style":469},[1576],{"type":45,"value":522},{"type":40,"tag":435,"props":1578,"children":1579},{"style":469},[1580],{"type":45,"value":527},{"type":40,"tag":435,"props":1582,"children":1583},{"style":469},[1584],{"type":45,"value":472},{"type":40,"tag":435,"props":1586,"children":1587},{"style":448},[1588],{"type":45,"value":1589},"AZq3fK9tXhIVDm2j4vN8cQwYt1sB6uEoLxRgPzKaJdHfM5nC7yW0K3w",{"type":40,"tag":435,"props":1591,"children":1592},{"style":469},[1593],{"type":45,"value":487},{"type":40,"tag":435,"props":1595,"children":1597},{"class":437,"line":1596},20,[1598],{"type":40,"tag":435,"props":1599,"children":1600},{"style":469},[1601],{"type":45,"value":685},{"type":40,"tag":48,"props":1603,"children":1604},{},[1605,1607,1612,1614,1619,1620,1625,1627,1633,1635,1641,1643,1648,1650,1656],{"type":45,"value":1606},"Entries come back in ",{"type":40,"tag":54,"props":1608,"children":1609},{},[1610],{"type":45,"value":1611},"ascending",{"type":45,"value":1613}," timestamp order. ",{"type":40,"tag":96,"props":1615,"children":1617},{"className":1616},[],[1618],{"type":45,"value":1084},{"type":45,"value":740},{"type":40,"tag":96,"props":1621,"children":1623},{"className":1622},[],[1624],{"type":45,"value":761},{"type":45,"value":1626}," on the\nlast page. Set ",{"type":40,"tag":96,"props":1628,"children":1630},{"className":1629},[],[1631],{"type":45,"value":1632},"Accept: text\u002Fcsv",{"type":45,"value":1634}," for CSV, in which case ",{"type":40,"tag":96,"props":1636,"children":1638},{"className":1637},[],[1639],{"type":45,"value":1640},"Content-Disposition",{"type":45,"value":1642},"\nstamps the export time into the filename (each page of a walk downloads under a\nunique, sort-ordered name) and ",{"type":40,"tag":96,"props":1644,"children":1646},{"className":1645},[],[1647],{"type":45,"value":1084},{"type":45,"value":1649}," moves to the ",{"type":40,"tag":96,"props":1651,"children":1653},{"className":1652},[],[1654],{"type":45,"value":1655},"x-next-cursor",{"type":45,"value":1657},"\nresponse header.",{"type":40,"tag":48,"props":1659,"children":1660},{},[1661,1663,1669,1671,1676],{"type":45,"value":1662},"Entry fields match ",{"type":40,"tag":96,"props":1664,"children":1666},{"className":1665},[],[1667],{"type":45,"value":1668},"\u002Fbilling\u002Fusage",{"type":45,"value":1670}," (see below), with ",{"type":40,"tag":96,"props":1672,"children":1674},{"className":1673},[],[1675],{"type":45,"value":1396},{"type":45,"value":1677},"\nsub-fields nullable when a count or timing was not recorded.",{"type":40,"tag":893,"props":1679,"children":1681},{"id":1680},"walking-the-full-history",[1682],{"type":45,"value":1683},"Walking the full history",{"type":40,"tag":424,"props":1685,"children":1689},{"className":1686,"code":1687,"language":1688,"meta":429,"style":429},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","let url = `${base}\u002Fbilling\u002Fusage-history?startTimestamp=${start}&endTimestamp=${end}`\nfor (;;) {\n  const page = await fetch(url, { headers }).then(r => r.json())\n  handle(page.data)\n  if (page.nextCursor === null) break\n  url = `${base}\u002Fbilling\u002Fusage-history?cursor=${encodeURIComponent(page.nextCursor)}`\n}\n","ts",[1690],{"type":40,"tag":96,"props":1691,"children":1692},{"__ignoreMap":429},[1693,1764,1792,1896,1926,1969,2025],{"type":40,"tag":435,"props":1694,"children":1695},{"class":437,"line":438},[1696,1701,1706,1711,1716,1721,1726,1731,1736,1741,1745,1750,1754,1759],{"type":40,"tag":435,"props":1697,"children":1698},{"style":515},[1699],{"type":45,"value":1700},"let",{"type":40,"tag":435,"props":1702,"children":1703},{"style":454},[1704],{"type":45,"value":1705}," url ",{"type":40,"tag":435,"props":1707,"children":1708},{"style":469},[1709],{"type":45,"value":1710},"=",{"type":40,"tag":435,"props":1712,"children":1713},{"style":469},[1714],{"type":45,"value":1715}," `${",{"type":40,"tag":435,"props":1717,"children":1718},{"style":454},[1719],{"type":45,"value":1720},"base",{"type":40,"tag":435,"props":1722,"children":1723},{"style":469},[1724],{"type":45,"value":1725},"}",{"type":40,"tag":435,"props":1727,"children":1728},{"style":448},[1729],{"type":45,"value":1730},"\u002Fbilling\u002Fusage-history?startTimestamp=",{"type":40,"tag":435,"props":1732,"children":1733},{"style":469},[1734],{"type":45,"value":1735},"${",{"type":40,"tag":435,"props":1737,"children":1738},{"style":454},[1739],{"type":45,"value":1740},"start",{"type":40,"tag":435,"props":1742,"children":1743},{"style":469},[1744],{"type":45,"value":1725},{"type":40,"tag":435,"props":1746,"children":1747},{"style":448},[1748],{"type":45,"value":1749},"&endTimestamp=",{"type":40,"tag":435,"props":1751,"children":1752},{"style":469},[1753],{"type":45,"value":1735},{"type":40,"tag":435,"props":1755,"children":1756},{"style":454},[1757],{"type":45,"value":1758},"end",{"type":40,"tag":435,"props":1760,"children":1761},{"style":469},[1762],{"type":45,"value":1763},"}`\n",{"type":40,"tag":435,"props":1765,"children":1766},{"class":437,"line":460},[1767,1773,1778,1783,1788],{"type":40,"tag":435,"props":1768,"children":1770},{"style":1769},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1771],{"type":45,"value":1772},"for",{"type":40,"tag":435,"props":1774,"children":1775},{"style":454},[1776],{"type":45,"value":1777}," (",{"type":40,"tag":435,"props":1779,"children":1780},{"style":469},[1781],{"type":45,"value":1782},";;",{"type":40,"tag":435,"props":1784,"children":1785},{"style":454},[1786],{"type":45,"value":1787},") ",{"type":40,"tag":435,"props":1789,"children":1790},{"style":469},[1791],{"type":45,"value":504},{"type":40,"tag":435,"props":1793,"children":1794},{"class":437,"line":535},[1795,1800,1805,1810,1815,1821,1826,1831,1835,1839,1844,1849,1854,1858,1863,1867,1873,1878,1883,1887,1891],{"type":40,"tag":435,"props":1796,"children":1797},{"style":515},[1798],{"type":45,"value":1799},"  const",{"type":40,"tag":435,"props":1801,"children":1802},{"style":454},[1803],{"type":45,"value":1804}," page",{"type":40,"tag":435,"props":1806,"children":1807},{"style":469},[1808],{"type":45,"value":1809}," =",{"type":40,"tag":435,"props":1811,"children":1812},{"style":1769},[1813],{"type":45,"value":1814}," await",{"type":40,"tag":435,"props":1816,"children":1818},{"style":1817},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1819],{"type":45,"value":1820}," fetch",{"type":40,"tag":435,"props":1822,"children":1824},{"style":1823},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1825],{"type":45,"value":372},{"type":40,"tag":435,"props":1827,"children":1828},{"style":454},[1829],{"type":45,"value":1830},"url",{"type":40,"tag":435,"props":1832,"children":1833},{"style":469},[1834],{"type":45,"value":623},{"type":40,"tag":435,"props":1836,"children":1837},{"style":469},[1838],{"type":45,"value":595},{"type":40,"tag":435,"props":1840,"children":1841},{"style":454},[1842],{"type":45,"value":1843}," headers",{"type":40,"tag":435,"props":1845,"children":1846},{"style":469},[1847],{"type":45,"value":1848}," }",{"type":40,"tag":435,"props":1850,"children":1851},{"style":1823},[1852],{"type":45,"value":1853},")",{"type":40,"tag":435,"props":1855,"children":1856},{"style":469},[1857],{"type":45,"value":1039},{"type":40,"tag":435,"props":1859,"children":1860},{"style":1817},[1861],{"type":45,"value":1862},"then",{"type":40,"tag":435,"props":1864,"children":1865},{"style":1823},[1866],{"type":45,"value":372},{"type":40,"tag":435,"props":1868,"children":1870},{"style":1869},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1871],{"type":45,"value":1872},"r",{"type":40,"tag":435,"props":1874,"children":1875},{"style":515},[1876],{"type":45,"value":1877}," =>",{"type":40,"tag":435,"props":1879,"children":1880},{"style":454},[1881],{"type":45,"value":1882}," r",{"type":40,"tag":435,"props":1884,"children":1885},{"style":469},[1886],{"type":45,"value":1039},{"type":40,"tag":435,"props":1888,"children":1889},{"style":1817},[1890],{"type":45,"value":492},{"type":40,"tag":435,"props":1892,"children":1893},{"style":1823},[1894],{"type":45,"value":1895},"())\n",{"type":40,"tag":435,"props":1897,"children":1898},{"class":437,"line":572},[1899,1904,1908,1913,1917,1921],{"type":40,"tag":435,"props":1900,"children":1901},{"style":1817},[1902],{"type":45,"value":1903},"  handle",{"type":40,"tag":435,"props":1905,"children":1906},{"style":1823},[1907],{"type":45,"value":372},{"type":40,"tag":435,"props":1909,"children":1910},{"style":454},[1911],{"type":45,"value":1912},"page",{"type":40,"tag":435,"props":1914,"children":1915},{"style":469},[1916],{"type":45,"value":1039},{"type":40,"tag":435,"props":1918,"children":1919},{"style":454},[1920],{"type":45,"value":1124},{"type":40,"tag":435,"props":1922,"children":1923},{"style":1823},[1924],{"type":45,"value":1925},")\n",{"type":40,"tag":435,"props":1927,"children":1928},{"class":437,"line":653},[1929,1934,1938,1942,1946,1950,1955,1960,1964],{"type":40,"tag":435,"props":1930,"children":1931},{"style":1769},[1932],{"type":45,"value":1933},"  if",{"type":40,"tag":435,"props":1935,"children":1936},{"style":1823},[1937],{"type":45,"value":1777},{"type":40,"tag":435,"props":1939,"children":1940},{"style":454},[1941],{"type":45,"value":1912},{"type":40,"tag":435,"props":1943,"children":1944},{"style":469},[1945],{"type":45,"value":1039},{"type":40,"tag":435,"props":1947,"children":1948},{"style":454},[1949],{"type":45,"value":1084},{"type":40,"tag":435,"props":1951,"children":1952},{"style":469},[1953],{"type":45,"value":1954}," ===",{"type":40,"tag":435,"props":1956,"children":1957},{"style":469},[1958],{"type":45,"value":1959}," null",{"type":40,"tag":435,"props":1961,"children":1962},{"style":1823},[1963],{"type":45,"value":1787},{"type":40,"tag":435,"props":1965,"children":1966},{"style":1769},[1967],{"type":45,"value":1968},"break\n",{"type":40,"tag":435,"props":1970,"children":1971},{"class":437,"line":679},[1972,1977,1981,1985,1989,1993,1998,2002,2007,2012,2016,2021],{"type":40,"tag":435,"props":1973,"children":1974},{"style":454},[1975],{"type":45,"value":1976},"  url",{"type":40,"tag":435,"props":1978,"children":1979},{"style":469},[1980],{"type":45,"value":1809},{"type":40,"tag":435,"props":1982,"children":1983},{"style":469},[1984],{"type":45,"value":1715},{"type":40,"tag":435,"props":1986,"children":1987},{"style":454},[1988],{"type":45,"value":1720},{"type":40,"tag":435,"props":1990,"children":1991},{"style":469},[1992],{"type":45,"value":1725},{"type":40,"tag":435,"props":1994,"children":1995},{"style":448},[1996],{"type":45,"value":1997},"\u002Fbilling\u002Fusage-history?cursor=",{"type":40,"tag":435,"props":1999,"children":2000},{"style":469},[2001],{"type":45,"value":1735},{"type":40,"tag":435,"props":2003,"children":2004},{"style":1817},[2005],{"type":45,"value":2006},"encodeURIComponent",{"type":40,"tag":435,"props":2008,"children":2009},{"style":454},[2010],{"type":45,"value":2011},"(page",{"type":40,"tag":435,"props":2013,"children":2014},{"style":469},[2015],{"type":45,"value":1039},{"type":40,"tag":435,"props":2017,"children":2018},{"style":454},[2019],{"type":45,"value":2020},"nextCursor)",{"type":40,"tag":435,"props":2022,"children":2023},{"style":469},[2024],{"type":45,"value":1763},{"type":40,"tag":435,"props":2026,"children":2027},{"class":437,"line":1252},[2028],{"type":40,"tag":435,"props":2029,"children":2030},{"style":469},[2031],{"type":45,"value":685},{"type":40,"tag":310,"props":2033,"children":2035},{"id":2034},"get-billingusage-deprecated",[2036,2041],{"type":40,"tag":96,"props":2037,"children":2039},{"className":2038},[],[2040],{"type":45,"value":148},{"type":45,"value":2042}," (deprecated)",{"type":40,"tag":48,"props":2044,"children":2045},{},[2046],{"type":45,"value":2047},"Offset-paginated per-request ledger. Kept alive for grandfathered accounts only;\nsee the deprecation warning at the top of this skill before using it.",{"type":40,"tag":424,"props":2049,"children":2051},{"className":426,"code":2050,"language":428,"meta":429,"style":429},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage?limit=200&page=1&sortOrder=desc&currency=USD&startDate=2026-04-01T00:00:00Z&endDate=2026-04-21T23:59:59Z\" \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Accept: application\u002Fjson\"\n",[2052],{"type":40,"tag":96,"props":2053,"children":2054},{"__ignoreMap":429},[2055,2079,2106],{"type":40,"tag":435,"props":2056,"children":2057},{"class":437,"line":438},[2058,2062,2066,2071,2075],{"type":40,"tag":435,"props":2059,"children":2060},{"style":442},[2061],{"type":45,"value":445},{"type":40,"tag":435,"props":2063,"children":2064},{"style":469},[2065],{"type":45,"value":472},{"type":40,"tag":435,"props":2067,"children":2068},{"style":448},[2069],{"type":45,"value":2070},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage?limit=200&page=1&sortOrder=desc&currency=USD&startDate=2026-04-01T00:00:00Z&endDate=2026-04-21T23:59:59Z",{"type":40,"tag":435,"props":2072,"children":2073},{"style":469},[2074],{"type":45,"value":522},{"type":40,"tag":435,"props":2076,"children":2077},{"style":454},[2078],{"type":45,"value":457},{"type":40,"tag":435,"props":2080,"children":2081},{"class":437,"line":460},[2082,2086,2090,2094,2098,2102],{"type":40,"tag":435,"props":2083,"children":2084},{"style":448},[2085],{"type":45,"value":466},{"type":40,"tag":435,"props":2087,"children":2088},{"style":469},[2089],{"type":45,"value":472},{"type":40,"tag":435,"props":2091,"children":2092},{"style":448},[2093],{"type":45,"value":477},{"type":40,"tag":435,"props":2095,"children":2096},{"style":454},[2097],{"type":45,"value":482},{"type":40,"tag":435,"props":2099,"children":2100},{"style":469},[2101],{"type":45,"value":522},{"type":40,"tag":435,"props":2103,"children":2104},{"style":454},[2105],{"type":45,"value":457},{"type":40,"tag":435,"props":2107,"children":2108},{"class":437,"line":535},[2109,2113,2117,2121],{"type":40,"tag":435,"props":2110,"children":2111},{"style":448},[2112],{"type":45,"value":466},{"type":40,"tag":435,"props":2114,"children":2115},{"style":469},[2116],{"type":45,"value":472},{"type":40,"tag":435,"props":2118,"children":2119},{"style":448},[2120],{"type":45,"value":887},{"type":40,"tag":435,"props":2122,"children":2123},{"style":469},[2124],{"type":45,"value":487},{"type":40,"tag":893,"props":2126,"children":2128},{"id":2127},"query-parameters-1",[2129],{"type":45,"value":898},{"type":40,"tag":62,"props":2131,"children":2132},{},[2133,2147],{"type":40,"tag":66,"props":2134,"children":2135},{},[2136],{"type":40,"tag":70,"props":2137,"children":2138},{},[2139,2143],{"type":40,"tag":74,"props":2140,"children":2141},{},[2142],{"type":45,"value":947},{"type":40,"tag":74,"props":2144,"children":2145},{},[2146],{"type":45,"value":952},{"type":40,"tag":85,"props":2148,"children":2149},{},[2150,2188,2212,2229,2245],{"type":40,"tag":70,"props":2151,"children":2152},{},[2153,2161],{"type":40,"tag":92,"props":2154,"children":2155},{},[2156],{"type":40,"tag":96,"props":2157,"children":2159},{"className":2158},[],[2160],{"type":45,"value":1016},{"type":40,"tag":92,"props":2162,"children":2163},{},[2164,2169,2170,2175,2176,2181,2182,2187],{"type":40,"tag":96,"props":2165,"children":2167},{"className":2166},[],[2168],{"type":45,"value":365},{"type":45,"value":1026},{"type":40,"tag":96,"props":2171,"children":2173},{"className":2172},[],[2174],{"type":45,"value":378},{"type":45,"value":1026},{"type":40,"tag":96,"props":2177,"children":2179},{"className":2178},[],[2180],{"type":45,"value":337},{"type":45,"value":1026},{"type":40,"tag":96,"props":2183,"children":2185},{"className":2184},[],[2186],{"type":45,"value":351},{"type":45,"value":1039},{"type":40,"tag":70,"props":2189,"children":2190},{},[2191,2207],{"type":40,"tag":92,"props":2192,"children":2193},{},[2194,2200,2201],{"type":40,"tag":96,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":45,"value":2199},"startDate",{"type":45,"value":1026},{"type":40,"tag":96,"props":2202,"children":2204},{"className":2203},[],[2205],{"type":45,"value":2206},"endDate",{"type":40,"tag":92,"props":2208,"children":2209},{},[2210],{"type":45,"value":2211},"ISO 8601 datetime.",{"type":40,"tag":70,"props":2213,"children":2214},{},[2215,2224],{"type":40,"tag":92,"props":2216,"children":2217},{},[2218],{"type":40,"tag":96,"props":2219,"children":2221},{"className":2220},[],[2222],{"type":45,"value":2223},"limit",{"type":40,"tag":92,"props":2225,"children":2226},{},[2227],{"type":45,"value":2228},"1–500. Default 200.",{"type":40,"tag":70,"props":2230,"children":2231},{},[2232,2240],{"type":40,"tag":92,"props":2233,"children":2234},{},[2235],{"type":40,"tag":96,"props":2236,"children":2238},{"className":2237},[],[2239],{"type":45,"value":1912},{"type":40,"tag":92,"props":2241,"children":2242},{},[2243],{"type":45,"value":2244},"Default 1.",{"type":40,"tag":70,"props":2246,"children":2247},{},[2248,2257],{"type":40,"tag":92,"props":2249,"children":2250},{},[2251],{"type":40,"tag":96,"props":2252,"children":2254},{"className":2253},[],[2255],{"type":45,"value":2256},"sortOrder",{"type":40,"tag":92,"props":2258,"children":2259},{},[2260,2266,2267,2273,2274,2280,2282,2287],{"type":40,"tag":96,"props":2261,"children":2263},{"className":2262},[],[2264],{"type":45,"value":2265},"asc",{"type":45,"value":1026},{"type":40,"tag":96,"props":2268,"children":2270},{"className":2269},[],[2271],{"type":45,"value":2272},"desc",{"type":45,"value":398},{"type":40,"tag":96,"props":2275,"children":2277},{"className":2276},[],[2278],{"type":45,"value":2279},"createdAt",{"type":45,"value":2281},". Default ",{"type":40,"tag":96,"props":2283,"children":2285},{"className":2284},[],[2286],{"type":45,"value":2272},{"type":45,"value":1039},{"type":40,"tag":893,"props":2289,"children":2291},{"id":2290},"accept-header",[2292],{"type":45,"value":2293},"Accept header",{"type":40,"tag":687,"props":2295,"children":2296},{},[2297,2308],{"type":40,"tag":326,"props":2298,"children":2299},{},[2300,2306],{"type":40,"tag":96,"props":2301,"children":2303},{"className":2302},[],[2304],{"type":45,"value":2305},"application\u002Fjson",{"type":45,"value":2307}," (default) — paginated JSON.",{"type":40,"tag":326,"props":2309,"children":2310},{},[2311,2317,2319,2325,2327,2332],{"type":40,"tag":96,"props":2312,"children":2314},{"className":2313},[],[2315],{"type":45,"value":2316},"text\u002Fcsv",{"type":45,"value":2318}," — downloads ",{"type":40,"tag":96,"props":2320,"children":2322},{"className":2321},[],[2323],{"type":45,"value":2324},"billing-usage.csv",{"type":45,"value":2326}," (sets ",{"type":40,"tag":96,"props":2328,"children":2330},{"className":2329},[],[2331],{"type":45,"value":1640},{"type":45,"value":730},{"type":40,"tag":893,"props":2334,"children":2336},{"id":2335},"response-json-1",[2337],{"type":45,"value":1098},{"type":40,"tag":424,"props":2339,"children":2341},{"className":490,"code":2340,"language":492,"meta":429,"style":429},"{\n  \"warningMessage\": \"DIEM (formerly VCU) has been renamed...\",\n  \"data\": [\n    {\n      \"timestamp\": \"2026-04-20T12:34:56Z\",\n      \"sku\": \"zai-org-glm-5-1-llm-output-mtoken\",\n      \"units\": 0.000227,\n      \"pricePerUnitUsd\": 2.8,\n      \"amount\": -0.06356,\n      \"currency\": \"DIEM\",\n      \"notes\": \"API Inference\",\n      \"inferenceDetails\": {\n        \"requestId\": \"chatcmpl-...\",\n        \"promptTokens\": 339,\n        \"completionTokens\": 227,\n        \"inferenceExecutionTime\": 2964\n      }\n    }\n  ],\n  \"pagination\": { \"limit\": 200, \"page\": 1, \"total\": 1000, \"totalPages\": 5 }\n}\n",[2342],{"type":40,"tag":96,"props":2343,"children":2344},{"__ignoreMap":429},[2345,2352,2389,2412,2419,2455,2490,2517,2544,2571,2606,2641,2664,2700,2727,2754,2777,2784,2791,2798,2925],{"type":40,"tag":435,"props":2346,"children":2347},{"class":437,"line":438},[2348],{"type":40,"tag":435,"props":2349,"children":2350},{"style":469},[2351],{"type":45,"value":504},{"type":40,"tag":435,"props":2353,"children":2354},{"class":437,"line":460},[2355,2359,2364,2368,2372,2376,2381,2385],{"type":40,"tag":435,"props":2356,"children":2357},{"style":469},[2358],{"type":45,"value":512},{"type":40,"tag":435,"props":2360,"children":2361},{"style":515},[2362],{"type":45,"value":2363},"warningMessage",{"type":40,"tag":435,"props":2365,"children":2366},{"style":469},[2367],{"type":45,"value":522},{"type":40,"tag":435,"props":2369,"children":2370},{"style":469},[2371],{"type":45,"value":527},{"type":40,"tag":435,"props":2373,"children":2374},{"style":469},[2375],{"type":45,"value":472},{"type":40,"tag":435,"props":2377,"children":2378},{"style":448},[2379],{"type":45,"value":2380},"DIEM (formerly VCU) has been renamed...",{"type":40,"tag":435,"props":2382,"children":2383},{"style":469},[2384],{"type":45,"value":522},{"type":40,"tag":435,"props":2386,"children":2387},{"style":469},[2388],{"type":45,"value":569},{"type":40,"tag":435,"props":2390,"children":2391},{"class":437,"line":535},[2392,2396,2400,2404,2408],{"type":40,"tag":435,"props":2393,"children":2394},{"style":469},[2395],{"type":45,"value":512},{"type":40,"tag":435,"props":2397,"children":2398},{"style":515},[2399],{"type":45,"value":1124},{"type":40,"tag":435,"props":2401,"children":2402},{"style":469},[2403],{"type":45,"value":522},{"type":40,"tag":435,"props":2405,"children":2406},{"style":469},[2407],{"type":45,"value":527},{"type":40,"tag":435,"props":2409,"children":2410},{"style":469},[2411],{"type":45,"value":1137},{"type":40,"tag":435,"props":2413,"children":2414},{"class":437,"line":572},[2415],{"type":40,"tag":435,"props":2416,"children":2417},{"style":469},[2418],{"type":45,"value":1145},{"type":40,"tag":435,"props":2420,"children":2421},{"class":437,"line":653},[2422,2426,2430,2434,2438,2442,2447,2451],{"type":40,"tag":435,"props":2423,"children":2424},{"style":469},[2425],{"type":45,"value":1153},{"type":40,"tag":435,"props":2427,"children":2428},{"style":442},[2429],{"type":45,"value":1158},{"type":40,"tag":435,"props":2431,"children":2432},{"style":469},[2433],{"type":45,"value":522},{"type":40,"tag":435,"props":2435,"children":2436},{"style":469},[2437],{"type":45,"value":527},{"type":40,"tag":435,"props":2439,"children":2440},{"style":469},[2441],{"type":45,"value":472},{"type":40,"tag":435,"props":2443,"children":2444},{"style":448},[2445],{"type":45,"value":2446},"2026-04-20T12:34:56Z",{"type":40,"tag":435,"props":2448,"children":2449},{"style":469},[2450],{"type":45,"value":522},{"type":40,"tag":435,"props":2452,"children":2453},{"style":469},[2454],{"type":45,"value":569},{"type":40,"tag":435,"props":2456,"children":2457},{"class":437,"line":679},[2458,2462,2466,2470,2474,2478,2482,2486],{"type":40,"tag":435,"props":2459,"children":2460},{"style":469},[2461],{"type":45,"value":1153},{"type":40,"tag":435,"props":2463,"children":2464},{"style":442},[2465],{"type":45,"value":1195},{"type":40,"tag":435,"props":2467,"children":2468},{"style":469},[2469],{"type":45,"value":522},{"type":40,"tag":435,"props":2471,"children":2472},{"style":469},[2473],{"type":45,"value":527},{"type":40,"tag":435,"props":2475,"children":2476},{"style":469},[2477],{"type":45,"value":472},{"type":40,"tag":435,"props":2479,"children":2480},{"style":448},[2481],{"type":45,"value":1212},{"type":40,"tag":435,"props":2483,"children":2484},{"style":469},[2485],{"type":45,"value":522},{"type":40,"tag":435,"props":2487,"children":2488},{"style":469},[2489],{"type":45,"value":569},{"type":40,"tag":435,"props":2491,"children":2492},{"class":437,"line":1252},[2493,2497,2501,2505,2509,2513],{"type":40,"tag":435,"props":2494,"children":2495},{"style":469},[2496],{"type":45,"value":1153},{"type":40,"tag":435,"props":2498,"children":2499},{"style":442},[2500],{"type":45,"value":1232},{"type":40,"tag":435,"props":2502,"children":2503},{"style":469},[2504],{"type":45,"value":522},{"type":40,"tag":435,"props":2506,"children":2507},{"style":469},[2508],{"type":45,"value":527},{"type":40,"tag":435,"props":2510,"children":2511},{"style":615},[2512],{"type":45,"value":1245},{"type":40,"tag":435,"props":2514,"children":2515},{"style":469},[2516],{"type":45,"value":569},{"type":40,"tag":435,"props":2518,"children":2519},{"class":437,"line":1282},[2520,2524,2528,2532,2536,2540],{"type":40,"tag":435,"props":2521,"children":2522},{"style":469},[2523],{"type":45,"value":1153},{"type":40,"tag":435,"props":2525,"children":2526},{"style":442},[2527],{"type":45,"value":1262},{"type":40,"tag":435,"props":2529,"children":2530},{"style":469},[2531],{"type":45,"value":522},{"type":40,"tag":435,"props":2533,"children":2534},{"style":469},[2535],{"type":45,"value":527},{"type":40,"tag":435,"props":2537,"children":2538},{"style":615},[2539],{"type":45,"value":1275},{"type":40,"tag":435,"props":2541,"children":2542},{"style":469},[2543],{"type":45,"value":569},{"type":40,"tag":435,"props":2545,"children":2546},{"class":437,"line":1312},[2547,2551,2555,2559,2563,2567],{"type":40,"tag":435,"props":2548,"children":2549},{"style":469},[2550],{"type":45,"value":1153},{"type":40,"tag":435,"props":2552,"children":2553},{"style":442},[2554],{"type":45,"value":1292},{"type":40,"tag":435,"props":2556,"children":2557},{"style":469},[2558],{"type":45,"value":522},{"type":40,"tag":435,"props":2560,"children":2561},{"style":469},[2562],{"type":45,"value":527},{"type":40,"tag":435,"props":2564,"children":2565},{"style":615},[2566],{"type":45,"value":1305},{"type":40,"tag":435,"props":2568,"children":2569},{"style":469},[2570],{"type":45,"value":569},{"type":40,"tag":435,"props":2572,"children":2573},{"class":437,"line":1348},[2574,2578,2582,2586,2590,2594,2598,2602],{"type":40,"tag":435,"props":2575,"children":2576},{"style":469},[2577],{"type":45,"value":1153},{"type":40,"tag":435,"props":2579,"children":2580},{"style":442},[2581],{"type":45,"value":1016},{"type":40,"tag":435,"props":2583,"children":2584},{"style":469},[2585],{"type":45,"value":522},{"type":40,"tag":435,"props":2587,"children":2588},{"style":469},[2589],{"type":45,"value":527},{"type":40,"tag":435,"props":2591,"children":2592},{"style":469},[2593],{"type":45,"value":472},{"type":40,"tag":435,"props":2595,"children":2596},{"style":448},[2597],{"type":45,"value":337},{"type":40,"tag":435,"props":2599,"children":2600},{"style":469},[2601],{"type":45,"value":522},{"type":40,"tag":435,"props":2603,"children":2604},{"style":469},[2605],{"type":45,"value":569},{"type":40,"tag":435,"props":2607,"children":2608},{"class":437,"line":1386},[2609,2613,2617,2621,2625,2629,2633,2637],{"type":40,"tag":435,"props":2610,"children":2611},{"style":469},[2612],{"type":45,"value":1153},{"type":40,"tag":435,"props":2614,"children":2615},{"style":442},[2616],{"type":45,"value":1358},{"type":40,"tag":435,"props":2618,"children":2619},{"style":469},[2620],{"type":45,"value":522},{"type":40,"tag":435,"props":2622,"children":2623},{"style":469},[2624],{"type":45,"value":527},{"type":40,"tag":435,"props":2626,"children":2627},{"style":469},[2628],{"type":45,"value":472},{"type":40,"tag":435,"props":2630,"children":2631},{"style":448},[2632],{"type":45,"value":1375},{"type":40,"tag":435,"props":2634,"children":2635},{"style":469},[2636],{"type":45,"value":522},{"type":40,"tag":435,"props":2638,"children":2639},{"style":469},[2640],{"type":45,"value":569},{"type":40,"tag":435,"props":2642,"children":2643},{"class":437,"line":1412},[2644,2648,2652,2656,2660],{"type":40,"tag":435,"props":2645,"children":2646},{"style":469},[2647],{"type":45,"value":1153},{"type":40,"tag":435,"props":2649,"children":2650},{"style":442},[2651],{"type":45,"value":1396},{"type":40,"tag":435,"props":2653,"children":2654},{"style":469},[2655],{"type":45,"value":522},{"type":40,"tag":435,"props":2657,"children":2658},{"style":469},[2659],{"type":45,"value":527},{"type":40,"tag":435,"props":2661,"children":2662},{"style":469},[2663],{"type":45,"value":1409},{"type":40,"tag":435,"props":2665,"children":2666},{"class":437,"line":1451},[2667,2671,2675,2679,2683,2687,2692,2696],{"type":40,"tag":435,"props":2668,"children":2669},{"style":469},[2670],{"type":45,"value":1418},{"type":40,"tag":435,"props":2672,"children":2673},{"style":615},[2674],{"type":45,"value":1423},{"type":40,"tag":435,"props":2676,"children":2677},{"style":469},[2678],{"type":45,"value":522},{"type":40,"tag":435,"props":2680,"children":2681},{"style":469},[2682],{"type":45,"value":527},{"type":40,"tag":435,"props":2684,"children":2685},{"style":469},[2686],{"type":45,"value":472},{"type":40,"tag":435,"props":2688,"children":2689},{"style":448},[2690],{"type":45,"value":2691},"chatcmpl-...",{"type":40,"tag":435,"props":2693,"children":2694},{"style":469},[2695],{"type":45,"value":522},{"type":40,"tag":435,"props":2697,"children":2698},{"style":469},[2699],{"type":45,"value":569},{"type":40,"tag":435,"props":2701,"children":2702},{"class":437,"line":1481},[2703,2707,2711,2715,2719,2723],{"type":40,"tag":435,"props":2704,"children":2705},{"style":469},[2706],{"type":45,"value":1418},{"type":40,"tag":435,"props":2708,"children":2709},{"style":615},[2710],{"type":45,"value":1461},{"type":40,"tag":435,"props":2712,"children":2713},{"style":469},[2714],{"type":45,"value":522},{"type":40,"tag":435,"props":2716,"children":2717},{"style":469},[2718],{"type":45,"value":527},{"type":40,"tag":435,"props":2720,"children":2721},{"style":615},[2722],{"type":45,"value":1474},{"type":40,"tag":435,"props":2724,"children":2725},{"style":469},[2726],{"type":45,"value":569},{"type":40,"tag":435,"props":2728,"children":2729},{"class":437,"line":27},[2730,2734,2738,2742,2746,2750],{"type":40,"tag":435,"props":2731,"children":2732},{"style":469},[2733],{"type":45,"value":1418},{"type":40,"tag":435,"props":2735,"children":2736},{"style":615},[2737],{"type":45,"value":1491},{"type":40,"tag":435,"props":2739,"children":2740},{"style":469},[2741],{"type":45,"value":522},{"type":40,"tag":435,"props":2743,"children":2744},{"style":469},[2745],{"type":45,"value":527},{"type":40,"tag":435,"props":2747,"children":2748},{"style":615},[2749],{"type":45,"value":1504},{"type":40,"tag":435,"props":2751,"children":2752},{"style":469},[2753],{"type":45,"value":569},{"type":40,"tag":435,"props":2755,"children":2756},{"class":437,"line":1536},[2757,2761,2765,2769,2773],{"type":40,"tag":435,"props":2758,"children":2759},{"style":469},[2760],{"type":45,"value":1418},{"type":40,"tag":435,"props":2762,"children":2763},{"style":615},[2764],{"type":45,"value":1520},{"type":40,"tag":435,"props":2766,"children":2767},{"style":469},[2768],{"type":45,"value":522},{"type":40,"tag":435,"props":2770,"children":2771},{"style":469},[2772],{"type":45,"value":527},{"type":40,"tag":435,"props":2774,"children":2775},{"style":615},[2776],{"type":45,"value":1533},{"type":40,"tag":435,"props":2778,"children":2779},{"class":437,"line":1545},[2780],{"type":40,"tag":435,"props":2781,"children":2782},{"style":469},[2783],{"type":45,"value":1542},{"type":40,"tag":435,"props":2785,"children":2786},{"class":437,"line":1554},[2787],{"type":40,"tag":435,"props":2788,"children":2789},{"style":469},[2790],{"type":45,"value":1551},{"type":40,"tag":435,"props":2792,"children":2793},{"class":437,"line":1563},[2794],{"type":40,"tag":435,"props":2795,"children":2796},{"style":469},[2797],{"type":45,"value":1560},{"type":40,"tag":435,"props":2799,"children":2800},{"class":437,"line":1596},[2801,2805,2810,2814,2818,2822,2826,2830,2834,2838,2843,2847,2851,2855,2859,2863,2868,2872,2876,2881,2885,2889,2894,2898,2902,2907,2911,2915,2920],{"type":40,"tag":435,"props":2802,"children":2803},{"style":469},[2804],{"type":45,"value":512},{"type":40,"tag":435,"props":2806,"children":2807},{"style":515},[2808],{"type":45,"value":2809},"pagination",{"type":40,"tag":435,"props":2811,"children":2812},{"style":469},[2813],{"type":45,"value":522},{"type":40,"tag":435,"props":2815,"children":2816},{"style":469},[2817],{"type":45,"value":527},{"type":40,"tag":435,"props":2819,"children":2820},{"style":469},[2821],{"type":45,"value":595},{"type":40,"tag":435,"props":2823,"children":2824},{"style":469},[2825],{"type":45,"value":472},{"type":40,"tag":435,"props":2827,"children":2828},{"style":442},[2829],{"type":45,"value":2223},{"type":40,"tag":435,"props":2831,"children":2832},{"style":469},[2833],{"type":45,"value":522},{"type":40,"tag":435,"props":2835,"children":2836},{"style":469},[2837],{"type":45,"value":527},{"type":40,"tag":435,"props":2839,"children":2840},{"style":615},[2841],{"type":45,"value":2842}," 200",{"type":40,"tag":435,"props":2844,"children":2845},{"style":469},[2846],{"type":45,"value":623},{"type":40,"tag":435,"props":2848,"children":2849},{"style":469},[2850],{"type":45,"value":472},{"type":40,"tag":435,"props":2852,"children":2853},{"style":442},[2854],{"type":45,"value":1912},{"type":40,"tag":435,"props":2856,"children":2857},{"style":469},[2858],{"type":45,"value":522},{"type":40,"tag":435,"props":2860,"children":2861},{"style":469},[2862],{"type":45,"value":527},{"type":40,"tag":435,"props":2864,"children":2865},{"style":615},[2866],{"type":45,"value":2867}," 1",{"type":40,"tag":435,"props":2869,"children":2870},{"style":469},[2871],{"type":45,"value":623},{"type":40,"tag":435,"props":2873,"children":2874},{"style":469},[2875],{"type":45,"value":472},{"type":40,"tag":435,"props":2877,"children":2878},{"style":442},[2879],{"type":45,"value":2880},"total",{"type":40,"tag":435,"props":2882,"children":2883},{"style":469},[2884],{"type":45,"value":522},{"type":40,"tag":435,"props":2886,"children":2887},{"style":469},[2888],{"type":45,"value":527},{"type":40,"tag":435,"props":2890,"children":2891},{"style":615},[2892],{"type":45,"value":2893}," 1000",{"type":40,"tag":435,"props":2895,"children":2896},{"style":469},[2897],{"type":45,"value":623},{"type":40,"tag":435,"props":2899,"children":2900},{"style":469},[2901],{"type":45,"value":472},{"type":40,"tag":435,"props":2903,"children":2904},{"style":442},[2905],{"type":45,"value":2906},"totalPages",{"type":40,"tag":435,"props":2908,"children":2909},{"style":469},[2910],{"type":45,"value":522},{"type":40,"tag":435,"props":2912,"children":2913},{"style":469},[2914],{"type":45,"value":527},{"type":40,"tag":435,"props":2916,"children":2917},{"style":615},[2918],{"type":45,"value":2919}," 5",{"type":40,"tag":435,"props":2921,"children":2922},{"style":469},[2923],{"type":45,"value":2924}," }\n",{"type":40,"tag":435,"props":2926,"children":2928},{"class":437,"line":2927},21,[2929],{"type":40,"tag":435,"props":2930,"children":2931},{"style":469},[2932],{"type":45,"value":685},{"type":40,"tag":48,"props":2934,"children":2935},{},[2936,2938,2944],{"type":45,"value":2937},"Response headers: ",{"type":40,"tag":96,"props":2939,"children":2941},{"className":2940},[],[2942],{"type":45,"value":2943},"x-pagination-{limit,page,total,total-pages}",{"type":45,"value":1039},{"type":40,"tag":893,"props":2946,"children":2948},{"id":2947},"fields",[2949],{"type":45,"value":2950},"Fields",{"type":40,"tag":687,"props":2952,"children":2953},{},[2954,2964,2982,2992,3002],{"type":40,"tag":326,"props":2955,"children":2956},{},[2957,2962],{"type":40,"tag":96,"props":2958,"children":2960},{"className":2959},[],[2961],{"type":45,"value":1195},{"type":45,"value":2963}," — billing line item (model + unit type + format).",{"type":40,"tag":326,"props":2965,"children":2966},{},[2967,2972,2974,2980],{"type":40,"tag":96,"props":2968,"children":2970},{"className":2969},[],[2971],{"type":45,"value":1232},{"type":45,"value":2973}," — for LLMs, millions of tokens (e.g. ",{"type":40,"tag":96,"props":2975,"children":2977},{"className":2976},[],[2978],{"type":45,"value":2979},"0.000227",{"type":45,"value":2981}," = 227 tokens).",{"type":40,"tag":326,"props":2983,"children":2984},{},[2985,2990],{"type":40,"tag":96,"props":2986,"children":2988},{"className":2987},[],[2989],{"type":45,"value":1262},{"type":45,"value":2991}," — rate; for DIEM, DIEM ≈ USD so this doubles as reference.",{"type":40,"tag":326,"props":2993,"children":2994},{},[2995,3000],{"type":40,"tag":96,"props":2996,"children":2998},{"className":2997},[],[2999],{"type":45,"value":1292},{"type":45,"value":3001}," — negative for debit.",{"type":40,"tag":326,"props":3003,"children":3004},{},[3005,3010,3012,3017,3019,3025,3027,3033],{"type":40,"tag":96,"props":3006,"children":3008},{"className":3007},[],[3009],{"type":45,"value":1396},{"type":45,"value":3011}," — present for inference SKUs; ",{"type":40,"tag":96,"props":3013,"children":3015},{"className":3014},[],[3016],{"type":45,"value":1423},{"type":45,"value":3018}," is the ",{"type":40,"tag":96,"props":3020,"children":3022},{"className":3021},[],[3023],{"type":45,"value":3024},"id",{"type":45,"value":3026}," returned on the original ",{"type":40,"tag":96,"props":3028,"children":3030},{"className":3029},[],[3031],{"type":45,"value":3032},"\u002Fchat\u002Fcompletions",{"type":45,"value":3034}," response.",{"type":40,"tag":310,"props":3036,"children":3038},{"id":3037},"get-billingusage-analytics",[3039],{"type":40,"tag":96,"props":3040,"children":3042},{"className":3041},[],[3043],{"type":45,"value":170},{"type":40,"tag":48,"props":3045,"children":3046},{},[3047,3049],{"type":45,"value":3048},"Aggregated summary for dashboards. ",{"type":40,"tag":54,"props":3050,"children":3051},{},[3052],{"type":45,"value":3053},"Cached 10 minutes.",{"type":40,"tag":424,"props":3055,"children":3057},{"className":426,"code":3056,"language":428,"meta":429,"style":429},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-analytics?lookback=7d\" \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n",[3058],{"type":40,"tag":96,"props":3059,"children":3060},{"__ignoreMap":429},[3061,3085],{"type":40,"tag":435,"props":3062,"children":3063},{"class":437,"line":438},[3064,3068,3072,3077,3081],{"type":40,"tag":435,"props":3065,"children":3066},{"style":442},[3067],{"type":45,"value":445},{"type":40,"tag":435,"props":3069,"children":3070},{"style":469},[3071],{"type":45,"value":472},{"type":40,"tag":435,"props":3073,"children":3074},{"style":448},[3075],{"type":45,"value":3076},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-analytics?lookback=7d",{"type":40,"tag":435,"props":3078,"children":3079},{"style":469},[3080],{"type":45,"value":522},{"type":40,"tag":435,"props":3082,"children":3083},{"style":454},[3084],{"type":45,"value":457},{"type":40,"tag":435,"props":3086,"children":3087},{"class":437,"line":460},[3088,3092,3096,3100,3104],{"type":40,"tag":435,"props":3089,"children":3090},{"style":448},[3091],{"type":45,"value":466},{"type":40,"tag":435,"props":3093,"children":3094},{"style":469},[3095],{"type":45,"value":472},{"type":40,"tag":435,"props":3097,"children":3098},{"style":448},[3099],{"type":45,"value":477},{"type":40,"tag":435,"props":3101,"children":3102},{"style":454},[3103],{"type":45,"value":482},{"type":40,"tag":435,"props":3105,"children":3106},{"style":469},[3107],{"type":45,"value":487},{"type":40,"tag":893,"props":3109,"children":3111},{"id":3110},"query-parameters-choose-one-approach",[3112],{"type":45,"value":3113},"Query parameters (choose one approach)",{"type":40,"tag":687,"props":3115,"children":3116},{},[3117,3156],{"type":40,"tag":326,"props":3118,"children":3119},{},[3120,3126,3128,3134,3135,3141,3143,3149,3150,3155],{"type":40,"tag":96,"props":3121,"children":3123},{"className":3122},[],[3124],{"type":45,"value":3125},"lookback=Nd",{"type":45,"value":3127}," — ",{"type":40,"tag":96,"props":3129,"children":3131},{"className":3130},[],[3132],{"type":45,"value":3133},"7d",{"type":45,"value":200},{"type":40,"tag":96,"props":3136,"children":3138},{"className":3137},[],[3139],{"type":45,"value":3140},"30d",{"type":45,"value":3142},", up to ",{"type":40,"tag":96,"props":3144,"children":3146},{"className":3145},[],[3147],{"type":45,"value":3148},"90d",{"type":45,"value":2281},{"type":40,"tag":96,"props":3151,"children":3153},{"className":3152},[],[3154],{"type":45,"value":3133},{"type":45,"value":1039},{"type":40,"tag":326,"props":3157,"children":3158},{},[3159,3164,3166,3172,3174,3180],{"type":40,"tag":54,"props":3160,"children":3161},{},[3162],{"type":45,"value":3163},"OR",{"type":45,"value":3165}," ",{"type":40,"tag":96,"props":3167,"children":3169},{"className":3168},[],[3170],{"type":45,"value":3171},"startDate=YYYY-MM-DD",{"type":45,"value":3173}," + ",{"type":40,"tag":96,"props":3175,"children":3177},{"className":3176},[],[3178],{"type":45,"value":3179},"endDate=YYYY-MM-DD",{"type":45,"value":3181}," — both required if either is given.",{"type":40,"tag":893,"props":3183,"children":3185},{"id":3184},"response-selected-keys",[3186],{"type":45,"value":3187},"Response (selected keys)",{"type":40,"tag":424,"props":3189,"children":3191},{"className":490,"code":3190,"language":492,"meta":429,"style":429},"{\n  \"lookback\": \"7d\",\n  \"byDate\": [{ \"date\": \"2026-04-20\", \"USD\": 0.5, \"DIEM\": 10.25 }, ...],\n  \"byModel\": [\n    {\n      \"modelName\": \"GLM 5.1\",\n      \"unitType\": \"tokens\",\n      \"modelType\": \"LLM\",\n      \"totalUsd\": 0.4,\n      \"totalDiem\": 12.5,\n      \"totalUnits\": 50000,\n      \"breakdown\": [\n        { \"type\": \"Output\", \"usd\": 0.3, \"diem\": 10, \"units\": 35000 },\n        { \"type\": \"Input\",  \"usd\": 0.1, \"diem\": 2.5, \"units\": 15000 }\n      ]\n    }\n  ],\n  \"byModelDaily\": [\n    { \"date\": 1705276800000, \"GLM 5.1\": 5.5, \"Claude Opus 4.7\": 3.2 }\n  ],\n  \"byModelDailyUsd\": [...],\n  \"topModels\": [\"GLM 5.1\", \"Claude Opus 4.7\"],\n  \"byKey\": [\n    { \"apiKeyId\": \"key_abc123\", \"description\": \"Production Key\",\n      \"totalUsd\": 0.8, \"totalDiem\": 15, \"totalUnits\": 75000 },\n    { \"apiKeyId\": null, \"description\": \"Web App\",\n      \"totalUsd\": 0, \"totalDiem\": 4, \"totalUnits\": 25000 }\n  ],\n  \"byKeyDaily\": [...],\n  \"byKeyDailyUsd\": [...],\n  \"topKeyNames\": [...]\n}\n",[3192],{"type":40,"tag":96,"props":3193,"children":3194},{"__ignoreMap":429},[3195,3202,3238,3358,3382,3389,3426,3463,3500,3529,3558,3587,3611,3728,3843,3851,3858,3865,3889,3973,3980,4014,4071,4096,4172,4251,4313,4392,4400,4433,4466,4500],{"type":40,"tag":435,"props":3196,"children":3197},{"class":437,"line":438},[3198],{"type":40,"tag":435,"props":3199,"children":3200},{"style":469},[3201],{"type":45,"value":504},{"type":40,"tag":435,"props":3203,"children":3204},{"class":437,"line":460},[3205,3209,3214,3218,3222,3226,3230,3234],{"type":40,"tag":435,"props":3206,"children":3207},{"style":469},[3208],{"type":45,"value":512},{"type":40,"tag":435,"props":3210,"children":3211},{"style":515},[3212],{"type":45,"value":3213},"lookback",{"type":40,"tag":435,"props":3215,"children":3216},{"style":469},[3217],{"type":45,"value":522},{"type":40,"tag":435,"props":3219,"children":3220},{"style":469},[3221],{"type":45,"value":527},{"type":40,"tag":435,"props":3223,"children":3224},{"style":469},[3225],{"type":45,"value":472},{"type":40,"tag":435,"props":3227,"children":3228},{"style":448},[3229],{"type":45,"value":3133},{"type":40,"tag":435,"props":3231,"children":3232},{"style":469},[3233],{"type":45,"value":522},{"type":40,"tag":435,"props":3235,"children":3236},{"style":469},[3237],{"type":45,"value":569},{"type":40,"tag":435,"props":3239,"children":3240},{"class":437,"line":535},[3241,3245,3250,3254,3258,3263,3267,3272,3276,3280,3284,3289,3293,3297,3301,3305,3309,3313,3318,3322,3326,3330,3334,3338,3343,3348,3353],{"type":40,"tag":435,"props":3242,"children":3243},{"style":469},[3244],{"type":45,"value":512},{"type":40,"tag":435,"props":3246,"children":3247},{"style":515},[3248],{"type":45,"value":3249},"byDate",{"type":40,"tag":435,"props":3251,"children":3252},{"style":469},[3253],{"type":45,"value":522},{"type":40,"tag":435,"props":3255,"children":3256},{"style":469},[3257],{"type":45,"value":527},{"type":40,"tag":435,"props":3259,"children":3260},{"style":469},[3261],{"type":45,"value":3262}," [{",{"type":40,"tag":435,"props":3264,"children":3265},{"style":469},[3266],{"type":45,"value":472},{"type":40,"tag":435,"props":3268,"children":3269},{"style":442},[3270],{"type":45,"value":3271},"date",{"type":40,"tag":435,"props":3273,"children":3274},{"style":469},[3275],{"type":45,"value":522},{"type":40,"tag":435,"props":3277,"children":3278},{"style":469},[3279],{"type":45,"value":527},{"type":40,"tag":435,"props":3281,"children":3282},{"style":469},[3283],{"type":45,"value":472},{"type":40,"tag":435,"props":3285,"children":3286},{"style":448},[3287],{"type":45,"value":3288},"2026-04-20",{"type":40,"tag":435,"props":3290,"children":3291},{"style":469},[3292],{"type":45,"value":522},{"type":40,"tag":435,"props":3294,"children":3295},{"style":469},[3296],{"type":45,"value":623},{"type":40,"tag":435,"props":3298,"children":3299},{"style":469},[3300],{"type":45,"value":472},{"type":40,"tag":435,"props":3302,"children":3303},{"style":442},[3304],{"type":45,"value":365},{"type":40,"tag":435,"props":3306,"children":3307},{"style":469},[3308],{"type":45,"value":522},{"type":40,"tag":435,"props":3310,"children":3311},{"style":469},[3312],{"type":45,"value":527},{"type":40,"tag":435,"props":3314,"children":3315},{"style":615},[3316],{"type":45,"value":3317}," 0.5",{"type":40,"tag":435,"props":3319,"children":3320},{"style":469},[3321],{"type":45,"value":623},{"type":40,"tag":435,"props":3323,"children":3324},{"style":469},[3325],{"type":45,"value":472},{"type":40,"tag":435,"props":3327,"children":3328},{"style":442},[3329],{"type":45,"value":337},{"type":40,"tag":435,"props":3331,"children":3332},{"style":469},[3333],{"type":45,"value":522},{"type":40,"tag":435,"props":3335,"children":3336},{"style":469},[3337],{"type":45,"value":527},{"type":40,"tag":435,"props":3339,"children":3340},{"style":615},[3341],{"type":45,"value":3342}," 10.25",{"type":40,"tag":435,"props":3344,"children":3345},{"style":469},[3346],{"type":45,"value":3347}," },",{"type":40,"tag":435,"props":3349,"children":3350},{"style":454},[3351],{"type":45,"value":3352}," ...",{"type":40,"tag":435,"props":3354,"children":3355},{"style":469},[3356],{"type":45,"value":3357},"],\n",{"type":40,"tag":435,"props":3359,"children":3360},{"class":437,"line":572},[3361,3365,3370,3374,3378],{"type":40,"tag":435,"props":3362,"children":3363},{"style":469},[3364],{"type":45,"value":512},{"type":40,"tag":435,"props":3366,"children":3367},{"style":515},[3368],{"type":45,"value":3369},"byModel",{"type":40,"tag":435,"props":3371,"children":3372},{"style":469},[3373],{"type":45,"value":522},{"type":40,"tag":435,"props":3375,"children":3376},{"style":469},[3377],{"type":45,"value":527},{"type":40,"tag":435,"props":3379,"children":3380},{"style":469},[3381],{"type":45,"value":1137},{"type":40,"tag":435,"props":3383,"children":3384},{"class":437,"line":653},[3385],{"type":40,"tag":435,"props":3386,"children":3387},{"style":469},[3388],{"type":45,"value":1145},{"type":40,"tag":435,"props":3390,"children":3391},{"class":437,"line":679},[3392,3396,3401,3405,3409,3413,3418,3422],{"type":40,"tag":435,"props":3393,"children":3394},{"style":469},[3395],{"type":45,"value":1153},{"type":40,"tag":435,"props":3397,"children":3398},{"style":442},[3399],{"type":45,"value":3400},"modelName",{"type":40,"tag":435,"props":3402,"children":3403},{"style":469},[3404],{"type":45,"value":522},{"type":40,"tag":435,"props":3406,"children":3407},{"style":469},[3408],{"type":45,"value":527},{"type":40,"tag":435,"props":3410,"children":3411},{"style":469},[3412],{"type":45,"value":472},{"type":40,"tag":435,"props":3414,"children":3415},{"style":448},[3416],{"type":45,"value":3417},"GLM 5.1",{"type":40,"tag":435,"props":3419,"children":3420},{"style":469},[3421],{"type":45,"value":522},{"type":40,"tag":435,"props":3423,"children":3424},{"style":469},[3425],{"type":45,"value":569},{"type":40,"tag":435,"props":3427,"children":3428},{"class":437,"line":1252},[3429,3433,3438,3442,3446,3450,3455,3459],{"type":40,"tag":435,"props":3430,"children":3431},{"style":469},[3432],{"type":45,"value":1153},{"type":40,"tag":435,"props":3434,"children":3435},{"style":442},[3436],{"type":45,"value":3437},"unitType",{"type":40,"tag":435,"props":3439,"children":3440},{"style":469},[3441],{"type":45,"value":522},{"type":40,"tag":435,"props":3443,"children":3444},{"style":469},[3445],{"type":45,"value":527},{"type":40,"tag":435,"props":3447,"children":3448},{"style":469},[3449],{"type":45,"value":472},{"type":40,"tag":435,"props":3451,"children":3452},{"style":448},[3453],{"type":45,"value":3454},"tokens",{"type":40,"tag":435,"props":3456,"children":3457},{"style":469},[3458],{"type":45,"value":522},{"type":40,"tag":435,"props":3460,"children":3461},{"style":469},[3462],{"type":45,"value":569},{"type":40,"tag":435,"props":3464,"children":3465},{"class":437,"line":1282},[3466,3470,3475,3479,3483,3487,3492,3496],{"type":40,"tag":435,"props":3467,"children":3468},{"style":469},[3469],{"type":45,"value":1153},{"type":40,"tag":435,"props":3471,"children":3472},{"style":442},[3473],{"type":45,"value":3474},"modelType",{"type":40,"tag":435,"props":3476,"children":3477},{"style":469},[3478],{"type":45,"value":522},{"type":40,"tag":435,"props":3480,"children":3481},{"style":469},[3482],{"type":45,"value":527},{"type":40,"tag":435,"props":3484,"children":3485},{"style":469},[3486],{"type":45,"value":472},{"type":40,"tag":435,"props":3488,"children":3489},{"style":448},[3490],{"type":45,"value":3491},"LLM",{"type":40,"tag":435,"props":3493,"children":3494},{"style":469},[3495],{"type":45,"value":522},{"type":40,"tag":435,"props":3497,"children":3498},{"style":469},[3499],{"type":45,"value":569},{"type":40,"tag":435,"props":3501,"children":3502},{"class":437,"line":1312},[3503,3507,3512,3516,3520,3525],{"type":40,"tag":435,"props":3504,"children":3505},{"style":469},[3506],{"type":45,"value":1153},{"type":40,"tag":435,"props":3508,"children":3509},{"style":442},[3510],{"type":45,"value":3511},"totalUsd",{"type":40,"tag":435,"props":3513,"children":3514},{"style":469},[3515],{"type":45,"value":522},{"type":40,"tag":435,"props":3517,"children":3518},{"style":469},[3519],{"type":45,"value":527},{"type":40,"tag":435,"props":3521,"children":3522},{"style":615},[3523],{"type":45,"value":3524}," 0.4",{"type":40,"tag":435,"props":3526,"children":3527},{"style":469},[3528],{"type":45,"value":569},{"type":40,"tag":435,"props":3530,"children":3531},{"class":437,"line":1348},[3532,3536,3541,3545,3549,3554],{"type":40,"tag":435,"props":3533,"children":3534},{"style":469},[3535],{"type":45,"value":1153},{"type":40,"tag":435,"props":3537,"children":3538},{"style":442},[3539],{"type":45,"value":3540},"totalDiem",{"type":40,"tag":435,"props":3542,"children":3543},{"style":469},[3544],{"type":45,"value":522},{"type":40,"tag":435,"props":3546,"children":3547},{"style":469},[3548],{"type":45,"value":527},{"type":40,"tag":435,"props":3550,"children":3551},{"style":615},[3552],{"type":45,"value":3553}," 12.5",{"type":40,"tag":435,"props":3555,"children":3556},{"style":469},[3557],{"type":45,"value":569},{"type":40,"tag":435,"props":3559,"children":3560},{"class":437,"line":1386},[3561,3565,3570,3574,3578,3583],{"type":40,"tag":435,"props":3562,"children":3563},{"style":469},[3564],{"type":45,"value":1153},{"type":40,"tag":435,"props":3566,"children":3567},{"style":442},[3568],{"type":45,"value":3569},"totalUnits",{"type":40,"tag":435,"props":3571,"children":3572},{"style":469},[3573],{"type":45,"value":522},{"type":40,"tag":435,"props":3575,"children":3576},{"style":469},[3577],{"type":45,"value":527},{"type":40,"tag":435,"props":3579,"children":3580},{"style":615},[3581],{"type":45,"value":3582}," 50000",{"type":40,"tag":435,"props":3584,"children":3585},{"style":469},[3586],{"type":45,"value":569},{"type":40,"tag":435,"props":3588,"children":3589},{"class":437,"line":1412},[3590,3594,3599,3603,3607],{"type":40,"tag":435,"props":3591,"children":3592},{"style":469},[3593],{"type":45,"value":1153},{"type":40,"tag":435,"props":3595,"children":3596},{"style":442},[3597],{"type":45,"value":3598},"breakdown",{"type":40,"tag":435,"props":3600,"children":3601},{"style":469},[3602],{"type":45,"value":522},{"type":40,"tag":435,"props":3604,"children":3605},{"style":469},[3606],{"type":45,"value":527},{"type":40,"tag":435,"props":3608,"children":3609},{"style":469},[3610],{"type":45,"value":1137},{"type":40,"tag":435,"props":3612,"children":3613},{"class":437,"line":1451},[3614,3619,3623,3628,3632,3636,3640,3645,3649,3653,3657,3661,3665,3669,3674,3678,3682,3686,3690,3694,3699,3703,3707,3711,3715,3719,3724],{"type":40,"tag":435,"props":3615,"children":3616},{"style":469},[3617],{"type":45,"value":3618},"        {",{"type":40,"tag":435,"props":3620,"children":3621},{"style":469},[3622],{"type":45,"value":472},{"type":40,"tag":435,"props":3624,"children":3625},{"style":615},[3626],{"type":45,"value":3627},"type",{"type":40,"tag":435,"props":3629,"children":3630},{"style":469},[3631],{"type":45,"value":522},{"type":40,"tag":435,"props":3633,"children":3634},{"style":469},[3635],{"type":45,"value":527},{"type":40,"tag":435,"props":3637,"children":3638},{"style":469},[3639],{"type":45,"value":472},{"type":40,"tag":435,"props":3641,"children":3642},{"style":448},[3643],{"type":45,"value":3644},"Output",{"type":40,"tag":435,"props":3646,"children":3647},{"style":469},[3648],{"type":45,"value":522},{"type":40,"tag":435,"props":3650,"children":3651},{"style":469},[3652],{"type":45,"value":623},{"type":40,"tag":435,"props":3654,"children":3655},{"style":469},[3656],{"type":45,"value":472},{"type":40,"tag":435,"props":3658,"children":3659},{"style":615},[3660],{"type":45,"value":632},{"type":40,"tag":435,"props":3662,"children":3663},{"style":469},[3664],{"type":45,"value":522},{"type":40,"tag":435,"props":3666,"children":3667},{"style":469},[3668],{"type":45,"value":527},{"type":40,"tag":435,"props":3670,"children":3671},{"style":615},[3672],{"type":45,"value":3673}," 0.3",{"type":40,"tag":435,"props":3675,"children":3676},{"style":469},[3677],{"type":45,"value":623},{"type":40,"tag":435,"props":3679,"children":3680},{"style":469},[3681],{"type":45,"value":472},{"type":40,"tag":435,"props":3683,"children":3684},{"style":615},[3685],{"type":45,"value":604},{"type":40,"tag":435,"props":3687,"children":3688},{"style":469},[3689],{"type":45,"value":522},{"type":40,"tag":435,"props":3691,"children":3692},{"style":469},[3693],{"type":45,"value":527},{"type":40,"tag":435,"props":3695,"children":3696},{"style":615},[3697],{"type":45,"value":3698}," 10",{"type":40,"tag":435,"props":3700,"children":3701},{"style":469},[3702],{"type":45,"value":623},{"type":40,"tag":435,"props":3704,"children":3705},{"style":469},[3706],{"type":45,"value":472},{"type":40,"tag":435,"props":3708,"children":3709},{"style":615},[3710],{"type":45,"value":1232},{"type":40,"tag":435,"props":3712,"children":3713},{"style":469},[3714],{"type":45,"value":522},{"type":40,"tag":435,"props":3716,"children":3717},{"style":469},[3718],{"type":45,"value":527},{"type":40,"tag":435,"props":3720,"children":3721},{"style":615},[3722],{"type":45,"value":3723}," 35000",{"type":40,"tag":435,"props":3725,"children":3726},{"style":469},[3727],{"type":45,"value":650},{"type":40,"tag":435,"props":3729,"children":3730},{"class":437,"line":1481},[3731,3735,3739,3743,3747,3751,3755,3760,3764,3768,3772,3776,3780,3784,3789,3793,3797,3801,3805,3809,3814,3818,3822,3826,3830,3834,3839],{"type":40,"tag":435,"props":3732,"children":3733},{"style":469},[3734],{"type":45,"value":3618},{"type":40,"tag":435,"props":3736,"children":3737},{"style":469},[3738],{"type":45,"value":472},{"type":40,"tag":435,"props":3740,"children":3741},{"style":615},[3742],{"type":45,"value":3627},{"type":40,"tag":435,"props":3744,"children":3745},{"style":469},[3746],{"type":45,"value":522},{"type":40,"tag":435,"props":3748,"children":3749},{"style":469},[3750],{"type":45,"value":527},{"type":40,"tag":435,"props":3752,"children":3753},{"style":469},[3754],{"type":45,"value":472},{"type":40,"tag":435,"props":3756,"children":3757},{"style":448},[3758],{"type":45,"value":3759},"Input",{"type":40,"tag":435,"props":3761,"children":3762},{"style":469},[3763],{"type":45,"value":522},{"type":40,"tag":435,"props":3765,"children":3766},{"style":469},[3767],{"type":45,"value":623},{"type":40,"tag":435,"props":3769,"children":3770},{"style":469},[3771],{"type":45,"value":512},{"type":40,"tag":435,"props":3773,"children":3774},{"style":615},[3775],{"type":45,"value":632},{"type":40,"tag":435,"props":3777,"children":3778},{"style":469},[3779],{"type":45,"value":522},{"type":40,"tag":435,"props":3781,"children":3782},{"style":469},[3783],{"type":45,"value":527},{"type":40,"tag":435,"props":3785,"children":3786},{"style":615},[3787],{"type":45,"value":3788}," 0.1",{"type":40,"tag":435,"props":3790,"children":3791},{"style":469},[3792],{"type":45,"value":623},{"type":40,"tag":435,"props":3794,"children":3795},{"style":469},[3796],{"type":45,"value":472},{"type":40,"tag":435,"props":3798,"children":3799},{"style":615},[3800],{"type":45,"value":604},{"type":40,"tag":435,"props":3802,"children":3803},{"style":469},[3804],{"type":45,"value":522},{"type":40,"tag":435,"props":3806,"children":3807},{"style":469},[3808],{"type":45,"value":527},{"type":40,"tag":435,"props":3810,"children":3811},{"style":615},[3812],{"type":45,"value":3813}," 2.5",{"type":40,"tag":435,"props":3815,"children":3816},{"style":469},[3817],{"type":45,"value":623},{"type":40,"tag":435,"props":3819,"children":3820},{"style":469},[3821],{"type":45,"value":472},{"type":40,"tag":435,"props":3823,"children":3824},{"style":615},[3825],{"type":45,"value":1232},{"type":40,"tag":435,"props":3827,"children":3828},{"style":469},[3829],{"type":45,"value":522},{"type":40,"tag":435,"props":3831,"children":3832},{"style":469},[3833],{"type":45,"value":527},{"type":40,"tag":435,"props":3835,"children":3836},{"style":615},[3837],{"type":45,"value":3838}," 15000",{"type":40,"tag":435,"props":3840,"children":3841},{"style":469},[3842],{"type":45,"value":2924},{"type":40,"tag":435,"props":3844,"children":3845},{"class":437,"line":27},[3846],{"type":40,"tag":435,"props":3847,"children":3848},{"style":469},[3849],{"type":45,"value":3850},"      ]\n",{"type":40,"tag":435,"props":3852,"children":3853},{"class":437,"line":1536},[3854],{"type":40,"tag":435,"props":3855,"children":3856},{"style":469},[3857],{"type":45,"value":1551},{"type":40,"tag":435,"props":3859,"children":3860},{"class":437,"line":1545},[3861],{"type":40,"tag":435,"props":3862,"children":3863},{"style":469},[3864],{"type":45,"value":1560},{"type":40,"tag":435,"props":3866,"children":3867},{"class":437,"line":1554},[3868,3872,3877,3881,3885],{"type":40,"tag":435,"props":3869,"children":3870},{"style":469},[3871],{"type":45,"value":512},{"type":40,"tag":435,"props":3873,"children":3874},{"style":515},[3875],{"type":45,"value":3876},"byModelDaily",{"type":40,"tag":435,"props":3878,"children":3879},{"style":469},[3880],{"type":45,"value":522},{"type":40,"tag":435,"props":3882,"children":3883},{"style":469},[3884],{"type":45,"value":527},{"type":40,"tag":435,"props":3886,"children":3887},{"style":469},[3888],{"type":45,"value":1137},{"type":40,"tag":435,"props":3890,"children":3891},{"class":437,"line":1563},[3892,3897,3901,3905,3909,3913,3918,3922,3926,3930,3934,3938,3943,3947,3951,3956,3960,3964,3969],{"type":40,"tag":435,"props":3893,"children":3894},{"style":469},[3895],{"type":45,"value":3896},"    {",{"type":40,"tag":435,"props":3898,"children":3899},{"style":469},[3900],{"type":45,"value":472},{"type":40,"tag":435,"props":3902,"children":3903},{"style":442},[3904],{"type":45,"value":3271},{"type":40,"tag":435,"props":3906,"children":3907},{"style":469},[3908],{"type":45,"value":522},{"type":40,"tag":435,"props":3910,"children":3911},{"style":469},[3912],{"type":45,"value":527},{"type":40,"tag":435,"props":3914,"children":3915},{"style":615},[3916],{"type":45,"value":3917}," 1705276800000",{"type":40,"tag":435,"props":3919,"children":3920},{"style":469},[3921],{"type":45,"value":623},{"type":40,"tag":435,"props":3923,"children":3924},{"style":469},[3925],{"type":45,"value":472},{"type":40,"tag":435,"props":3927,"children":3928},{"style":442},[3929],{"type":45,"value":3417},{"type":40,"tag":435,"props":3931,"children":3932},{"style":469},[3933],{"type":45,"value":522},{"type":40,"tag":435,"props":3935,"children":3936},{"style":469},[3937],{"type":45,"value":527},{"type":40,"tag":435,"props":3939,"children":3940},{"style":615},[3941],{"type":45,"value":3942}," 5.5",{"type":40,"tag":435,"props":3944,"children":3945},{"style":469},[3946],{"type":45,"value":623},{"type":40,"tag":435,"props":3948,"children":3949},{"style":469},[3950],{"type":45,"value":472},{"type":40,"tag":435,"props":3952,"children":3953},{"style":442},[3954],{"type":45,"value":3955},"Claude Opus 4.7",{"type":40,"tag":435,"props":3957,"children":3958},{"style":469},[3959],{"type":45,"value":522},{"type":40,"tag":435,"props":3961,"children":3962},{"style":469},[3963],{"type":45,"value":527},{"type":40,"tag":435,"props":3965,"children":3966},{"style":615},[3967],{"type":45,"value":3968}," 3.2",{"type":40,"tag":435,"props":3970,"children":3971},{"style":469},[3972],{"type":45,"value":2924},{"type":40,"tag":435,"props":3974,"children":3975},{"class":437,"line":1596},[3976],{"type":40,"tag":435,"props":3977,"children":3978},{"style":469},[3979],{"type":45,"value":1560},{"type":40,"tag":435,"props":3981,"children":3982},{"class":437,"line":2927},[3983,3987,3992,3996,4000,4005,4010],{"type":40,"tag":435,"props":3984,"children":3985},{"style":469},[3986],{"type":45,"value":512},{"type":40,"tag":435,"props":3988,"children":3989},{"style":515},[3990],{"type":45,"value":3991},"byModelDailyUsd",{"type":40,"tag":435,"props":3993,"children":3994},{"style":469},[3995],{"type":45,"value":522},{"type":40,"tag":435,"props":3997,"children":3998},{"style":469},[3999],{"type":45,"value":527},{"type":40,"tag":435,"props":4001,"children":4002},{"style":469},[4003],{"type":45,"value":4004}," [",{"type":40,"tag":435,"props":4006,"children":4007},{"style":454},[4008],{"type":45,"value":4009},"...",{"type":40,"tag":435,"props":4011,"children":4012},{"style":469},[4013],{"type":45,"value":3357},{"type":40,"tag":435,"props":4015,"children":4017},{"class":437,"line":4016},22,[4018,4022,4027,4031,4035,4039,4043,4047,4051,4055,4059,4063,4067],{"type":40,"tag":435,"props":4019,"children":4020},{"style":469},[4021],{"type":45,"value":512},{"type":40,"tag":435,"props":4023,"children":4024},{"style":515},[4025],{"type":45,"value":4026},"topModels",{"type":40,"tag":435,"props":4028,"children":4029},{"style":469},[4030],{"type":45,"value":522},{"type":40,"tag":435,"props":4032,"children":4033},{"style":469},[4034],{"type":45,"value":527},{"type":40,"tag":435,"props":4036,"children":4037},{"style":469},[4038],{"type":45,"value":4004},{"type":40,"tag":435,"props":4040,"children":4041},{"style":469},[4042],{"type":45,"value":522},{"type":40,"tag":435,"props":4044,"children":4045},{"style":448},[4046],{"type":45,"value":3417},{"type":40,"tag":435,"props":4048,"children":4049},{"style":469},[4050],{"type":45,"value":522},{"type":40,"tag":435,"props":4052,"children":4053},{"style":469},[4054],{"type":45,"value":623},{"type":40,"tag":435,"props":4056,"children":4057},{"style":469},[4058],{"type":45,"value":472},{"type":40,"tag":435,"props":4060,"children":4061},{"style":448},[4062],{"type":45,"value":3955},{"type":40,"tag":435,"props":4064,"children":4065},{"style":469},[4066],{"type":45,"value":522},{"type":40,"tag":435,"props":4068,"children":4069},{"style":469},[4070],{"type":45,"value":3357},{"type":40,"tag":435,"props":4072,"children":4074},{"class":437,"line":4073},23,[4075,4079,4084,4088,4092],{"type":40,"tag":435,"props":4076,"children":4077},{"style":469},[4078],{"type":45,"value":512},{"type":40,"tag":435,"props":4080,"children":4081},{"style":515},[4082],{"type":45,"value":4083},"byKey",{"type":40,"tag":435,"props":4085,"children":4086},{"style":469},[4087],{"type":45,"value":522},{"type":40,"tag":435,"props":4089,"children":4090},{"style":469},[4091],{"type":45,"value":527},{"type":40,"tag":435,"props":4093,"children":4094},{"style":469},[4095],{"type":45,"value":1137},{"type":40,"tag":435,"props":4097,"children":4099},{"class":437,"line":4098},24,[4100,4104,4108,4113,4117,4121,4125,4130,4134,4138,4142,4147,4151,4155,4159,4164,4168],{"type":40,"tag":435,"props":4101,"children":4102},{"style":469},[4103],{"type":45,"value":3896},{"type":40,"tag":435,"props":4105,"children":4106},{"style":469},[4107],{"type":45,"value":472},{"type":40,"tag":435,"props":4109,"children":4110},{"style":442},[4111],{"type":45,"value":4112},"apiKeyId",{"type":40,"tag":435,"props":4114,"children":4115},{"style":469},[4116],{"type":45,"value":522},{"type":40,"tag":435,"props":4118,"children":4119},{"style":469},[4120],{"type":45,"value":527},{"type":40,"tag":435,"props":4122,"children":4123},{"style":469},[4124],{"type":45,"value":472},{"type":40,"tag":435,"props":4126,"children":4127},{"style":448},[4128],{"type":45,"value":4129},"key_abc123",{"type":40,"tag":435,"props":4131,"children":4132},{"style":469},[4133],{"type":45,"value":522},{"type":40,"tag":435,"props":4135,"children":4136},{"style":469},[4137],{"type":45,"value":623},{"type":40,"tag":435,"props":4139,"children":4140},{"style":469},[4141],{"type":45,"value":472},{"type":40,"tag":435,"props":4143,"children":4144},{"style":442},[4145],{"type":45,"value":4146},"description",{"type":40,"tag":435,"props":4148,"children":4149},{"style":469},[4150],{"type":45,"value":522},{"type":40,"tag":435,"props":4152,"children":4153},{"style":469},[4154],{"type":45,"value":527},{"type":40,"tag":435,"props":4156,"children":4157},{"style":469},[4158],{"type":45,"value":472},{"type":40,"tag":435,"props":4160,"children":4161},{"style":448},[4162],{"type":45,"value":4163},"Production Key",{"type":40,"tag":435,"props":4165,"children":4166},{"style":469},[4167],{"type":45,"value":522},{"type":40,"tag":435,"props":4169,"children":4170},{"style":469},[4171],{"type":45,"value":569},{"type":40,"tag":435,"props":4173,"children":4175},{"class":437,"line":4174},25,[4176,4180,4184,4188,4192,4197,4201,4205,4209,4213,4217,4222,4226,4230,4234,4238,4242,4247],{"type":40,"tag":435,"props":4177,"children":4178},{"style":469},[4179],{"type":45,"value":1153},{"type":40,"tag":435,"props":4181,"children":4182},{"style":442},[4183],{"type":45,"value":3511},{"type":40,"tag":435,"props":4185,"children":4186},{"style":469},[4187],{"type":45,"value":522},{"type":40,"tag":435,"props":4189,"children":4190},{"style":469},[4191],{"type":45,"value":527},{"type":40,"tag":435,"props":4193,"children":4194},{"style":615},[4195],{"type":45,"value":4196}," 0.8",{"type":40,"tag":435,"props":4198,"children":4199},{"style":469},[4200],{"type":45,"value":623},{"type":40,"tag":435,"props":4202,"children":4203},{"style":469},[4204],{"type":45,"value":472},{"type":40,"tag":435,"props":4206,"children":4207},{"style":442},[4208],{"type":45,"value":3540},{"type":40,"tag":435,"props":4210,"children":4211},{"style":469},[4212],{"type":45,"value":522},{"type":40,"tag":435,"props":4214,"children":4215},{"style":469},[4216],{"type":45,"value":527},{"type":40,"tag":435,"props":4218,"children":4219},{"style":615},[4220],{"type":45,"value":4221}," 15",{"type":40,"tag":435,"props":4223,"children":4224},{"style":469},[4225],{"type":45,"value":623},{"type":40,"tag":435,"props":4227,"children":4228},{"style":469},[4229],{"type":45,"value":472},{"type":40,"tag":435,"props":4231,"children":4232},{"style":442},[4233],{"type":45,"value":3569},{"type":40,"tag":435,"props":4235,"children":4236},{"style":469},[4237],{"type":45,"value":522},{"type":40,"tag":435,"props":4239,"children":4240},{"style":469},[4241],{"type":45,"value":527},{"type":40,"tag":435,"props":4243,"children":4244},{"style":615},[4245],{"type":45,"value":4246}," 75000",{"type":40,"tag":435,"props":4248,"children":4249},{"style":469},[4250],{"type":45,"value":650},{"type":40,"tag":435,"props":4252,"children":4254},{"class":437,"line":4253},26,[4255,4259,4263,4267,4271,4275,4280,4284,4288,4292,4296,4300,4305,4309],{"type":40,"tag":435,"props":4256,"children":4257},{"style":469},[4258],{"type":45,"value":3896},{"type":40,"tag":435,"props":4260,"children":4261},{"style":469},[4262],{"type":45,"value":472},{"type":40,"tag":435,"props":4264,"children":4265},{"style":442},[4266],{"type":45,"value":4112},{"type":40,"tag":435,"props":4268,"children":4269},{"style":469},[4270],{"type":45,"value":522},{"type":40,"tag":435,"props":4272,"children":4273},{"style":469},[4274],{"type":45,"value":527},{"type":40,"tag":435,"props":4276,"children":4277},{"style":469},[4278],{"type":45,"value":4279}," null,",{"type":40,"tag":435,"props":4281,"children":4282},{"style":469},[4283],{"type":45,"value":472},{"type":40,"tag":435,"props":4285,"children":4286},{"style":442},[4287],{"type":45,"value":4146},{"type":40,"tag":435,"props":4289,"children":4290},{"style":469},[4291],{"type":45,"value":522},{"type":40,"tag":435,"props":4293,"children":4294},{"style":469},[4295],{"type":45,"value":527},{"type":40,"tag":435,"props":4297,"children":4298},{"style":469},[4299],{"type":45,"value":472},{"type":40,"tag":435,"props":4301,"children":4302},{"style":448},[4303],{"type":45,"value":4304},"Web App",{"type":40,"tag":435,"props":4306,"children":4307},{"style":469},[4308],{"type":45,"value":522},{"type":40,"tag":435,"props":4310,"children":4311},{"style":469},[4312],{"type":45,"value":569},{"type":40,"tag":435,"props":4314,"children":4316},{"class":437,"line":4315},27,[4317,4321,4325,4329,4333,4338,4342,4346,4350,4354,4358,4363,4367,4371,4375,4379,4383,4388],{"type":40,"tag":435,"props":4318,"children":4319},{"style":469},[4320],{"type":45,"value":1153},{"type":40,"tag":435,"props":4322,"children":4323},{"style":442},[4324],{"type":45,"value":3511},{"type":40,"tag":435,"props":4326,"children":4327},{"style":469},[4328],{"type":45,"value":522},{"type":40,"tag":435,"props":4330,"children":4331},{"style":469},[4332],{"type":45,"value":527},{"type":40,"tag":435,"props":4334,"children":4335},{"style":615},[4336],{"type":45,"value":4337}," 0",{"type":40,"tag":435,"props":4339,"children":4340},{"style":469},[4341],{"type":45,"value":623},{"type":40,"tag":435,"props":4343,"children":4344},{"style":469},[4345],{"type":45,"value":472},{"type":40,"tag":435,"props":4347,"children":4348},{"style":442},[4349],{"type":45,"value":3540},{"type":40,"tag":435,"props":4351,"children":4352},{"style":469},[4353],{"type":45,"value":522},{"type":40,"tag":435,"props":4355,"children":4356},{"style":469},[4357],{"type":45,"value":527},{"type":40,"tag":435,"props":4359,"children":4360},{"style":615},[4361],{"type":45,"value":4362}," 4",{"type":40,"tag":435,"props":4364,"children":4365},{"style":469},[4366],{"type":45,"value":623},{"type":40,"tag":435,"props":4368,"children":4369},{"style":469},[4370],{"type":45,"value":472},{"type":40,"tag":435,"props":4372,"children":4373},{"style":442},[4374],{"type":45,"value":3569},{"type":40,"tag":435,"props":4376,"children":4377},{"style":469},[4378],{"type":45,"value":522},{"type":40,"tag":435,"props":4380,"children":4381},{"style":469},[4382],{"type":45,"value":527},{"type":40,"tag":435,"props":4384,"children":4385},{"style":615},[4386],{"type":45,"value":4387}," 25000",{"type":40,"tag":435,"props":4389,"children":4390},{"style":469},[4391],{"type":45,"value":2924},{"type":40,"tag":435,"props":4393,"children":4395},{"class":437,"line":4394},28,[4396],{"type":40,"tag":435,"props":4397,"children":4398},{"style":469},[4399],{"type":45,"value":1560},{"type":40,"tag":435,"props":4401,"children":4403},{"class":437,"line":4402},29,[4404,4408,4413,4417,4421,4425,4429],{"type":40,"tag":435,"props":4405,"children":4406},{"style":469},[4407],{"type":45,"value":512},{"type":40,"tag":435,"props":4409,"children":4410},{"style":515},[4411],{"type":45,"value":4412},"byKeyDaily",{"type":40,"tag":435,"props":4414,"children":4415},{"style":469},[4416],{"type":45,"value":522},{"type":40,"tag":435,"props":4418,"children":4419},{"style":469},[4420],{"type":45,"value":527},{"type":40,"tag":435,"props":4422,"children":4423},{"style":469},[4424],{"type":45,"value":4004},{"type":40,"tag":435,"props":4426,"children":4427},{"style":454},[4428],{"type":45,"value":4009},{"type":40,"tag":435,"props":4430,"children":4431},{"style":469},[4432],{"type":45,"value":3357},{"type":40,"tag":435,"props":4434,"children":4436},{"class":437,"line":4435},30,[4437,4441,4446,4450,4454,4458,4462],{"type":40,"tag":435,"props":4438,"children":4439},{"style":469},[4440],{"type":45,"value":512},{"type":40,"tag":435,"props":4442,"children":4443},{"style":515},[4444],{"type":45,"value":4445},"byKeyDailyUsd",{"type":40,"tag":435,"props":4447,"children":4448},{"style":469},[4449],{"type":45,"value":522},{"type":40,"tag":435,"props":4451,"children":4452},{"style":469},[4453],{"type":45,"value":527},{"type":40,"tag":435,"props":4455,"children":4456},{"style":469},[4457],{"type":45,"value":4004},{"type":40,"tag":435,"props":4459,"children":4460},{"style":454},[4461],{"type":45,"value":4009},{"type":40,"tag":435,"props":4463,"children":4464},{"style":469},[4465],{"type":45,"value":3357},{"type":40,"tag":435,"props":4467,"children":4469},{"class":437,"line":4468},31,[4470,4474,4479,4483,4487,4491,4495],{"type":40,"tag":435,"props":4471,"children":4472},{"style":469},[4473],{"type":45,"value":512},{"type":40,"tag":435,"props":4475,"children":4476},{"style":515},[4477],{"type":45,"value":4478},"topKeyNames",{"type":40,"tag":435,"props":4480,"children":4481},{"style":469},[4482],{"type":45,"value":522},{"type":40,"tag":435,"props":4484,"children":4485},{"style":469},[4486],{"type":45,"value":527},{"type":40,"tag":435,"props":4488,"children":4489},{"style":469},[4490],{"type":45,"value":4004},{"type":40,"tag":435,"props":4492,"children":4493},{"style":454},[4494],{"type":45,"value":4009},{"type":40,"tag":435,"props":4496,"children":4497},{"style":469},[4498],{"type":45,"value":4499},"]\n",{"type":40,"tag":435,"props":4501,"children":4503},{"class":437,"line":4502},32,[4504],{"type":40,"tag":435,"props":4505,"children":4506},{"style":469},[4507],{"type":45,"value":685},{"type":40,"tag":687,"props":4509,"children":4510},{},[4511,4533,4549],{"type":40,"tag":326,"props":4512,"children":4513},{},[4514,4519,4520,4525,4526,4531],{"type":40,"tag":96,"props":4515,"children":4517},{"className":4516},[],[4518],{"type":45,"value":3249},{"type":45,"value":1026},{"type":40,"tag":96,"props":4521,"children":4523},{"className":4522},[],[4524],{"type":45,"value":3876},{"type":45,"value":1026},{"type":40,"tag":96,"props":4527,"children":4529},{"className":4528},[],[4530],{"type":45,"value":4412},{"type":45,"value":4532}," are pre-shaped for time-series charts.",{"type":40,"tag":326,"props":4534,"children":4535},{},[4536,4541,4542,4547],{"type":40,"tag":96,"props":4537,"children":4539},{"className":4538},[],[4540],{"type":45,"value":4026},{"type":45,"value":1026},{"type":40,"tag":96,"props":4543,"children":4545},{"className":4544},[],[4546],{"type":45,"value":4478},{"type":45,"value":4548}," give top-8 names for legend rendering.",{"type":40,"tag":326,"props":4550,"children":4551},{},[4552,4558,4560,4565],{"type":40,"tag":96,"props":4553,"children":4555},{"className":4554},[],[4556],{"type":45,"value":4557},"apiKeyId: null",{"type":45,"value":4559}," in ",{"type":40,"tag":96,"props":4561,"children":4563},{"className":4562},[],[4564],{"type":45,"value":4083},{"type":45,"value":4566}," means the usage originated from Venice's web app.",{"type":40,"tag":310,"props":4568,"children":4570},{"id":4569},"recipes",[4571],{"type":45,"value":4572},"Recipes",{"type":40,"tag":893,"props":4574,"children":4576},{"id":4575},"abort-before-calling-inference-if-balance-is-empty",[4577],{"type":45,"value":4578},"Abort before calling inference if balance is empty",{"type":40,"tag":424,"props":4580,"children":4582},{"className":1686,"code":4581,"language":1688,"meta":429,"style":429},"const { canConsume } = await fetch(`${base}\u002Fbilling\u002Fbalance`, { headers }).then(r => r.json())\nif (!canConsume) throw new Error('Venice balance exhausted — top up before continuing')\n",[4583],{"type":40,"tag":96,"props":4584,"children":4585},{"__ignoreMap":429},[4586,4702],{"type":40,"tag":435,"props":4587,"children":4588},{"class":437,"line":438},[4589,4594,4598,4603,4607,4611,4615,4619,4623,4628,4632,4636,4640,4645,4649,4653,4658,4662,4666,4670,4674,4678,4682,4686,4690,4694,4698],{"type":40,"tag":435,"props":4590,"children":4591},{"style":515},[4592],{"type":45,"value":4593},"const",{"type":40,"tag":435,"props":4595,"children":4596},{"style":469},[4597],{"type":45,"value":595},{"type":40,"tag":435,"props":4599,"children":4600},{"style":454},[4601],{"type":45,"value":4602}," canConsume ",{"type":40,"tag":435,"props":4604,"children":4605},{"style":469},[4606],{"type":45,"value":1725},{"type":40,"tag":435,"props":4608,"children":4609},{"style":469},[4610],{"type":45,"value":1809},{"type":40,"tag":435,"props":4612,"children":4613},{"style":1769},[4614],{"type":45,"value":1814},{"type":40,"tag":435,"props":4616,"children":4617},{"style":1817},[4618],{"type":45,"value":1820},{"type":40,"tag":435,"props":4620,"children":4621},{"style":454},[4622],{"type":45,"value":372},{"type":40,"tag":435,"props":4624,"children":4625},{"style":469},[4626],{"type":45,"value":4627},"`${",{"type":40,"tag":435,"props":4629,"children":4630},{"style":454},[4631],{"type":45,"value":1720},{"type":40,"tag":435,"props":4633,"children":4634},{"style":469},[4635],{"type":45,"value":1725},{"type":40,"tag":435,"props":4637,"children":4638},{"style":448},[4639],{"type":45,"value":404},{"type":40,"tag":435,"props":4641,"children":4642},{"style":469},[4643],{"type":45,"value":4644},"`",{"type":40,"tag":435,"props":4646,"children":4647},{"style":469},[4648],{"type":45,"value":623},{"type":40,"tag":435,"props":4650,"children":4651},{"style":469},[4652],{"type":45,"value":595},{"type":40,"tag":435,"props":4654,"children":4655},{"style":454},[4656],{"type":45,"value":4657}," headers ",{"type":40,"tag":435,"props":4659,"children":4660},{"style":469},[4661],{"type":45,"value":1725},{"type":40,"tag":435,"props":4663,"children":4664},{"style":454},[4665],{"type":45,"value":1853},{"type":40,"tag":435,"props":4667,"children":4668},{"style":469},[4669],{"type":45,"value":1039},{"type":40,"tag":435,"props":4671,"children":4672},{"style":1817},[4673],{"type":45,"value":1862},{"type":40,"tag":435,"props":4675,"children":4676},{"style":454},[4677],{"type":45,"value":372},{"type":40,"tag":435,"props":4679,"children":4680},{"style":1869},[4681],{"type":45,"value":1872},{"type":40,"tag":435,"props":4683,"children":4684},{"style":515},[4685],{"type":45,"value":1877},{"type":40,"tag":435,"props":4687,"children":4688},{"style":454},[4689],{"type":45,"value":1882},{"type":40,"tag":435,"props":4691,"children":4692},{"style":469},[4693],{"type":45,"value":1039},{"type":40,"tag":435,"props":4695,"children":4696},{"style":1817},[4697],{"type":45,"value":492},{"type":40,"tag":435,"props":4699,"children":4700},{"style":454},[4701],{"type":45,"value":1895},{"type":40,"tag":435,"props":4703,"children":4704},{"class":437,"line":460},[4705,4710,4714,4719,4724,4729,4734,4739,4743,4748,4753,4757],{"type":40,"tag":435,"props":4706,"children":4707},{"style":1769},[4708],{"type":45,"value":4709},"if",{"type":40,"tag":435,"props":4711,"children":4712},{"style":454},[4713],{"type":45,"value":1777},{"type":40,"tag":435,"props":4715,"children":4716},{"style":469},[4717],{"type":45,"value":4718},"!",{"type":40,"tag":435,"props":4720,"children":4721},{"style":454},[4722],{"type":45,"value":4723},"canConsume) ",{"type":40,"tag":435,"props":4725,"children":4726},{"style":1769},[4727],{"type":45,"value":4728},"throw",{"type":40,"tag":435,"props":4730,"children":4731},{"style":469},[4732],{"type":45,"value":4733}," new",{"type":40,"tag":435,"props":4735,"children":4736},{"style":1817},[4737],{"type":45,"value":4738}," Error",{"type":40,"tag":435,"props":4740,"children":4741},{"style":454},[4742],{"type":45,"value":372},{"type":40,"tag":435,"props":4744,"children":4745},{"style":469},[4746],{"type":45,"value":4747},"'",{"type":40,"tag":435,"props":4749,"children":4750},{"style":448},[4751],{"type":45,"value":4752},"Venice balance exhausted — top up before continuing",{"type":40,"tag":435,"props":4754,"children":4755},{"style":469},[4756],{"type":45,"value":4747},{"type":40,"tag":435,"props":4758,"children":4759},{"style":454},[4760],{"type":45,"value":1925},{"type":40,"tag":893,"props":4762,"children":4764},{"id":4763},"monthly-csv-export",[4765],{"type":45,"value":4766},"Monthly CSV export",{"type":40,"tag":424,"props":4768,"children":4770},{"className":426,"code":4769,"language":428,"meta":429,"style":429},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-04-01T00:00:00Z&endTimestamp=2026-05-01T00:00:00Z&pageSize=1000\" \\\n  -H \"Authorization: Bearer $VENICE_ADMIN_KEY\" \\\n  -H \"Accept: text\u002Fcsv\" \\\n  -o billing-april.csv\n",[4771],{"type":40,"tag":96,"props":4772,"children":4773},{"__ignoreMap":429},[4774,4798,4825,4848],{"type":40,"tag":435,"props":4775,"children":4776},{"class":437,"line":438},[4777,4781,4785,4790,4794],{"type":40,"tag":435,"props":4778,"children":4779},{"style":442},[4780],{"type":45,"value":445},{"type":40,"tag":435,"props":4782,"children":4783},{"style":469},[4784],{"type":45,"value":472},{"type":40,"tag":435,"props":4786,"children":4787},{"style":448},[4788],{"type":45,"value":4789},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fbilling\u002Fusage-history?startTimestamp=2026-04-01T00:00:00Z&endTimestamp=2026-05-01T00:00:00Z&pageSize=1000",{"type":40,"tag":435,"props":4791,"children":4792},{"style":469},[4793],{"type":45,"value":522},{"type":40,"tag":435,"props":4795,"children":4796},{"style":454},[4797],{"type":45,"value":457},{"type":40,"tag":435,"props":4799,"children":4800},{"class":437,"line":460},[4801,4805,4809,4813,4817,4821],{"type":40,"tag":435,"props":4802,"children":4803},{"style":448},[4804],{"type":45,"value":466},{"type":40,"tag":435,"props":4806,"children":4807},{"style":469},[4808],{"type":45,"value":472},{"type":40,"tag":435,"props":4810,"children":4811},{"style":448},[4812],{"type":45,"value":477},{"type":40,"tag":435,"props":4814,"children":4815},{"style":454},[4816],{"type":45,"value":863},{"type":40,"tag":435,"props":4818,"children":4819},{"style":469},[4820],{"type":45,"value":522},{"type":40,"tag":435,"props":4822,"children":4823},{"style":454},[4824],{"type":45,"value":457},{"type":40,"tag":435,"props":4826,"children":4827},{"class":437,"line":535},[4828,4832,4836,4840,4844],{"type":40,"tag":435,"props":4829,"children":4830},{"style":448},[4831],{"type":45,"value":466},{"type":40,"tag":435,"props":4833,"children":4834},{"style":469},[4835],{"type":45,"value":472},{"type":40,"tag":435,"props":4837,"children":4838},{"style":448},[4839],{"type":45,"value":1632},{"type":40,"tag":435,"props":4841,"children":4842},{"style":469},[4843],{"type":45,"value":522},{"type":40,"tag":435,"props":4845,"children":4846},{"style":454},[4847],{"type":45,"value":457},{"type":40,"tag":435,"props":4849,"children":4850},{"class":437,"line":572},[4851,4856],{"type":40,"tag":435,"props":4852,"children":4853},{"style":448},[4854],{"type":45,"value":4855},"  -o",{"type":40,"tag":435,"props":4857,"children":4858},{"style":448},[4859],{"type":45,"value":4860}," billing-april.csv\n",{"type":40,"tag":48,"props":4862,"children":4863},{},[4864,4866,4871,4873,4879],{"type":45,"value":4865},"Read ",{"type":40,"tag":96,"props":4867,"children":4869},{"className":4868},[],[4870],{"type":45,"value":1655},{"type":45,"value":4872}," off the response and re-request with ",{"type":40,"tag":96,"props":4874,"children":4876},{"className":4875},[],[4877],{"type":45,"value":4878},"?cursor=\u003Ctoken>",{"type":45,"value":4880}," (and\nno other parameters) until the header is absent.",{"type":40,"tag":893,"props":4882,"children":4884},{"id":4883},"top-models-chart",[4885],{"type":45,"value":4886},"Top-models chart",{"type":40,"tag":424,"props":4888,"children":4890},{"className":1686,"code":4889,"language":1688,"meta":429,"style":429},"const a = await fetch(`${base}\u002Fbilling\u002Fusage-analytics?lookback=30d`, { headers }).then(r => r.json())\n\u002F\u002F chart(a.byModelDaily, { series: a.topModels, xField: 'date' })\n",[4891],{"type":40,"tag":96,"props":4892,"children":4893},{"__ignoreMap":429},[4894,4999],{"type":40,"tag":435,"props":4895,"children":4896},{"class":437,"line":438},[4897,4901,4906,4910,4914,4918,4922,4926,4930,4934,4939,4943,4947,4951,4955,4959,4963,4967,4971,4975,4979,4983,4987,4991,4995],{"type":40,"tag":435,"props":4898,"children":4899},{"style":515},[4900],{"type":45,"value":4593},{"type":40,"tag":435,"props":4902,"children":4903},{"style":454},[4904],{"type":45,"value":4905}," a ",{"type":40,"tag":435,"props":4907,"children":4908},{"style":469},[4909],{"type":45,"value":1710},{"type":40,"tag":435,"props":4911,"children":4912},{"style":1769},[4913],{"type":45,"value":1814},{"type":40,"tag":435,"props":4915,"children":4916},{"style":1817},[4917],{"type":45,"value":1820},{"type":40,"tag":435,"props":4919,"children":4920},{"style":454},[4921],{"type":45,"value":372},{"type":40,"tag":435,"props":4923,"children":4924},{"style":469},[4925],{"type":45,"value":4627},{"type":40,"tag":435,"props":4927,"children":4928},{"style":454},[4929],{"type":45,"value":1720},{"type":40,"tag":435,"props":4931,"children":4932},{"style":469},[4933],{"type":45,"value":1725},{"type":40,"tag":435,"props":4935,"children":4936},{"style":448},[4937],{"type":45,"value":4938},"\u002Fbilling\u002Fusage-analytics?lookback=30d",{"type":40,"tag":435,"props":4940,"children":4941},{"style":469},[4942],{"type":45,"value":4644},{"type":40,"tag":435,"props":4944,"children":4945},{"style":469},[4946],{"type":45,"value":623},{"type":40,"tag":435,"props":4948,"children":4949},{"style":469},[4950],{"type":45,"value":595},{"type":40,"tag":435,"props":4952,"children":4953},{"style":454},[4954],{"type":45,"value":4657},{"type":40,"tag":435,"props":4956,"children":4957},{"style":469},[4958],{"type":45,"value":1725},{"type":40,"tag":435,"props":4960,"children":4961},{"style":454},[4962],{"type":45,"value":1853},{"type":40,"tag":435,"props":4964,"children":4965},{"style":469},[4966],{"type":45,"value":1039},{"type":40,"tag":435,"props":4968,"children":4969},{"style":1817},[4970],{"type":45,"value":1862},{"type":40,"tag":435,"props":4972,"children":4973},{"style":454},[4974],{"type":45,"value":372},{"type":40,"tag":435,"props":4976,"children":4977},{"style":1869},[4978],{"type":45,"value":1872},{"type":40,"tag":435,"props":4980,"children":4981},{"style":515},[4982],{"type":45,"value":1877},{"type":40,"tag":435,"props":4984,"children":4985},{"style":454},[4986],{"type":45,"value":1882},{"type":40,"tag":435,"props":4988,"children":4989},{"style":469},[4990],{"type":45,"value":1039},{"type":40,"tag":435,"props":4992,"children":4993},{"style":1817},[4994],{"type":45,"value":492},{"type":40,"tag":435,"props":4996,"children":4997},{"style":454},[4998],{"type":45,"value":1895},{"type":40,"tag":435,"props":5000,"children":5001},{"class":437,"line":460},[5002],{"type":40,"tag":435,"props":5003,"children":5005},{"style":5004},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[5006],{"type":45,"value":5007},"\u002F\u002F chart(a.byModelDaily, { series: a.topModels, xField: 'date' })\n",{"type":40,"tag":310,"props":5009,"children":5011},{"id":5010},"errors",[5012],{"type":45,"value":5013},"Errors",{"type":40,"tag":62,"props":5015,"children":5016},{},[5017,5033],{"type":40,"tag":66,"props":5018,"children":5019},{},[5020],{"type":40,"tag":70,"props":5021,"children":5022},{},[5023,5028],{"type":40,"tag":74,"props":5024,"children":5025},{},[5026],{"type":45,"value":5027},"Code",{"type":40,"tag":74,"props":5029,"children":5030},{},[5031],{"type":45,"value":5032},"Meaning",{"type":40,"tag":85,"props":5034,"children":5035},{},[5036,5109,5151,5179,5201,5218],{"type":40,"tag":70,"props":5037,"children":5038},{},[5039,5047],{"type":40,"tag":92,"props":5040,"children":5041},{},[5042],{"type":40,"tag":96,"props":5043,"children":5045},{"className":5044},[],[5046],{"type":45,"value":931},{"type":40,"tag":92,"props":5048,"children":5049},{},[5050,5052,5057,5059,5064,5066,5072,5074,5079,5081,5086,5088,5093,5094,5100,5102,5107],{"type":45,"value":5051},"Bad params (",{"type":40,"tag":96,"props":5053,"children":5055},{"className":5054},[],[5056],{"type":45,"value":2199},{"type":45,"value":5058}," without ",{"type":40,"tag":96,"props":5060,"children":5062},{"className":5061},[],[5063],{"type":45,"value":2206},{"type":45,"value":5065},", calendar range > 90 days). On ",{"type":40,"tag":96,"props":5067,"children":5069},{"className":5068},[],[5070],{"type":45,"value":5071},"\u002Fbilling\u002Fusage-history",{"type":45,"value":5073},": a ",{"type":40,"tag":96,"props":5075,"children":5077},{"className":5076},[],[5078],{"type":45,"value":923},{"type":45,"value":5080}," sent with any filter, an unknown parameter, or ",{"type":40,"tag":96,"props":5082,"children":5084},{"className":5083},[],[5085],{"type":45,"value":992},{"type":45,"value":5087}," not later than ",{"type":40,"tag":96,"props":5089,"children":5091},{"className":5090},[],[5092],{"type":45,"value":967},{"type":45,"value":237},{"type":40,"tag":96,"props":5095,"children":5097},{"className":5096},[],[5098],{"type":45,"value":5099},"lookback=100d",{"type":45,"value":5101}," is silently ",{"type":40,"tag":54,"props":5103,"children":5104},{},[5105],{"type":45,"value":5106},"clamped",{"type":45,"value":5108}," to 90 days rather than rejected.",{"type":40,"tag":70,"props":5110,"children":5111},{},[5112,5120],{"type":40,"tag":92,"props":5113,"children":5114},{},[5115],{"type":40,"tag":96,"props":5116,"children":5118},{"className":5117},[],[5119],{"type":45,"value":235},{"type":40,"tag":92,"props":5121,"children":5122},{},[5123,5125,5130,5132,5137,5138,5143,5144,5149],{"type":45,"value":5124},"Auth failed, or ",{"type":40,"tag":96,"props":5126,"children":5128},{"className":5127},[],[5129],{"type":45,"value":227},{"type":45,"value":5131}," key used on ",{"type":40,"tag":96,"props":5133,"children":5135},{"className":5134},[],[5136],{"type":45,"value":404},{"type":45,"value":200},{"type":40,"tag":96,"props":5139,"children":5141},{"className":5140},[],[5142],{"type":45,"value":5071},{"type":45,"value":755},{"type":40,"tag":96,"props":5145,"children":5147},{"className":5146},[],[5148],{"type":45,"value":1668},{"type":45,"value":5150}," (ADMIN required).",{"type":40,"tag":70,"props":5152,"children":5153},{},[5154,5163],{"type":40,"tag":92,"props":5155,"children":5156},{},[5157],{"type":40,"tag":96,"props":5158,"children":5160},{"className":5159},[],[5161],{"type":45,"value":5162},"410",{"type":40,"tag":92,"props":5164,"children":5165},{},[5166,5171,5173,5178],{"type":40,"tag":96,"props":5167,"children":5169},{"className":5168},[],[5170],{"type":45,"value":1668},{"type":45,"value":5172}," only — the account was created on or after 2026-07-07 and must use ",{"type":40,"tag":96,"props":5174,"children":5176},{"className":5175},[],[5177],{"type":45,"value":5071},{"type":45,"value":1039},{"type":40,"tag":70,"props":5180,"children":5181},{},[5182,5191],{"type":40,"tag":92,"props":5183,"children":5184},{},[5185],{"type":40,"tag":96,"props":5186,"children":5188},{"className":5187},[],[5189],{"type":45,"value":5190},"429",{"type":40,"tag":92,"props":5192,"children":5193},{},[5194,5199],{"type":40,"tag":96,"props":5195,"children":5197},{"className":5196},[],[5198],{"type":45,"value":1668},{"type":45,"value":5200}," only — the deprecated 1 request\u002Fminute cap.",{"type":40,"tag":70,"props":5202,"children":5203},{},[5204,5213],{"type":40,"tag":92,"props":5205,"children":5206},{},[5207],{"type":40,"tag":96,"props":5208,"children":5210},{"className":5209},[],[5211],{"type":45,"value":5212},"500",{"type":40,"tag":92,"props":5214,"children":5215},{},[5216],{"type":45,"value":5217},"Internal error.",{"type":40,"tag":70,"props":5219,"children":5220},{},[5221,5230],{"type":40,"tag":92,"props":5222,"children":5223},{},[5224],{"type":40,"tag":96,"props":5225,"children":5227},{"className":5226},[],[5228],{"type":45,"value":5229},"504",{"type":40,"tag":92,"props":5231,"children":5232},{},[5233,5235,5240],{"type":45,"value":5234},"Analytics query timed out — shorten ",{"type":40,"tag":96,"props":5236,"children":5238},{"className":5237},[],[5239],{"type":45,"value":3213},{"type":45,"value":5241}," or date range.",{"type":40,"tag":310,"props":5243,"children":5245},{"id":5244},"gotchas",[5246],{"type":45,"value":5247},"Gotchas",{"type":40,"tag":687,"props":5249,"children":5250},{},[5251,5270,5282,5342,5391,5422,5438,5450,5487,5499],{"type":40,"tag":326,"props":5252,"children":5253},{},[5254,5256,5260,5262,5268],{"type":45,"value":5255},"This is ",{"type":40,"tag":54,"props":5257,"children":5258},{},[5259],{"type":45,"value":58},{"type":45,"value":5261}," — field names may shift. Validate against ",{"type":40,"tag":96,"props":5263,"children":5265},{"className":5264},[],[5266],{"type":45,"value":5267},"swagger.yaml",{"type":45,"value":5269}," periodically.",{"type":40,"tag":326,"props":5271,"children":5272},{},[5273,5275,5280],{"type":45,"value":5274},"Don't build anything new on ",{"type":40,"tag":96,"props":5276,"children":5278},{"className":5277},[],[5279],{"type":45,"value":1668},{"type":45,"value":5281},". One request per minute is not a pagination budget, and new accounts can't call it at all.",{"type":40,"tag":326,"props":5283,"children":5284},{},[5285,5290,5292,5297,5298,5303,5304,5309,5311,5316,5317,5322,5323,5328,5329,5334,5335,5340],{"type":40,"tag":96,"props":5286,"children":5288},{"className":5287},[],[5289],{"type":45,"value":5071},{"type":45,"value":5291}," takes ",{"type":40,"tag":96,"props":5293,"children":5295},{"className":5294},[],[5296],{"type":45,"value":967},{"type":45,"value":1026},{"type":40,"tag":96,"props":5299,"children":5301},{"className":5300},[],[5302],{"type":45,"value":992},{"type":45,"value":1026},{"type":40,"tag":96,"props":5305,"children":5307},{"className":5306},[],[5308],{"type":45,"value":1051},{"type":45,"value":5310},"; ",{"type":40,"tag":96,"props":5312,"children":5314},{"className":5313},[],[5315],{"type":45,"value":1668},{"type":45,"value":5291},{"type":40,"tag":96,"props":5318,"children":5320},{"className":5319},[],[5321],{"type":45,"value":2199},{"type":45,"value":1026},{"type":40,"tag":96,"props":5324,"children":5326},{"className":5325},[],[5327],{"type":45,"value":2206},{"type":45,"value":1026},{"type":40,"tag":96,"props":5330,"children":5332},{"className":5331},[],[5333],{"type":45,"value":2223},{"type":45,"value":1026},{"type":40,"tag":96,"props":5336,"children":5338},{"className":5337},[],[5339],{"type":45,"value":1912},{"type":45,"value":5341},". The parameter names do not carry over when you migrate.",{"type":40,"tag":326,"props":5343,"children":5344},{},[5345,5350,5352,5357,5358,5363,5364,5369,5371,5376,5378,5383,5385,5390],{"type":40,"tag":96,"props":5346,"children":5348},{"className":5347},[],[5349],{"type":45,"value":5071},{"type":45,"value":5351}," accepts ",{"type":40,"tag":96,"props":5353,"children":5355},{"className":5354},[],[5356],{"type":45,"value":365},{"type":45,"value":200},{"type":40,"tag":96,"props":5359,"children":5361},{"className":5360},[],[5362],{"type":45,"value":337},{"type":45,"value":207},{"type":40,"tag":96,"props":5365,"children":5367},{"className":5366},[],[5368],{"type":45,"value":351},{"type":45,"value":5370}," for ",{"type":40,"tag":96,"props":5372,"children":5374},{"className":5373},[],[5375],{"type":45,"value":1016},{"type":45,"value":5377},". Legacy ",{"type":40,"tag":96,"props":5379,"children":5381},{"className":5380},[],[5382],{"type":45,"value":378},{"type":45,"value":5384}," is only on ",{"type":40,"tag":96,"props":5386,"children":5388},{"className":5387},[],[5389],{"type":45,"value":1668},{"type":45,"value":1039},{"type":40,"tag":326,"props":5392,"children":5393},{},[5394,5399,5401,5406,5408,5413,5415,5420],{"type":40,"tag":96,"props":5395,"children":5397},{"className":5396},[],[5398],{"type":45,"value":1016},{"type":45,"value":5400}," values on ",{"type":40,"tag":96,"props":5402,"children":5404},{"className":5403},[],[5405],{"type":45,"value":1668},{"type":45,"value":5407}," include legacy ",{"type":40,"tag":96,"props":5409,"children":5411},{"className":5410},[],[5412],{"type":45,"value":378},{"type":45,"value":5414}," — use ",{"type":40,"tag":96,"props":5416,"children":5418},{"className":5417},[],[5419],{"type":45,"value":337},{"type":45,"value":5421}," instead in new code.",{"type":40,"tag":326,"props":5423,"children":5424},{},[5425,5430,5431,5436],{"type":40,"tag":96,"props":5426,"children":5428},{"className":5427},[],[5429],{"type":45,"value":1396},{"type":45,"value":740},{"type":40,"tag":96,"props":5432,"children":5434},{"className":5433},[],[5435],{"type":45,"value":761},{"type":45,"value":5437}," for non-inference SKUs (e.g. subscription charges).",{"type":40,"tag":326,"props":5439,"children":5440},{},[5441,5443,5448],{"type":45,"value":5442},"The analytics endpoint is ",{"type":40,"tag":54,"props":5444,"children":5445},{},[5446],{"type":45,"value":5447},"cached 10 min",{"type":45,"value":5449}," — sudden spikes lag in the dashboard by that window.",{"type":40,"tag":326,"props":5451,"children":5452},{},[5453,5459,5461,5466,5467,5473,5474,5485],{"type":40,"tag":96,"props":5454,"children":5456},{"className":5455},[],[5457],{"type":45,"value":5458},"byModelDaily.date",{"type":45,"value":5460}," is a ",{"type":40,"tag":54,"props":5462,"children":5463},{},[5464],{"type":45,"value":5465},"Unix milliseconds integer",{"type":45,"value":5310},{"type":40,"tag":96,"props":5468,"children":5470},{"className":5469},[],[5471],{"type":45,"value":5472},"byDate.date",{"type":45,"value":5460},{"type":40,"tag":54,"props":5475,"children":5476},{},[5477,5483],{"type":40,"tag":96,"props":5478,"children":5480},{"className":5479},[],[5481],{"type":45,"value":5482},"YYYY-MM-DD",{"type":45,"value":5484}," string",{"type":45,"value":5486},". Don't mix them.",{"type":40,"tag":326,"props":5488,"children":5489},{},[5490,5492,5497],{"type":45,"value":5491},"Usage entries from the Venice web app have ",{"type":40,"tag":96,"props":5493,"children":5495},{"className":5494},[],[5496],{"type":45,"value":4557},{"type":45,"value":5498}," — don't drop them when reconciling.",{"type":40,"tag":326,"props":5500,"children":5501},{},[5502,5504,5510],{"type":45,"value":5503},"For x402 (wallet) balance, don't use this endpoint — use ",{"type":40,"tag":96,"props":5505,"children":5507},{"className":5506},[],[5508],{"type":45,"value":5509},"GET \u002Fx402\u002Fbalance\u002F{walletAddress}",{"type":45,"value":1039},{"type":40,"tag":5512,"props":5513,"children":5514},"style",{},[5515],{"type":45,"value":5516},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":5518,"total":1596},[5519,5535,5546,5559,5573,5588,5605],{"slug":5520,"name":5520,"fn":5521,"description":5522,"org":5523,"tags":5524,"stars":23,"repoUrl":24,"updatedAt":5534},"venice-api-keys","manage Venice API keys and rate limits","Manage Venice API keys. Covers GET\u002FPOST\u002FPATCH\u002FDELETE \u002Fapi_keys, GET \u002Fapi_keys\u002F{id}, GET \u002Fapi_keys\u002Frate_limits, GET \u002Fapi_keys\u002Frate_limits\u002Flog, the two-step \u002Fapi_keys\u002Fgenerate_web3_key wallet flow, INFERENCE vs ADMIN key types, and per-key consumption limits (USD \u002F DIEM).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5525,5528,5531],{"name":5526,"slug":5527,"type":16},"API Development","api-development",{"name":5529,"slug":5530,"type":16},"Authentication","authentication",{"name":5532,"slug":5533,"type":16},"Security","security","2026-07-17T06:05:40.24171",{"slug":5536,"name":5536,"fn":5537,"description":5538,"org":5539,"tags":5540,"stars":23,"repoUrl":24,"updatedAt":5545},"venice-api-overview","integrate with Venice AI API","High-level map of the Venice.ai API - base URL, authentication modes, endpoint categories, response headers, pricing model, error shape, and versioning. Load this first when starting any Venice integration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5541,5542],{"name":5526,"slug":5527,"type":16},{"name":5543,"slug":5544,"type":16},"Documentation","documentation","2026-08-01T05:43:18.703041",{"slug":5547,"name":5547,"fn":5548,"description":5549,"org":5550,"tags":5551,"stars":23,"repoUrl":24,"updatedAt":5558},"venice-audio-music","generate music and audio tracks","Async music \u002F audio-track generation via Venice. Covers the \u002Faudio\u002Fquote + \u002Faudio\u002Fqueue + \u002Faudio\u002Fretrieve + \u002Faudio\u002Fcomplete lifecycle, lyrics vs instrumental, voice selection, duration, language, speed, model capability probing, and webhook-free polling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5552,5555],{"name":5553,"slug":5554,"type":16},"Audio","audio",{"name":5556,"slug":5557,"type":16},"Creative","creative","2026-07-17T06:04:02.174106",{"slug":5560,"name":5560,"fn":5561,"description":5562,"org":5563,"tags":5564,"stars":23,"repoUrl":24,"updatedAt":5572},"venice-audio-speech","generate speech from text","Generate speech from text via POST \u002Faudio\u002Fspeech, and clone a voice via POST \u002Faudio\u002Fvoices. Covers TTS models (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash, Gradium), voices per family, cloned-voice handles, output formats (mp3\u002Fopus\u002Faac\u002Fflac\u002Fwav\u002Fpcm), streaming, prompt\u002Femotion styling, temperature\u002Ftop_p, and language hints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5565,5566,5569],{"name":5553,"slug":5554,"type":16},{"name":5567,"slug":5568,"type":16},"Speech","speech",{"name":5570,"slug":5571,"type":16},"Text-to-Speech","text-to-speech","2026-08-01T05:43:12.713524",{"slug":5574,"name":5574,"fn":5575,"description":5576,"org":5577,"tags":5578,"stars":23,"repoUrl":24,"updatedAt":5587},"venice-audio-transcription","transcribe audio files to text","Transcribe audio files to text via POST \u002Faudio\u002Ftranscriptions. Covers supported models (Parakeet, Whisper, Wizper, Scribe, xAI STT), supported formats (wav\u002Fflac\u002Fm4a\u002Faac\u002Fmp4\u002Fmp3\u002Fogg\u002Fwebm), response formats (json\u002Ftext), timestamps, and language hints. OpenAI-compatible multipart.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5579,5580,5583,5584],{"name":5553,"slug":5554,"type":16},{"name":5581,"slug":5582,"type":16},"Data Extraction","data-extraction",{"name":5567,"slug":5568,"type":16},{"name":5585,"slug":5586,"type":16},"Transcription","transcription","2026-07-17T06:04:05.524355",{"slug":5589,"name":5589,"fn":5590,"description":5591,"org":5592,"tags":5593,"stars":23,"repoUrl":24,"updatedAt":5604},"venice-augment","extract and parse text from documents","Venice augmentation endpoints for agent pipelines. Covers POST \u002Faugment\u002Ftext-parser (extract text from PDF\u002FDOCX\u002FXLSX\u002Fplain text, multipart, up to 25MB, JSON or plain text response), POST \u002Faugment\u002Fscrape (fetch a URL and return markdown; blocks X\u002FReddit), and POST \u002Faugment\u002Fsearch (Brave ZDR or anonymized Google; structured title\u002Furl\u002Fcontent\u002Fdate results, up to 20 per query). Privacy (zero data retention), rate limits, and error shapes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5594,5595,5598,5601],{"name":5581,"slug":5582,"type":16},{"name":5596,"slug":5597,"type":16},"DOCX","docx",{"name":5599,"slug":5600,"type":16},"PDF","pdf",{"name":5602,"slug":5603,"type":16},"Spreadsheets","spreadsheets","2026-07-17T06:04:00.77979",{"slug":5606,"name":5606,"fn":5607,"description":5608,"org":5609,"tags":5610,"stars":23,"repoUrl":24,"updatedAt":5617},"venice-auth","authenticate to Venice API","Authenticate to the Venice API with a Bearer API key or with an x402 \u002F SIWX wallet (EVM on Base or Ed25519 on Solana). Covers the SIGN-IN-WITH-X header format, the SIWE and Solana message fields, TTL and nonce rules, the venice-x402-client SDK, and how to choose between the two modes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5611,5612,5615],{"name":5526,"slug":5527,"type":16},{"name":5613,"slug":5614,"type":16},"Auth","auth",{"name":5616,"slug":5616,"type":16},"x402","2026-08-01T05:43:14.726965",{"items":5619,"total":1596},[5620,5626,5631,5636,5642,5649,5656,5662,5668,5683,5696,5710],{"slug":5520,"name":5520,"fn":5521,"description":5522,"org":5621,"tags":5622,"stars":23,"repoUrl":24,"updatedAt":5534},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5623,5624,5625],{"name":5526,"slug":5527,"type":16},{"name":5529,"slug":5530,"type":16},{"name":5532,"slug":5533,"type":16},{"slug":5536,"name":5536,"fn":5537,"description":5538,"org":5627,"tags":5628,"stars":23,"repoUrl":24,"updatedAt":5545},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5629,5630],{"name":5526,"slug":5527,"type":16},{"name":5543,"slug":5544,"type":16},{"slug":5547,"name":5547,"fn":5548,"description":5549,"org":5632,"tags":5633,"stars":23,"repoUrl":24,"updatedAt":5558},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5634,5635],{"name":5553,"slug":5554,"type":16},{"name":5556,"slug":5557,"type":16},{"slug":5560,"name":5560,"fn":5561,"description":5562,"org":5637,"tags":5638,"stars":23,"repoUrl":24,"updatedAt":5572},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5639,5640,5641],{"name":5553,"slug":5554,"type":16},{"name":5567,"slug":5568,"type":16},{"name":5570,"slug":5571,"type":16},{"slug":5574,"name":5574,"fn":5575,"description":5576,"org":5643,"tags":5644,"stars":23,"repoUrl":24,"updatedAt":5587},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5645,5646,5647,5648],{"name":5553,"slug":5554,"type":16},{"name":5581,"slug":5582,"type":16},{"name":5567,"slug":5568,"type":16},{"name":5585,"slug":5586,"type":16},{"slug":5589,"name":5589,"fn":5590,"description":5591,"org":5650,"tags":5651,"stars":23,"repoUrl":24,"updatedAt":5604},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5652,5653,5654,5655],{"name":5581,"slug":5582,"type":16},{"name":5596,"slug":5597,"type":16},{"name":5599,"slug":5600,"type":16},{"name":5602,"slug":5603,"type":16},{"slug":5606,"name":5606,"fn":5607,"description":5608,"org":5657,"tags":5658,"stars":23,"repoUrl":24,"updatedAt":5617},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5659,5660,5661],{"name":5526,"slug":5527,"type":16},{"name":5613,"slug":5614,"type":16},{"name":5616,"slug":5616,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":5663,"tags":5664,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5665,5666,5667],{"name":21,"slug":22,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":5669,"name":5669,"fn":5670,"description":5671,"org":5672,"tags":5673,"stars":23,"repoUrl":24,"updatedAt":5682},"venice-characters","discover and use Venice AI characters","Discover and use Venice public characters (persona-driven system prompts with a bound model). Covers GET \u002Fcharacters (search\u002Ffilter\u002Fsort), \u002Fcharacters\u002F{slug}, \u002Fcharacters\u002F{slug}\u002Freviews, the Character schema, and how to apply a character via venice_parameters.character_slug in chat completions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5674,5677,5679],{"name":5675,"slug":5676,"type":16},"Agents","agents",{"name":3491,"slug":5678,"type":16},"llm",{"name":5680,"slug":5681,"type":16},"Persona","persona","2026-07-17T06:05:40.942733",{"slug":5684,"name":5684,"fn":5685,"description":5686,"org":5687,"tags":5688,"stars":23,"repoUrl":24,"updatedAt":5695},"venice-chat","interact with Venice chat completions API","Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model feature suffixes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5689,5690,5691,5692],{"name":5675,"slug":5676,"type":16},{"name":5526,"slug":5527,"type":16},{"name":3491,"slug":5678,"type":16},{"name":5693,"slug":5694,"type":16},"Multimodal","multimodal","2026-08-01T05:43:15.821764",{"slug":5697,"name":5697,"fn":5698,"description":5699,"org":5700,"tags":5701,"stars":23,"repoUrl":24,"updatedAt":5709},"venice-crypto-rpc","proxy crypto JSON-RPC calls via Venice","Use Venice as a pay-per-call JSON-RPC proxy to 27 EVM, Starknet, and Solana networks. Covers GET \u002Fcrypto\u002Frpc\u002Fnetworks, POST \u002Fcrypto\u002Frpc\u002F{network}, chain families and per-family method allowlists, the 1×\u002F2×\u002F4× method-tier pricing model, per-minute + 24-hour credit rate limits, idempotency keys for safe retries, single vs batch requests, and the unsupported stateful\u002FWebSocket methods (eth_subscribe, eth_newFilter, *Subscribe, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5702,5703,5706],{"name":5526,"slug":5527,"type":16},{"name":5704,"slug":5705,"type":16},"Ethereum","ethereum",{"name":5707,"slug":5708,"type":16},"Web3","web3","2026-08-01T05:43:22.78028",{"slug":5711,"name":5711,"fn":5712,"description":5713,"org":5714,"tags":5715,"stars":23,"repoUrl":24,"updatedAt":5720},"venice-embeddings","generate embeddings with Venice API","Call POST \u002Fembeddings on Venice. Covers request shape (input, model, encoding_format, dimensions, user), OpenAI compatibility, response compression (gzip\u002Fbr), and practical usage for retrieval, clustering, and RAG.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5716,5719],{"name":5717,"slug":5718,"type":16},"Data Analysis","data-analysis",{"name":3491,"slug":5678,"type":16},"2026-07-17T06:07:34.97752"]