Skip to content
View xyzs996's full-sized avatar
  • Amazon
  • San Francisco

Block or report xyzs996

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
xyzs996/README.md

Prices that aren't a single number

A growing share of models don't have a price. They have one below 200k prompt tokens and another above it, or one during peak hours and another off-peak. Every published price table I could find prints one number per row anyway, and the gap is usually a factor of two.

What a coding-agent model costs, next to how it ranks — 60 ranked models, regenerated from the source catalog, with the parts other tables drop:

  • 12 of the 60 cost more than the price printed in their own row, and the trigger is prompt length. It's a cliff, not a tier: one token over the line roughly doubles the bill.
  • The bigger the advertised context window, the smaller the share of it the advertised price covers. grok-4.20 advertises 2 000k of context at $1.25/M and steps to $2.50 at 200k, so 90% of that window bills at a number that isn't in the row.
  • List price is not the bill. A coding agent re-reads its context every step, so ~95.6% of the tokens it sends are cache reads. Repriced at that mix, list input price overstates what an agent pays by a median 6.5x — and the 3.4x–7.9x spread in that multiple is what actually separates two models whose list prices look identical.

Every claim on that page says where its number came from and on what date, and the weights ship in the JSON so you can recompute with your own token mix.

The same table, as a bill

Put your own token counts in — one HTML file, nothing to install, no account. It reads the same JSON as the table above, so it is never a day behind it, and it does the three things a rate card structurally cannot:

  • Peak/off-peak resolved live. DeepSeek's weekend rule changed on 2026-08-23: off-peak all weekend, at half price. The page says which phase you are in right now, what the same call costs in the other one, and how long until it flips. The Beijing weekend runs Fri 16:00 → Sun 16:00 UTC, and both official peak windows sit clear of that seam — so a getUTCDay() implementation returns identical prices for all 168 hours of a week and no test written against the published windows can tell.
  • The long-context cliff. One token past a threshold reprices every token in the request, including the ones below it. At gemini-3.1-pro-preview's 200 000 line, one extra token takes the same call from $0.2060 to $0.4090.
  • Your mix, not the median. The default is a coding agent's ~95.6% cache-read share. Slide it to what your own logs say and the ordering of the cheapest ten changes.

The clock cases that trip implementations are published separately as a fixture anyone can depend on — deepseek-peak-offpeak-vectors, plain JSON, no dependency, usable from any language. One upstream project has already adopted them.

Sending the corrections upstream

Where the same defect exists in a public catalog, it goes back as a PR rather than staying a footnote on my page. Open right now:

genai-prices#583 6 models priced as if long-context were a marginal tier; ~2x under-priced past the threshold
genai-prices#584 grok-4.6 missing entirely — pricing it raises LookupError
genai-prices#581 DeepSeek V4 peak/off-peak repricing
models.dev#5277 context_over_200k documented as a flat 200K; 193 of 357 entries carrying it aren't
models.dev#5280 DeepInfra cache-read price derived two different ways; 1 of 17 tier segments disagrees with itself
litellm#37930 wandb/* prices stored as $/1M in a per-token field — 100,000x off
litellm#37932 3 realtime rows whose cache-read price contradicts their own schema
llm-prices#67, #68, #71 Missing cached-input prices for 16 Claude/Gemini models; DeepSeek V4 repricing

The other lists

Same rule: single purpose, regenerated automatically, every number says where it came from.

free-llm-api Verified free LLM API tiers: rate limits, no-card options, OpenAI-compatible endpoints.
free-proxy-health-list Free HTTP/SOCKS proxy health list — verified, JSON/TXT/CSV, updated automatically.
iptv-doctor M3U/M3U8 playlist checker and XMLTV EPG fixer.

Corrections are welcome on any of them — open an issue on the repo in question. If you maintain a pricing catalog and want the numbers above as a diff against your format, say so on the repo and I'll send one.

Popular repositories Loading

  1. free-proxy-health-list free-proxy-health-list Public

    Free proxy list by country: verified SOCKS5, SOCKS4, HTTP and HTTPS proxies, rechecked every 30 minutes, as TXT, JSON and CSV.

    Python 26 3

  2. free-llm-api free-llm-api Public

    Free LLM API providers list: verified free tier limits, API keys with no credit card, and OpenAI-compatible endpoints for developers.

    JavaScript 6

  3. manhuazhuo-Comic- manhuazhuo-Comic- Public

    Comic ipad client

    Objective-C 4 2

  4. WBShareKit WBShareKit Public

    Forked from qdvictory/WBShareKit

    目前支持新浪微博,腾讯微博,豆瓣说,发推,网易微博,认证方式使用的oauth。

    Objective-C 1

  5. gloss-caustic-shader gloss-caustic-shader Public

    Forked from royratcliffe/gloss-caustic-shader

    Reproduces the oft-seen glossy gradient effect

    Objective-C 1

  6. gps gps Public

    ios

    1