> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/cheahjs/free-llm-api-resources/llms.txt
> Use this file to discover all available pages before exploring further.

# Nebius

> Get $1 in free credits to access various open-source models on Nebius Studio

## Overview

Nebius Studio provides \$1 in trial credits to new users, giving you access to their collection of open-source language models through their AI platform.

<CardGroup cols={2}>
  <Card title="Trial Credits" icon="dollar-sign">
    \$1 in free credits
  </Card>

  <Card title="Duration" icon="clock">
    No expiration specified
  </Card>
</CardGroup>

## Available Models

Nebius offers access to various open-source models optimized for their infrastructure.

<Info>
  View the complete list of available models at [studio.nebius.ai/models](https://studio.nebius.ai/models)
</Info>

## Getting Started

### 1. Sign Up

Visit [studio.nebius.com](https://studio.nebius.com/) and create a free account to receive your \$1 in trial credits.

### 2. Get Your API Key

Navigate to your account settings to generate an API key.

### 3. Make API Calls

```python theme={null}
import openai

client = openai.OpenAI(
    api_key="YOUR_NEBIUS_API_KEY",
    base_url="https://api.studio.nebius.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/Meta-Llama-3.1-70B-Instruct",
    messages=[{
        "role": "user",
        "content": "What is the capital of France?"
    }]
)

print(response.choices[0].message.content)
```

```javascript theme={null}
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.NEBIUS_API_KEY,
  baseURL: 'https://api.studio.nebius.ai/v1'
});

const response = await client.chat.completions.create({
  model: 'meta-llama/Meta-Llama-3.1-70B-Instruct',
  messages: [{
    role: 'user',
    content: 'What is the capital of France?'
  }]
});

console.log(response.choices[0].message.content);
```

```bash theme={null}
curl https://api.studio.nebius.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_NEBIUS_API_KEY" \
  -d '{
    "model": "meta-llama/Meta-Llama-3.1-70B-Instruct",
    "messages": [{
      "role": "user",
      "content": "What is the capital of France?"
    }]
  }'
```

## API Compatibility

<Note>
  Nebius Studio uses an **OpenAI-compatible API**, making it easy to integrate with existing applications that use the OpenAI SDK.
</Note>

## Use Cases

* **Quick Testing**: Evaluate open-source models for your use case
* **Development**: Build and test AI applications before scaling
* **Model Comparison**: Compare performance across different model architectures

## Resources

<CardGroup cols={2}>
  <Card title="Nebius Studio" icon="link" href="https://studio.nebius.com/">
    Access the platform
  </Card>

  <Card title="Model Catalog" icon="book" href="https://studio.nebius.ai/models">
    Browse available models
  </Card>
</CardGroup>

<Info>
  Make the most of your \$1 credit by starting with smaller models for testing and prototyping.
</Info>
