{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/3"}],"enrichment":{"capability":"A Python SDK for accessing 400+ AI models across multiple providers through the OpenRouter API, with type-safe request handling and support for both synchronous and asynchronous operations.","skillfed_tags":["llm-client","multi-provider","async-support"],"use_cases":["Build a chatbot that can route requests to the cheapest available model provider in real time.","Integrate web search capabilities into an AI assistant using OpenRouter's server-side search tool.","Create a multi-provider LLM application without rewriting code when switching from Claude to GPT-4.","Stream long-form AI responses to a web client using the SDK's native streaming support.","Implement pagination over model or provider listings using the SDK's built-in pagination helpers."],"what_it_does":"OpenRouter is the official Python SDK for accessing the OpenRouter API, which abstracts away the differences between multiple AI model providers (such as Anthropic, OpenAI, and others) under a unified interface. The SDK provides type-safe request construction using Pydantic, supports both blocking and async/await patterns, and handles streaming responses. It includes built-in support for OpenRouter-specific features like web search integration and provider selection strategies (e.g., sorting by price or using zero-downtime routing).\n\nThe package is designed for developers building AI-powered applications who want to avoid vendor lock-in by easily switching between providers or load-balancing across them. It handles the HTTP transport layer via httpx and httpcore, parses JSON responses with jsonpath-python, and validates all request and response shapes through Pydantic models. The SDK is marked as stable as of v1.0 and follows a Python version support policy with a grace period after official end-of-life.","worth_installing":"Yes. The SDK is actively maintained, has no known vulnerabilities, low install friction, and is the official client for OpenRouter's multi-provider API. It's worth installing if you need to access multiple AI models through a single, type-safe interface or want to avoid vendor lock-in. The Apache-2.0 license is permissive for commercial use."},"id":"openrouter","links":{"html":"https://skillfed.io/packages/openrouter","md":"https://skillfed.io/packages/openrouter.md","pypi":"https://pypi.org/project/openrouter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"openrouter","python_support":"supports_current","summary":"Official Python Client SDK for OpenRouter."},"popularity":{"monthly_downloads":1865574,"position":3481,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.55"}
