Skip to main content

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:
  1. Go to Model Catalog → Add Provider
  2. Select Lingyi (01.ai)
  3. Enter your Lingyi API key
  4. 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: Check Lingyi’s documentation for the complete model list.

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
For complete SDK documentation:

SDK Reference

Complete Portkey SDK documentation
Last modified on February 4, 2026