Skip to content
LynShen-TeamPublic

About

Official LLM API prices, AI subscription plans (ChatGPT, Claude, Cursor, Kimi…) and API incidents & uptime, as open JSON/CSV. 大模型 API 价格、AI 会员套餐、API 故障与可用率开放数据。

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Loop

Official LLM API prices, consumer AI subscription plans, and LLM API incidents, as open data with a small site on top.

Site: https://loop.firmiana.si/ · 中文

Screenshot of the site

Using the data

Everything is static JSON. No key, no rate limit beyond your HTTP client.

What JSON CSV
API prices https://loop.firmiana.si/prices/v1/models.json prices/v1/models.csv
Cloud and router reference prices https://loop.firmiana.si/prices/v1/offers.json prices/v1/offers.csv
Subscription plans https://loop.firmiana.si/plans/v1/plans.json plans/v1/plans.csv
Incidents https://loop.firmiana.si/status/v1/incidents.json status/v1/incidents.csv, daily.csv, monthly.csv
Changes (new, price, retired, major outage) https://loop.firmiana.si/push/v1/events.json Atom: push/v1/events.xml

Price of one model:

curl -s https://loop.firmiana.si/prices/v1/models.json \
  | jq '.models[] | select(.id == "deepseek-flash") | .prices[0]'
{ "tier": "standard", "currency": "CNY", "input": 2, "output": 8, "cache_read": 0.04, "source": "https://api-docs.deepseek.com/zh-cn/quick_start/pricing", ... }

Prices are per 1M tokens, in the currency the provider publishes (CNY stays CNY). prices[0] is the model's main price; long-context bands, batch and regional prices follow. Each section's README and its v1/*.schema.json describe the fields.

URLs and fields under v1 won't change incompatibly. A breaking change would go to v2.

There is also an export in the models.dev format, prices/v1/models-dev.json, for tools that already read that.

API, change log and feeds

https://loop.firmiana.si/api/ documents a small API over the same data, still static files: one file per model and per provider, the current state and uptime of each API, a change log (models added and removed, price changes with old and new values, announced prices, plan changes, major incidents), new models spotted on official sources and model catalogues, official release notes, and AI livestreams. There are Atom, RSS and JSON feeds, and an iCalendar file of events.

curl -s https://loop.firmiana.si/api/v1/changes.json | jq '.items[:5][] | [.published_at, .type, .title]'

A new model seen only on catalogues or forums is marked unconfirmed until the maker's own site lists it.

One key for the free LLM APIs

router/ puts the free APIs you have keys for (Gemini, Groq, OpenRouter, ModelScope, SiliconFlow, Zhipu, …) behind one OpenAI-compatible key and base URL: run npx loop-free-router yourself, or sign in to the console at https://loop.firmiana.si/console/. The provider list is prices/v1/free-router.json.

Where the numbers come from

  • API prices: the provider's own pricing page or docs. Every price has its source URL and the date it was checked. Prices that clouds and routers charge for other companies' models are kept apart in offers.json, as reference.
  • Plans: the vendor's pricing page and help centre.
  • Incidents: the provider's official status page. Providers without one are marked as such. AI21 Labs (status.ai21.com) and Inception (status.inceptionlabs.ai) are read through the Status API those pages publish.
  • New models and release notes, from the makers themselves: the Gemini API docs index and release notes (aistudio.google.com/llms.txt, changelog.md.txt), the xAI docs index and models page (docs.x.ai), the Mistral docs index (docs.mistral.ai/llms.txt), the DeepSeek API change log (api-docs.deepseek.com/updates.md), Zhipu's release notes (docs.bigmodel.cn), MiniMax's model release notes (platform.minimaxi.com), the Kimi API docs index (platform.kimi.com/docs/llms.txt), Alibaba Cloud Model Studio's list of new models (help.aliyun.com), the release feeds of the official Python SDKs of OpenAI, Anthropic, Google, Mistral and xAI on GitHub, the OpenAI news feed, Google's AI blog and Developers Blog feeds, and the Qwen blog feed. These are the Markdown and llms.txt versions and feeds the sites publish for programs to read.
  • Early signs of new models, marked unconfirmed until a maker's own page lists them: the public model lists of OpenRouter (openrouter.ai/api/v1/models) and models.dev (models.dev/api.json), new repositories of the makers' own Hugging Face organisations (huggingface.co/api/models), and Hacker News stories with 60 or more points that name a model, through the public Algolia API (hn.algolia.com). Only names, times and links are kept.
  • Community posts, the most discussed ones that name a model or maker: Hacker News (60+ points), V2EX through its public API v1 (the openai, claude, gemini, deepseek, grok and localllm nodes and the hot list, 20+ replies), Juejin's AI category (read 800+ times, through the public list API its own pages use) and DEV Community (api/articles, 30+ reactions). Not read: Reddit and Lobsters (robots.txt disallows them), LINUX DO (no access without a browser check).
  • More official notes, releases and media, each filtered so one busy source cannot flood the page (keywords and a daily cap): Claude Platform, xAI, Perplexity, Groq, Together, Fireworks and Cerebras change logs (Markdown docs), Vertex AI, Mistral, Cohere, DeepMind, Azure updates, AWS What's New (Bedrock), NVIDIA and Meta engineering feeds; GitHub release feeds of the official SDKs and of vLLM, SGLang, llama.cpp, Ollama, Transformers, LangChain, Vercel AI SDK, Codex and Gemini CLI (pre-releases skipped); Hugging Face, Google Research, Microsoft Research and BAIR blogs, The Verge, TechCrunch, Ars Technica, Simon Willison, 量子位 and 少数派 (only posts that name a model or maker). The full list with intervals is news/v1/sources.json. Pages that only render in a browser (Volcengine Ark, Baidu Qianfan, Tencent Hunyuan, iFlytek, SenseTime, 01.AI, SiliconFlow, OpenAI's changelog) and sites without a feed (Anthropic and xAI news, Meta AI blog, 机器之心, 36氪) are not read.
  • Livestreams and keynotes: the organiser's own event page, copied by hand with the date it was checked (for example aws.amazon.com/events/reinvent, nvidia.com/gtc). YouTube feeds are not read: robots.txt disallows them. Streams play only through the platform's official embed player, after a click.

A value we couldn't find on an official page is left empty and listed in unverified.

Push to your group

https://loop.firmiana.si/push/ sends each change to a Feishu, DingTalk, WeCom, Telegram or Discord group bot, or to any webhook (JSON, HMAC-signed). The service is in push/server; run your own if you prefer.

How often it updates

Source How often Why
Status pages, current state every 1 to 5 minutes, on the web server Statuspage and incident.io pages are small JSON; Google Cloud, xAI, Volcengine, DeepSeek every 2 to 3 minutes, Alibaba Cloud every 5
Status pages, incident records every 5 minutes, GitHub Actions commits and rebuilds the site only when an incident changed
Model lists, docs indexes, release notes every 10 minutes on the web server, every 15 on GitHub small files read with conditional requests; new models show up here first
SDK release feeds, official blog feeds every 15 minutes these change a few times a day
models.dev, Alibaba Cloud new-model page every 30 minutes large files
Hacker News, V2EX, Juejin, DEV Community every 10 to 30 minutes popular posts only
Platform price APIs (OpenRouter, DeepInfra) every 30 minutes committed only when a price changed
Pricing pages (snapshots) every hour rendered in a browser, so not more often; a change opens an issue and a person checks the page before any price changes
Plan and help pages (snapshots) every 12 hours they rarely change; same review as pricing pages
Livestream event pages hourly, every 5 minutes from two hours before the start to see a watch page come up
Whole site on every data change and once a day announced price changes take effect on their date

Every reader sends a plain user agent, keeps to robots.txt, makes one request at a time per host, uses ETag and Last-Modified, and backs off after errors. The one exception to robots.txt is the Status API of Atlassian Statuspage pages, which keep crawlers out of /api/ but document that API for public use on the same page.

Fixing a number

Open an issue with the entry and the official link. To fix it yourself, edit the YAML under prices/data/ or plans/data/ and run

npm ci && npm run build

The build validates every file against its schema. Only official sources are accepted.

Old URLs

This repository merges llm-pricebook, ai-plans and llm-uptime, which are archived. Their lynshen-team.github.io/... pages redirect here. The old data URLs (for example lynshen-team.github.io/llm-pricebook/v1/models.json) keep working until 2027-03-31 and then go away; please switch to the URLs above.

Licence

Data CC BY 4.0, code MIT. Provider icons in prices/site/icons/ keep their own licence.

Made by LynShen-Team

About

Official LLM API prices, AI subscription plans (ChatGPT, Claude, Cursor, Kimi…) and API incidents & uptime, as open JSON/CSV. 大模型 API 价格、AI 会员套餐、API 故障与可用率开放数据。

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages