<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 500" font-family="Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif">
  <rect width="900" height="500" fill="#ffffff"/>
  <text x="450" y="42" text-anchor="middle" font-size="22" font-weight="700" fill="#0f172a">Kimi API pricing per 1M tokens (USD)</text>

  <!-- baseline y=400; scale 20px per dollar; max $18 = 360px -->
  <line x1="120" y1="400" x2="820" y2="400" stroke="#e2e8f0" stroke-width="2"/>

  <g font-size="13" fill="#64748b" text-anchor="end">
    <text x="110" y="404">$0</text>
    <text x="110" y="304">$5</text>
    <text x="110" y="204">$10</text>
    <text x="110" y="104">$15</text>
  </g>
  <g stroke="#f1f5f9" stroke-width="1">
    <line x1="120" y1="300" x2="820" y2="300"/>
    <line x1="120" y1="200" x2="820" y2="200"/>
    <line x1="120" y1="100" x2="820" y2="100"/>
  </g>

  <!-- K2.6: 0.16 / 0.95 / 4.00 -->
  <rect x="170" y="396.8" width="50" height="3.2" fill="#94a3b8"/>
  <rect x="225" y="381" width="50" height="19" fill="#64748b"/>
  <rect x="280" y="320" width="50" height="80" fill="#cbd5e1"/>

  <!-- K2.7 Code: 0.19 / 0.95 / 4.00 -->
  <rect x="410" y="396.2" width="50" height="3.8" fill="#94a3b8"/>
  <rect x="465" y="381" width="50" height="19" fill="#64748b"/>
  <rect x="520" y="320" width="50" height="80" fill="#cbd5e1"/>

  <!-- K3: 0.30 / 3.00 / 15.00 -->
  <rect x="650" y="394" width="50" height="6" fill="#0284c7"/>
  <rect x="705" y="340" width="50" height="60" fill="#0ea5e9"/>
  <rect x="760" y="100" width="50" height="300" fill="#38bdf8"/>

  <g font-size="12" fill="#0f172a" text-anchor="middle" font-weight="600">
    <text x="195" y="390">$0.16</text>
    <text x="250" y="374">$0.95</text>
    <text x="305" y="312">$4</text>
    <text x="435" y="390">$0.19</text>
    <text x="490" y="374">$0.95</text>
    <text x="545" y="312">$4</text>
    <text x="675" y="388">$0.30</text>
    <text x="730" y="332">$3</text>
    <text x="785" y="92">$15</text>
  </g>

  <g font-size="14" font-weight="600" fill="#0f172a" text-anchor="middle">
    <text x="250" y="430">Kimi K2.6</text>
    <text x="490" y="430">Kimi K2.7 Code</text>
    <text x="730" y="430">Kimi K3</text>
  </g>

  <g font-size="13" fill="#334155">
    <rect x="250" y="460" width="14" height="14" rx="2" fill="#94a3b8"/>
    <text x="270" y="472">Cache hit</text>
    <rect x="370" y="460" width="14" height="14" rx="2" fill="#64748b"/>
    <text x="390" y="472">Input (miss)</text>
    <rect x="510" y="460" width="14" height="14" rx="2" fill="#0ea5e9"/>
    <text x="530" y="472">Output</text>
  </g>
</svg>
