Save Up to 70% with Llama 3 API

Unmatched performance and reliability at an unbeatable cost.

feature_bg

Key Features of Llama 3 API

  • 00
    Simple & Easy to Use
    Fast integration with minimal configuration.
  • 01
    Affordable
    Save up to 70% compared to other LLM API providers.
  • 02
    Reliable & Scalable
    Built on a high-performance, stable platform that scales with your needs.
  • 03
    OpenAI Compatible
    Easy integration into your existing application using OpenAI API standards.

Compare Our Pricing with Others

model_icon

Llama-3.1-8B-Instruct

其他提供商$0.20/M tokens (Input/Output)
我们的价格$0.05/M tokens (Input/Output)
Save 75%!
model_icon

Llama-3.1-70B-Instruct

其他提供商$0.90/M token (Input/Output)
我们的价格$0.34/M tokens (Input), $0.39/M tokens (Output)
Save 60%!
model_icon

Llama-3-8B-Instruct

其他提供商$0.20/M tokens (Input/Output)
我们的价格$0.04/M tokens (Input/Output)
Save 80%!
model_icon

Llama-3-70B-Instruct

其他提供商$0.90/M tokens (Input/Output)
我们的价格$0.51/M tokens (Input), $0.74/M tokens (Output)
Input Save 43%!
model_icon

Llama-3.2-3B-Instruct

其他提供商$0.10/M tokens (Input/Output)
我们的价格$0.03/M tokens (Input), $0.05/M tokens (Output)
Save 60%!
model_icon

Llama-3.2-11B-Vision-Instruct

其他提供商$0.20/M tokens (Input/Output)
我们的价格$0.06/M tokens (Input/Output)
Save 70%!

Integrate Llama 3 API with Your Application

We provide compatibility with the OpenAI API standard, allowing for easier integration into your existing applications.

API Base URL

https://api.novita.ai/openai

Supported Models

查看支持的模型完整列表 此处 或使用 Models API 获取所有可用模型。
Get API Key
from openai import OpenAI

client = OpenAI(
  base_url='https://api.novita.ai/openai',
  api_key='<YOUR Novita AI API Key>',
  # Get the Novita AI API Key by referring: https://novita.ai/docs/get-started/quickstart.html#_2-manage-api-key
)

completion_res = client.completions.create(
  model='meta-llama/llama-3.1-8b-instruct',
  prompt='A chat between a curious user and an artificial intelligence assistant',
  stream=True,
  max_tokens=512,
)
logo

Choose a pricing plan that suits you

查看价格