Skip to main content

Overview

Nebius AI provides GPU-powered inference infrastructure with European data residency and competitive pricing. Key Features:
  • European data centers
  • GDPR-compliant infrastructure
  • Open AI-compatible API
  • Cost-effective pricing
Official Documentation: Nebius AI Docs

Authentication

Nebius uses Bearer token authentication with OpenAI-compatible format. Lava Forward Token:
${LAVA_SECRET_KEY}.${CONNECTION_SECRET}.${PRODUCT_SECRET}
For BYOK: ${TOKEN}.${YOUR_NEBIUS_KEY}
ModelContextDescription
meta-llama/Meta-Llama-3.3-70B-Instruct128KLlama 3.3 flagship
mistralai/Mixtral-8x7B-Instruct-v0.132KMistral MoE
Endpoint: https://api.studio.nebius.ai/v1/chat/completions Usage Tracking: data.usage (OpenAI format)

Quick Start

const response = await fetch(
  `https://api.lavapayments.com/v1/forward?u=${encodeURIComponent('https://api.studio.nebius.ai/v1/chat/completions')}`,
  {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.LAVA_FORWARD_TOKEN}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      model: 'meta-llama/Meta-Llama-3.3-70B-Instruct',
      messages: [{role: 'user', content: 'Hello!'}]
    })
  }
);

const data = await response.json();
console.log('Usage:', data.usage.total_tokens);

BYOK Support

Supported - Get API key from Nebius AI Studio

Resources