<svg viewBox="0 0 1540 646" xmlns="http://www.w3.org/2000/svg" font-family="-apple-system, 'Segoe UI', Helvetica, Arial, sans-serif">
<rect width="1540" height="646" fill="#ffffff"/>
<text x="60" y="64" font-size="30" font-weight="700" fill="#0f172a">一次请求，六种限流计量值</text>
<text x="60" y="96" font-size="15" fill="#475569">示例请求：2,000 个输入词元（其中 1,500 个为缓存读取），max_tokens 4,000，实际回答 300 个词元，其中含 200 个推理词元。条形长度按词元比例绘制</text>
<rect x="958" y="118" width="522" height="30" rx="8" fill="#f8fafc" stroke="#e2e8f0" stroke-width="1.5"/>
<rect x="972" y="127" width="22" height="12" fill="#dc2626"/><text x="1001" y="138" font-size="13" fill="#0f172a">max_tokens 估算值</text>
<rect x="1135" y="127" width="22" height="12" fill="#2563eb"/><text x="1163" y="138" font-size="13" fill="#0f172a">输入词元</text>
<rect x="1231" y="127" width="22" height="12" fill="#7c3aed"/><text x="1259" y="138" font-size="13" fill="#0f172a">输出词元（Bedrock：消耗折算后）</text>
<rect x="380" y="190" width="234" height="32" fill="#2563eb"/>
<text x="497" y="211" font-size="13" fill="#ffffff" text-anchor="middle">提示词估算值</text>
<rect x="614" y="190" width="468" height="32" fill="#dc2626"/>
<text x="848" y="211" font-size="13" fill="#ffffff" text-anchor="middle">max_tokens</text>
<text x="364" y="211" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">Azure OpenAI TPM</text>
<text x="1091" y="211" font-size="11.0" font-weight="700" fill="#0f172a"><tspan x="1091" dy="0">6,000：请求到达时按提示词估算值加</tspan><tspan x="1091" dy="13.8">max_tokens</tspan></text>
<rect x="380" y="256" width="468" height="32" fill="#dc2626"/>
<text x="614" y="277" font-size="13" fill="#ffffff" text-anchor="middle">max_tokens，预先扣除</text>
<text x="364" y="277" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">OpenAI TPM</text>
<text x="857" y="277" font-size="14" font-weight="700" fill="#0f172a">4,000：max_tokens，在模型运行前扣除</text>
<rect x="380" y="322" width="58" height="32" fill="#2563eb"/>
<rect x="438" y="322" width="351" height="32" fill="#7c3aed"/>
<text x="614" y="343" font-size="13" fill="#ffffff" text-anchor="middle">300 个输出词元 x 10 消耗折算</text>
<text x="364" y="343" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">Bedrock TPM（Claude 5）</text>
<text x="799" y="343" font-size="14" font-weight="700" fill="#0f172a">3,500：缓存读取不计，输出按 10x 消耗</text>
<rect x="380" y="388" width="234" height="32" fill="#2563eb"/>
<text x="497" y="409" font-size="13" fill="#ffffff" text-anchor="middle">输入，含 1,500 个缓存词元</text>
<rect x="614" y="388" width="35" height="32" fill="#7c3aed"/>
<text x="364" y="409" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">xAI TPM</text>
<text x="658" y="409" font-size="14" font-weight="700" fill="#0f172a">2,300：所有词元均计入，包括缓存和推理词元</text>
<rect x="380" y="454" width="234" height="32" fill="#2563eb"/>
<text x="497" y="475" font-size="13" fill="#ffffff" text-anchor="middle">输入</text>
<text x="364" y="475" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">Gemini TPM</text>
<text x="623" y="475" font-size="14" font-weight="700" fill="#0f172a">2,000：仅输入</text>
<rect x="380" y="520" width="58" height="32" fill="#2563eb"/>
<rect x="438" y="520" width="35" height="32" fill="#7c3aed"/>
<text x="364" y="541" font-size="15" font-weight="600" fill="#0f172a" text-anchor="end">Anthropic ITPM + OTPM</text>
<text x="483" y="541" font-size="14" font-weight="700" fill="#0f172a">800：缓存读取不计，输出按实际生成量计数</text>
<text x="60" y="616" font-size="14" fill="#475569">来源：Azure OpenAI 配额指南、OpenAI cookbook、Bedrock 词元计数页面（Claude 5 消耗折算 10x）、xAI、Gemini 和 Anthropic 限流页面，获取于 2026-09-03 和 2026-09-04</text>
</svg>
