New

    Introducing AutoEvals: Find the right model for your task

    AnthropicMultimodal Model

    Claude Opus 4.6

    The first Opus-class Claude with a 1M-token context window. Opus 4.6 plans carefully, sustains long agentic sessions, and works reliably inside large codebases, with adaptive thinking for trading depth against speed on each request.

    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: "claude-opus-4-6",
      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);
    }

    Start building with Claude Opus 4.6 today

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