Quick Start
Get started with Lingyi in under 2 minutes:Tip: You can also set
provider="@lingyi" in Portkey() and use just model="Yi-Large-Preview" in the request.Add Provider in Model Catalog
Before making requests, add Lingyi to your Model Catalog:- Go to Model Catalog → Add Provider
- Select Lingyi (01.ai)
- Enter your Lingyi API key
- Name your provider (e.g.,
lingyi)
Complete Setup Guide
See all setup options and detailed configuration instructions
Supported Models
Lingyi (01.ai) provides the Yi model family:| Model | Description |
|---|---|
| Yi-Large-Preview | Latest Yi large model preview |
| Yi-Medium | Medium-sized Yi model |
| Yi-Vision | Multimodal Yi model with vision |
Next Steps
Gateway Configs
Add fallbacks, load balancing, and more
Observability
Monitor and trace your Lingyi requests
Prompt Library
Manage and version your prompts
Metadata
Add custom metadata to requests
SDK Reference
Complete Portkey SDK documentation

