OpenrouterSdk.Api.Models (OpenRouter SDK v0.1.0)

Copy Markdown View Source

GET /models — live model catalog.

this hits the api every call. if you want a stable hard-coded view, use OpenrouterSdk.Catalog.Models instead — that's the snapshot embedded into the package and refreshed by ci.

Summary

Functions

list(opts \\ [])

@spec list(keyword()) :: {:ok, map()} | {:error, OpenrouterSdk.Error.t()}