Skip to main content
Novita AI provides a compatibility API that allows you to use the Anthropic SDK with Novita AI models. This is useful if you are already using the Anthropic SDK and want to switch to Novita AI models.

Supported Models

Currently, only the following models are compatible with the Anthropic SDK:

Quick Start Guide

This guide demonstrates how to use the Anthropic SDK with the Novita AI models step by step.

1. Install the Anthropic SDK

2. Initialize the Client

The Anthropic SDKs are designed to pull the API key and base URL from the environmental variables: ANTHROPIC_API_KEY and ANTHROPIC_BASE_URL. Also, you can supply the parameters to the Anthropic client when initializing it.
You can view and manage your API keys on the settings page.
  • Using Environment Variables
  • Set the parameters while initializing the Anthropic client

3. Call the API

Last modified on August 29, 2025