{"openapi":"3.1.0","info":{"title":"Loop open data API","version":"1","description":"Official LLM API prices, subscription plans, API status, change log, news and livestreams, as static files. No key, CORS open, CC BY 4.0. Nothing under v1 changes incompatibly; a breaking change would go to v2.","license":{"name":"CC BY 4.0 (data)","url":"https://creativecommons.org/licenses/by/4.0/"}},"servers":[{"url":"https://loop.firmiana.si"}],"externalDocs":{"url":"https://loop.firmiana.si/api/"},"tags":[{"name":"prices"},{"name":"status"},{"name":"news"},{"name":"events"},{"name":"plans"},{"name":"rankings"},{"name":"meta"},{"name":"feeds"}],"paths":{"/api/v1/models.json":{"get":{"operationId":"models","summary":"All models of all makers, one compact record each: main price, capabilities, context, and a link to the full file","description":"All models of all makers, one compact record each: main price, capabilities, context, and a link to the full file.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/models.schema.json"}}}}}}},"/api/v1/models/{provider}/{id}.json":{"get":{"operationId":"models_provider_id","summary":"One model: every price row (batch, long context, regions), announced future prices (upcoming), what clouds and routers charge for it (offers), and its recent changes","description":"One model: every price row (batch, long context, regions), announced future prices (upcoming), what clouds and routers charge for it (offers), and its recent changes. Characters other than A–Z a–z 0–9 . _ - in the id become _; use the url field of models.json.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Model id with characters other than A-Z a-z 0-9 . _ - replaced by _"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/model.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/models/by-capability/{capability}.json":{"get":{"operationId":"models_by_capability_capability","summary":"Models with one capability set to true","description":"Models with one capability set to true. Same shape as models.json.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"parameters":[{"name":"capability","in":"path","required":true,"schema":{"type":"string","enum":["vision","tools","reasoning","prompt_caching","structured_output"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/models.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/models/by-region/{region}.json":{"get":{"operationId":"models_by_region_region","summary":"Models from makers based in China (cn) or elsewhere (intl)","description":"Models from makers based in China (cn) or elsewhere (intl).\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","enum":["intl","cn"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/models.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/models/open-weights.json":{"get":{"operationId":"models_open_weights","summary":"Models whose weights are published","description":"Models whose weights are published.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/models.schema.json"}}}}}}},"/api/v1/providers.json":{"get":{"operationId":"providers","summary":"Model makers: region, official pricing pages, number of models, status page and current API state","description":"Model makers: region, official pricing pages, number of models, status page and current API state.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/providers.schema.json"}}}}}}},"/api/v1/providers/{provider}.json":{"get":{"operationId":"providers_provider","summary":"One maker with all its models, its status and uptime, and its recent changes","description":"One maker with all its models, its status and uptime, and its recent changes.\n\nUpdated: Platform prices every 30 min; makers' prices after a person checks the page; rebuilt daily.","tags":["prices"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/provider.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/status.json":{"get":{"operationId":"status","summary":"Current API state per provider (ok, degraded, outage), open incidents, and availability over 7, 30 and 90 days, from official status pages only","description":"Current API state per provider (ok, degraded, outage), open incidents, and availability over 7, 30 and 90 days, from official status pages only.\n\nUpdated: Every 5 min (build), live file every 1–5 min.","tags":["status"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/status.schema.json"}}}}}}},"/api/v1/status/live.json":{"get":{"operationId":"status_live","summary":"Fresher current state, read by the web server from each official status page every 1 to 5 minutes","description":"Fresher current state, read by the web server from each official status page every 1 to 5 minutes. Not part of the build; fall back to status.json when it is missing or older than 10 minutes.\n\nUpdated: Every 30 s to 5 min, on the web server. Served from the web server, not from the build; may be missing.","tags":["status"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/live.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/status/{provider}.json":{"get":{"operationId":"status_provider","summary":"One provider: state, daily and monthly availability for 90 days, and its incidents","description":"One provider: state, daily and monthly availability for 90 days, and its incidents.\n\nUpdated: Every 5 min (build), live file every 1–5 min.","tags":["status"],"parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/status-provider.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/incidents/recent.json":{"get":{"operationId":"incidents_recent","summary":"Every incident of the last 30 days, all providers, newest first","description":"Every incident of the last 30 days, all providers, newest first.\n\nUpdated: Every 5 min (build), live file every 1–5 min.","tags":["status"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/incidents.schema.json"}}}}}}},"/api/v1/changes.json":{"get":{"operationId":"changes","summary":"Change log, newest first: models added and removed, price changes with old and new values, announced prices, plan changes, major API incidents opened and resolved, and new models spotted (status confirmed or unconfirmed)","description":"Change log, newest first: models added and removed, price changes with old and new values, announced prices, plan changes, major API incidents opened and resolved, and new models spotted (status confirmed or unconfirmed).\n\nUpdated: Every 15 min.","tags":["news"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/news.schema.json"}}}}}}},"/api/v1/changes/{month}.json":{"get":{"operationId":"changes_month","summary":"The change log of one month (YYYY-MM, UTC), for incremental reading","description":"The change log of one month (YYYY-MM, UTC), for incremental reading.\n\nUpdated: Every 15 min.","tags":["news"],"parameters":[{"name":"month","in":"path","required":true,"schema":{"type":"string"},"description":"YYYY-MM (UTC)"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/news.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/changes/type/{type}.json":{"get":{"operationId":"changes_type_type","summary":"The change log of one type","description":"The change log of one type.\n\nUpdated: Every 15 min.","tags":["news"],"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["new-model","price-change","upcoming-price","removed","deprecation","platform-listing","plan-change","incident-opened","incident-resolved"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/news.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/news.json":{"get":{"operationId":"news","summary":"Everything on the Latest page: the change log plus official release notes and blog posts, notable Hacker News stories, and livestreams","description":"Everything on the Latest page: the change log plus official release notes and blog posts, notable Hacker News stories, and livestreams. Same item fields as changes.json.\n\nUpdated: Every 15 min.","tags":["news"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/news.schema.json"}}}}}}},"/api/v1/news/type/{type}.json":{"get":{"operationId":"news_type_type","summary":"News items of one type","description":"News items of one type.\n\nUpdated: Every 15 min.","tags":["news"],"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["new-model","release-note","discussion","event"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/news.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/news/live.json":{"get":{"operationId":"news_live","summary":"New-model signals, posts and event checks found by the web server in the last 7 days, read every 5 to 30 minutes","description":"New-model signals, posts and event checks found by the web server in the last 7 days, read every 5 to 30 minutes. Not part of the build; the GitHub copy in news.json follows within 15 minutes.\n\nUpdated: Every 30 s to 5 min, on the web server. Served from the web server, not from the build; may be missing.","tags":["news"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/live.schema.json"}}}},"404":{"description":"No such file"}}}},"/api/v1/events.json":{"get":{"operationId":"events","summary":"Livestreams, keynotes and launch events from official event pages: start and end (UTC), the organiser's time zone, official watch page, replay, and an official embed id where one exists","description":"Livestreams, keynotes and launch events from official event pages: start and end (UTC), the organiser's time zone, official watch page, replay, and an official embed id where one exists.\n\nUpdated: Daily, and on data changes.","tags":["events"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/events.schema.json"}}}}}}},"/api/v1/events.ics":{"get":{"operationId":"events","summary":"The same events as an iCalendar feed: subscribe in any calendar app","description":"The same events as an iCalendar feed: subscribe in any calendar app.\n\nUpdated: Daily, and on data changes.","tags":["events"],"responses":{"200":{"description":"OK","content":{"text/calendar":{"schema":{"type":"string"}}}}}}},"/api/v1/plans.json":{"get":{"operationId":"plans","summary":"AI subscription plans, one compact record each: monthly and annual list price, currency and USD equivalent","description":"AI subscription plans, one compact record each: monthly and annual list price, currency and USD equivalent. Usage limits and models are in /plans/v1/plans.json.\n\nUpdated: Daily, and on data changes.","tags":["plans"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/plans.schema.json"}}}}}}},"/api/v1/rankings.json":{"get":{"operationId":"rankings","summary":"Model rankings (strongest models, and capability against price), re-exported from the rankings data; its schema is linked here","description":"Model rankings (strongest models, and capability against price), re-exported from the rankings data; its schema is linked here.\n\nUpdated: Daily, and on data changes.","tags":["rankings"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"No such file"}}}},"/api/v1/index.json":{"get":{"operationId":"index","summary":"This list of endpoints, machine-readable","description":"This list of endpoints, machine-readable.\n\nUpdated: Daily, and on data changes.","tags":["meta"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/api/v1/schemas/index.schema.json"}}}}}}},"/api/v1/openapi.json":{"get":{"operationId":"openapi","summary":"OpenAPI 3.1 description of every endpoint (all are GET requests for static files)","description":"OpenAPI 3.1 description of every endpoint (all are GET requests for static files).\n\nUpdated: Daily, and on data changes.","tags":["meta"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/sources.json":{"get":{"operationId":"sources","summary":"Every source read for status, new models and posts, how it is classed (official, catalogue, forum) and how often it is read","description":"Every source read for status, new models and posts, how it is classed (official, catalogue, forum) and how often it is read.\n\nUpdated: Daily, and on data changes.","tags":["meta"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"https://loop.firmiana.si/news/v1/sources.schema.json"}}}}}}},"/api/v1/feeds/{name}.{format}":{"get":{"operationId":"feeds","summary":"Feeds of news items","description":"Atom, RSS 2.0 or JSON Feed. Names: all, new-models, unconfirmed, price-changes, platforms, incidents, plans, release-notes, events. Chinese text: /api/v1/feeds/zh/{name}.{format}. Per provider (Atom): /api/v1/feeds/provider/{provider}.atom.","tags":["feeds"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","enum":["all","new-models","unconfirmed","price-changes","platforms","incidents","plans","release-notes","events"]}},{"name":"format","in":"path","required":true,"schema":{"type":"string","enum":["atom","rss","json"]}}],"responses":{"200":{"description":"OK","content":{"application/atom+xml":{"schema":{"type":"string"}},"application/rss+xml":{"schema":{"type":"string"}},"application/feed+json":{"schema":{"type":"object"}}}}}}}}}
