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

Other Providers $0.20/M tokens (Input/Output)
Our Price $0.05/M tokens (Input/Output)
Save 75%!
model_icon

Llama-3.1-70B-Instruct

Other Providers $0.90/M token (Input/Output)
Our Price $0.34/M tokens (Input), $0.39/M tokens (Output)
Save 60%!
model_icon

Llama-3-8B-Instruct

Other Providers $0.20/M tokens (Input/Output)
Our Price $0.04/M tokens (Input/Output)
Save 80%!
model_icon

Llama-3-70B-Instruct

Other Providers $0.90/M tokens (Input/Output)
Our Price $0.51/M tokens (Input), $0.74/M tokens (Output)
Input Save 43%!
model_icon

Llama-3.2-3B-Instruct

Other Providers $0.10/M tokens (Input/Output)
Our Price $0.03/M tokens (Input), $0.05/M tokens (Output)
Save 60%!
model_icon

Llama-3.2-11B-Vision-Instruct

Other Providers $0.20/M tokens (Input/Output)
Our Price $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/v3/openai

Supported Models

Check the full list of supported models here or use the Models API to get all available models.
Get API Key
from openai import OpenAI

client = OpenAI(
  base_url='https://api.novita.ai/v3/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

See pricing

Can't afford API credits? Get up to $500 in free credits!

Refer a friend to Novita and both earn $10 in LLM API credits—up to $500 in total.

Build Free