Skip to main content

ormodels

A CLI for browsing and comparing AI models from the OpenRouter API.

Installation

The command is ormodels; the PyPI distribution name is openrouter-models-browser.

# Recommended: isolated tool install
uv tool install openrouter-models-browser
# or
pipx install openrouter-models-browser

# Or as a regular dependency
pip install openrouter-models-browser

Requires Python 3.11+.

Usage

# Show help
ormodels -h

# Search for models by name, ID, or modality
ormodels claude
ormodels gpt
ormodels "text->text"

# Combine multiple searches (results deduplicated)
ormodels claude gemini

# Get full details for an exact ID match
ormodels anthropic/claude-3.5-sonnet

# Equivalent module form
python -m ormodels claude

Output

Search results (table)

Comparison table with columns: ID, NAME, CREATED, CONTEXT_LENGTH, MODALITY, TOKENIZER, PROMPT, COMPLETION, MAX_COMPL_TOKENS.

Pricing is shown in dollars per 1M tokens. Token counts use a dual format (e.g. 256000 | 256k).

Exact match (YAML)

When the query exactly matches a model ID, the full model entry is printed in YAML format with the description first, followed by prominent fields, then remaining details.

Development

# Set up dev environment
uv sync --all-groups

# Run quality gates
uv run ruff format --check .
uv run ruff check .
uv run mypy
uv run pytest

# Run the CLI from source
uv run ormodels claude

# Build distribution artifacts
uv build

Publishing is automated via the Publish GitHub Actions workflow on a v* tag, using PyPI Trusted Publishing (no API token required).

License

MIT

Metadata

Release files for openrouter-models-browser 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openrouter-models-browser 0.1.0
File Size Uploaded Provenance Actions
openrouter_models_browser-0.1.0.tar.gz 44.5 kB With provenance Details for openrouter_models_browser-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openrouter-models-browser 0.1.0
File Interpreter ABI Platform Actions
openrouter_models_browser-0.1.0-py3-none-any.whl Python 3 none any Details for openrouter_models_browser-0.1.0-py3-none-any.whl

Total release size: 50.9 kB

Release files / openrouter_models_browser-0.1.0.tar.gz

Download URL openrouter_models_browser-0.1.0.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1eb09b9aa23d603753f8dfcebcfac4dce7650a739e4c13142cfef9ff0f7bceb0
BLAKE2b-256 checksum
How to use checksums
3222ff94a479cbc1543b82aac0ff812e8111661194d8c8d38e66715ef98c6ec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Release files / openrouter_models_browser-0.1.0-py3-none-any.whl

Download URL openrouter_models_browser-0.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
510bd96854cb674edaabd730406d44ea5efcfe1ac967fd40485efd70f0e4e1e6
BLAKE2b-256 checksum
How to use checksums
58ad50abf1cd9956f9e2a89e2b894e050d627a2065c9de7ae5de63da1da0ba7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

Security for openrouter-models-browser 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openrouter_models_browser-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page