New

    Introducing AutoEvals: Find the right model for your task

    AnthropicMultimodal Model

    Claude Opus 5

    A step-change upgrade to the Opus tier that approaches Claude Fable 5's frontier intelligence at a significantly lower price. Thinking is available across a 1M-token context with configurable effort for scaling test-time compute up or down per 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-5",
      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 5 today

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