Skip to main content

Module models

Module models 

Source
Expand description

Bounded full-directory collection and typed cross-vendor return mapping. Collection always begins at the first page. Vendor cursors stay private to the selected upstream; no cursor is renamed into another vendor’s token.

Structs§

ModelDirectory
ModelListError
No partial directory is returned as success. completed_calls counts only decoded 2xx pages; a failed transport/decode may already have reached the upstream. This counter never authorizes retry.
ModelListLimits

Enums§

ModelListFailure

Functions§

claude_to_gemini_list
Collect the entire claude directory, then convert with actual per-model facts.
claude_to_openai_list
Collect the entire claude directory, then convert with actual per-model facts.
collect_claude
Fetch all Claude pages in forward order, starting without a cursor.
collect_gemini
Fetch all Gemini pages using each opaque nextPageToken verbatim.
collect_openai
OpenAI model lists are unpaged, but still obey aggregate/model limits.
gemini_to_claude_list
Collect the entire gemini directory, then convert with actual per-model facts.
gemini_to_openai_list
Collect the entire gemini directory, then convert with actual per-model facts.
openai_to_claude_list
Collect the entire openai directory, then convert with actual per-model facts.
openai_to_gemini_list
Collect the entire openai directory, then convert with actual per-model facts.