Openrouter_apimodule Api_error : sig ... endAPI error response from OpenRouter.
module Completions : sig ... endChat completions and streaming chat completions.
module Embeddings : sig ... endmodule Generation : sig ... endQuery generation stats for a previously-issued completion via the GET /api/v1/generation endpoint. The generation id is the same id returned on a chat completion or stream chunk; stats become queryable a few seconds after the request finishes.
module Http : sig ... endmodule Models : sig ... end