Skip to main content

Overview

Inference.net provides 1intrialcreditsuponsignup,withanopportunitytoreceiveanadditional1 in trial credits upon sign up, with an opportunity to receive an additional 25 in credits by responding to their email survey.

Initial Credits

$1 upon sign up

Bonus Credits

+$25 with email survey

Credit Structure

Base Credits

Receive $1 in credits immediately upon creating your account.

Bonus Credits

Receive an additional $25 in credits by responding to an email survey sent by Inference.net.

Available Models

Inference.net offers access to various open-source language models optimized for inference.
Inference.net focuses on providing cost-effective inference with a variety of popular open-source models.

Getting Started

1. Sign Up

Visit inference.net and create a free account to receive your initial $1 credit.

2. Check Your Email

Watch for a survey email from Inference.net to unlock the additional $25 in credits.

3. Get Your API Key

Navigate to your dashboard to generate an API key.

4. Make API Calls

import openai

client = openai.OpenAI(
    api_key="YOUR_INFERENCE_NET_API_KEY",
    base_url="https://api.inference.net/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)
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.INFERENCE_NET_API_KEY,
  baseURL: 'https://api.inference.net/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);
curl https://api.inference.net/v1/chat/completions \
  -H "Authorization: Bearer YOUR_INFERENCE_NET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/Meta-Llama-3.1-70B-Instruct",
    "messages": [{
      "role": "user",
      "content": "What is the capital of France?"
    }]
  }'

Unlocking Bonus Credits

Survey Process

  1. Create your account and receive $1
  2. Check your email for a survey from Inference.net
  3. Complete and submit the survey
  4. Receive $25 in additional credits
  5. Total credits: $26
Make sure to check your spam/junk folder for the survey email if you don’t see it in your inbox.

API Compatibility

Inference.net uses an OpenAI-compatible API, making integration straightforward for developers already familiar with OpenAI’s SDK.

Use Cases

  • Cost-Effective Testing: Substantial credits for thorough evaluation
  • Prototyping: Build and test AI applications
  • Model Comparison: Test multiple models to find the best fit
  • Development: Develop applications before scaling to production

Resources

Inference.net Platform

Access the platform

Dashboard

View usage and credits
With a total of $26 in credits (base + survey bonus), you have substantial capacity to thoroughly evaluate Inference.net for your needs.

Build docs developers (and LLMs) love