New

    DeepSeek V4.1 Flash 1017 is now available on Inference.net

    MetaText Generation Model

    Llama 3.2 1B Instruct

    Meta's smallest Llama: a 1B instruction-tuned model for text tasks on a 128K context. The cheapest tier in the catalog — built for routing, classification, and simple extraction where even small models are overkill.

    import OpenAI from "openai";
    
    const openai = new OpenAI({
      baseURL: "https://api.inference.net/v1",
      apiKey: "<YOUR_API_KEY>",
    });
    
    const completion = await openai.chat.completions.create({
      model: "llama-3.2-1b-instruct",
      messages: [
        {
          role: "user",
          content: "What is the meaning of life?"
        }
      ],
      stream: true,
    });
    
    for await (const chunk of completion) {
      process.stdout.write(chunk.choices[0]?.delta.content as string);
    }
    Readme

    Start building with Llama 3.2 1B Instruct today

    Serverless, OpenAI-compatible, and billed per token. No commitments.