LMSpeed Models is an open catalog of AI model specifications, provider offerings and published prices. It combines the models.dev catalog with additional model specifications and source references from LMSpeed.
| Layer | Source | Contents |
|---|---|---|
| Developers | developers/<id>.toml |
Name, website and icon for a model developer |
| Canonical models | models/<developer>/<model>.toml |
Provider-independent capabilities, limits, modalities, specifications and references |
| Providers | providers/<provider>/provider.toml and providers/<provider>/models/<safe-slug>.toml |
Service metadata, model listings, protocol details and prices |
Listings can inherit from a canonical model and override fields that vary by provider. aliases.toml maps alternate identifiers to canonical IDs such as openai/gpt-5.
| Endpoint | Use |
|---|---|
/v2/index.json |
Discover providers and compare shard hashes |
/v2/providers/{id}.json |
Fetch one provider with model specs and prices already resolved |
/v2/models/{dev}/{model}.json |
Fetch one model and the providers that offer it |
/v2/models.json |
Fetch all canonical models and developers |
/v2/api.json |
Fetch the full normalized catalog, including provider model references and overrides |
/v2/logos/{icon}.svg |
Fetch a shared icon by its LobeHub slug |
/v2/schema.json |
Inspect the public JSON Schema |
The deployment record identifies the served Git commit and catalog build hash. The coverage report identifies the imported models.dev baseline and measured coverage.
Fetch a provider or model directly when you only need that shard. Use the index to discover providers and call the client's refresh method to load the full normalized catalog.
Install @lmspeed/models.
import { Client } from '@lmspeed/models';
const client = new Client();
const model = await client.fetchModel('openai/gpt-5');
console.log(model.name);Install lmspeed-models.
from lmspeed_models import Client
with Client() as client:
model = client.fetch_model("openai/gpt-5")
print(model["name"])Add lmspeed-models to your project and run this in an async function.
use lmspeed_models::{Client, DEFAULT_URL};
use std::time::Duration;
let client = Client::new(DEFAULT_URL, Duration::from_secs(30))?;
let model = client.fetch_model("openai/gpt-5").await?;package main
import (
"context"
"log"
models "github.com/lmspeed/models/sdk/go"
)
func main() {
client := models.NewClient(models.DefaultURL)
model, err := client.FetchModel(context.Background(), "openai/gpt-5")
if err != nil {
log.Fatal(err)
}
log.Println(model)
}See CONTRIBUTING.md for TOML conventions and validation commands. The build resolves explicit icon slugs and configured family defaults from logos/mapping.json, then emits one SVG per used slug from the pinned LobeHub package. A missing icon falls back to default.
Repository tooling and SDKs use the MIT license. LMSpeed-owned metadata is available under CC BY 4.0. Imported models.dev metadata and LobeHub Icons retain their MIT notices. See LICENSE, NOTICE.md and logos/NOTICE.md.