PTENES
Free console

100+ AI models.
Zero cost.

Web console for NVIDIA’s free API (build.nvidia.com). Chat, model comparison arena, streaming, and embeddings. No credit card, no queue, no catch.

# Switching from OpenAI to NVIDIA = 2 lines
from openai import OpenAI

client = OpenAI(
    base_url="https://integrate.api.nvidia.com/v1",
    api_key="nvapi-XXXXX"  # free at build.nvidia.com
)

r = client.chat.completions.create(
    model="meta/llama-3.1-70b-instruct",
    messages=[{"role": "user", "content": "Ola!"}]
)
print(r.choices[0].message.content)
What it is

Cutting-edge AI, at no cost

NVIDIA makes 100+ AI models available via a free API at build.nvidia.com. This project is a complete web console for using these models without any hassle.

🚀 100% OpenAI-compatible

Uses the library openai default (Python/JS). Switch base_url e api_key and you’re all set. No code changes.

⚡ Arena Mode

Compare up to 8 models side by side with the same prompt. See each response’s TTFT, total time, and quality in real time.

🔒 No credit card required

Create an NVIDIA Developer account and generate the key nvapi-... and start using it. 40 requests/minute per model, with no charge.

Available models

8 preconfigured models

The console comes with 8 models ready to use. The NVIDIA API has 100+ in total, and you can add any of them to the registry.

ModelProviderTypeHighlight
Llama 3.1 70BMetaLLMVersatile, 128k context
Llama 3.1 405BMetaLLMLargest Llama, top quality
DeepSeek R1DeepSeekLLMReasoning, 671B MoE
Qwen 3.5 397BQwenLLM17B active MoE, multilingual
GLM-5.2Z.aiLLM128k, long response
Nemotron 120BNVIDIALLM1M context, tool use
Mixtral 8x22BMistralLLMEuropean MoE, fast
Llama 3.2 90B VisionMetaVisionAnalyzes images + text

Embeddings also available via endpoint /api/embeddings (model nvidia/nv-embedqa-e5-v5).

How it works

From API key to chat in 3 steps

The API is 100% compatible with OpenAI. The console is a polished frontend that connects to it via FastAPI (local) or Vercel (production).

Generate a key at build.nvidia.com→ Add it to .env→ Run the server→ Chat or Arena

💬 Chat Mode

Ongoing conversation with a selected model. SSE streaming shows tokens in real time. Message history is kept in the frontend.

🏅 Arena Mode

Select 2-8 models, send them the same prompt, and compare their responses side by side. TTFT and total time for each model. Perfect for deciding which model to use.

Prerequisites

What you need

Few dependencies. Everything is free.

🔑 NVIDIA Key

Create a free account and generate an API key.

# Go to:
https://build.nvidia.com/settings/api-keys
# Click "Generate API Key"
# Save the nvapi-... key

🐍 Python 3.10+

Install dependencies with pip.

python3 --version
pip install openai fastapi uvicorn python-dotenv

💻 Git + GitHub CLI

To clone the project and deploy it.

git clone https://github.com/inematds/nvidiaapifree
cd nvidiaapifree
User guide · step by step

From zero to chat in 5 minutes

Follow the steps below. By the end, you’ll have the console running locally with 8 free AI models.

1

Generate your free key

Go to build.nvidia.com, create an account (no credit card required), and generate an API key.

# 1. Open in your browser:
https://build.nvidia.com/settings/api-keys

# 2. Click "Generate API Key"
# 3. Copy the key (format: nvapi-XXXX...)
# The key appears only ONCE. Save it immediately.
2

Clone the project and configure it

Clone the repo and create the file .env with your key.

git clone https://github.com/inematds/nvidiaapifree
cd nvidiaapifree
cp .env.example .env

# Edit the .env and paste your key:
echo "NVIDIA_API_KEY=nvapi-SUA_CHAVE_AQUI" > .env
3

Install dependencies

The project uses FastAPI + OpenAI SDK. One line does it.

pip install openai fastapi uvicorn python-dotenv
4

Test the connection

Run the test script to confirm the key works.

python3 test_api.py
# Expected output: "ok, working"
5

Start the console

Start the FastAPI server and open the console in your browser.

python3 server.py
# Server running at http://localhost:8812

# Open in your browser:
http://localhost:8812
6

Use Chat or Arena

In the console, choose a model and start chatting. Or switch to Arena to compare models.

# Chat: select a model from the dropdown, type, and send
# Arena: click the "arena" tab, select 2+ models, and send the same prompt
# Models respond in parallel with real-time streaming
7

Use it via code (optional)

The API also works directly in your Python/JS code.

# Python
from openai import OpenAI

client = OpenAI(
    base_url="https://integrate.api.nvidia.com/v1",
    api_key="nvapi-SUA_CHAVE"
)

# Chat
r = client.chat.completions.create(
    model="meta/llama-3.1-70b-instruct",
    messages=[{"role": "user", "content": "Explique IA em 2 frases"}],
    temperature=0.7, max_tokens=512
)
print(r.choices[0].message.content)

# Embeddings
emb = client.embeddings.create(
    model="nvidia/nv-embedqa-e5-v5",
    input=["texto para vetorizar"],
    extra_body={"input_type": "query"}
)
print(f"Dimensao: {len(emb.data[0].embedding)}")
Deploy on Vercel

Publish your console online

The project is ready to deploy on Vercel. It works on the free plan.

1

Import the project into Vercel

Connect your GitHub repo to Vercel and import it.

# In Vercel:
# 1. New Project > Import Git Repository
# 2. Select inematds/nvidiaapifree
# 3. Framework: Other
2

Configure the environment variables

Add NVIDIA_API_KEY in the project's Environment Variables in Vercel.

# Under Project Settings > Environment Variables:
NVIDIA_API_KEY=nvapi-SUA_CHAVE_AQUI

# Optional: separate keys by model
NVIDIA_API_KEY_LLAMA=nvapi-...
NVIDIA_API_KEY_DEEPSEEK=nvapi-...
Quick reference

Endpoints and limits

Everything you need to know about the NVIDIA NIM API in one table.

🔗 Endpoints

# Base URL
https://integrate.api.nvidia.com/v1

# Chat Completions
POST /v1/chat/completions

# Embeddings
POST /v1/embeddings

# List models
GET  /v1/models

📊 Free Tier Limits

# Rate limit
40 RPM por modelo  # scalable to 200

# Cost
$0  # no credits, no charges

# Credit card
Nao requerido

# Key expiration
Nao expira
Roadmap

Next steps

What’s already done and what’s next.

v1.0
Base consoleChat + Arena + SSE streaming. 8 LLM/Vision models. Vercel + local FastAPI deployment.
v1.1
Embeddings UIVisual interface for testing embeddings and viewing the dimensions and similarity between texts.
v1.2
Vision UIUpload an image and analyze it with Llama 3.2 Vision right in the console.
v2.0
Full playgroundEditable system prompt, temperature slider, saved history, conversation export.