All integrations

LiteLLM

SDKs & frameworks

Call UltraGPT through the LiteLLM SDK, or put it behind a LiteLLM proxy.

Base URL
https://api.ultragpt.pro/v1
Fill the guide with your values

Stays in this browser tab — never sent or stored by us. Sign in to create one

Setup

  1. 1Use the openai/ prefix with api_base = https://api.ultragpt.pro/v1.
# pip install litellm
import os
from litellm import completion

res = completion(
    model="openai/grok-4.7",
    api_base="https://api.ultragpt.pro/v1",
    api_key=os.environ["ULTRAGPT_API_KEY"],
    messages=[{"role": "user", "content": "Hello!"}],
)
Tips
  • Any model id from Models works; suffixes like :online (web search) and :nitro work too.
  • Give each tool its own key with a spend limit, so usage shows separately in Activity.
  • Something off? Error codes · Support