PydanticAI
Using OpenRouter with PydanticAI
Using PydanticAI
PydanticAI provides a high-level interface for working with various LLM providers, including OpenRouter.
Installation
Configuration
You can use OpenRouter with PydanticAI through its OpenAI-compatible interface:
For more details about using PydanticAI with OpenRouter, see the PydanticAI documentation.