arXiv:2609.00710v1 cs.DS

확률적 토큰 소비를 갖는 LLM API를 위한 예측 지원 가격 책정 및 수락 제어

Prediction-Assisted Pricing and Admission for LLM APIs with Stochastic Token Consumption

Patrick Wong

제출 2026-09-01

한국어 초록

LLM 애플리케이션은 흔히 소형 또는 프리미엄 모델, 짧거나 긴 토큰 상한, 그리고 경우에 따라 여러 게시 가격 등 다수의 서비스 상품을 판매하거나 내부적으로 배분한다. 운영상의 의사결정은 단순히 어떤 모델이 프롬프트에 답할지를 정하는 문제가 아니다. 가격은 구매 확률을 바꾸고, 토큰 상한은 사용자 가치와 자원 소비의 꼬리 분포를 모두 바꾸며, 수락된 요청들은 공유 연산 자원과 프리미엄 모델 용량을 두고 경쟁한다. 수요와 출력 길이는 처음에는 불확실하지만, 오프라인 모델이 유용하지만 불완전한 예측을 제공할 수 있다. 본 논문은 확률적 자원 소비를 갖는 순차적 가격 책정 및 수락 문제를 정식화한다. 도착하는 각 요청은 관측 가능한 세그먼트에 속한다. 플랫폼은 상품-가격 쌍을 선택하거나 제안을 하지 않으며, 이후 구매 여부, 수익, 자원 사용량은 확률적으로 결정된다. 오프라인 예측기는 모든 세그먼트-상품 셀에 대해 균일하고 검증된 오차 반경을 제공한다. 우리는 Prediction-Clipped UCB(PCUCB)를 제안한다. 이 알고리즘은 오프라인 예측 구간과 온라인 신뢰 구간의 교집합을 취하고, 자원 그림자 가격(shadow price)을 사용해 상품을 평가하며, 확정 전에 표본 경로 포락선(sample-path envelope)을 예약해 둔다. 사전 정보는 정확할 때 빠른 시작을 제공하고, 예측이 조악할 때는 온라인 학습이 플랫폼을 보호한다. 분석은 모듈식이다. 동시 신뢰 사건(simultaneous confidence event)에서, 버퍼가 적용된 유체(fluid) 벤치마크 대비 후회(regret)는 페이싱 항과 교집합 구간들의 누적 직경의 합으로 상한이 정해진다. J개의 세그먼트-상품 셀과 예측 반경 $\varepsilon$에 대해 이는 \[ \widetilde O\left( \sqrt{T}+(1+\barΛ) \min\{T\varepsilon,\sqrt{JT}\} \right) \] 를 도출하며, 여기서 $\barΛ$는 운영상 그림자 가격의 상한이다. 따라서 이 알고리즘은 거의 완전 정보에 가까운 영역과 처음부터 학습하는 영역 사이를 매끄럽게 보간한다. 엄격한 실행 가능성(hard feasibility)은 예약 포락선을 통해 모든 표본 경로에서 성립한다.

원문 초록

An LLM application often sells or internally allocates several service products: a small or premium model, a short or long token cap, and possibly multiple posted prices. The operational decision is not merely which model answers a prompt. A price changes purchase probability, a token cap changes both user value and the tail of resource consumption, and accepted requests compete for shared compute and premium-model capacity. Demand and output length are initially uncertain, while an offline model may provide useful but imperfect predictions. We formulate sequential pricing and admission with stochastic resource consumption. Each arriving request belongs to an observable segment. The platform chooses a product--price pair or makes no offer; purchase, revenue, and resource use are then random. An offline predictor supplies a uniform, validated error radius for every segment--product cell. We propose Prediction-Clipped UCB (PCUCB), which intersects the offline prediction interval with an online confidence interval, evaluates products using resource shadow prices, and reserves a sample-path envelope before commitment. The prior gives a fast start when accurate, while online learning protects the platform when predictions are coarse. The analysis is modular. On a simultaneous confidence event, regret against a buffered fluid benchmark is bounded by a pacing term plus the cumulative diameter of the intersected intervals. For $J$ segment-product cells and prediction radius $\varepsilon$, this yields \[ \widetilde O\left( \sqrt{T}+(1+\barΛ) \min\{T\varepsilon,\sqrt{JT}\} \right), \] where $\barΛ$ bounds operational shadow prices. Thus the algorithm smoothly interpolates between an almost full-information regime and learning from scratch. Hard feasibility holds on every sample path through reservation envelopes.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2609.00710v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.