Skip to main content
AI-gradio is a Python package built on Gradio’s framework. Pair it with Novita AI to use large language models through Novita AI’s APIs, with optimized performance and cost-effective pricing, all within AI-gradio’s interface. This guide shows how to access Novita AI’s LLMs API in ai-gradio, including how to install ai-gradio and use Novita AI’s LLMs in ai-gradio.

How to Install ai-gradio

How to use Novita AI’s LLMs in ai-gradio

1

Set up environment variables

Set NOVITA_API_KEY to your Novita API key.
2

Modify the app.py entry file

3

Run the app.py file with python

Last modified on November 11, 2026