Get started in minutes

Our API is designed to be simple and intuitive. With just a few lines of code, you can start making inference requests to the world's most powerful AI models.

1

Create an account

Sign up for free and get your API key

2

Install the SDK

npm install inferacty or pip install inferacty

3

Make your first request

Start generating with a simple API call

Get your API key
example.ts
import { Inferactxy } from 'inferacty';

const client = new Inferactxy({
  apiKey: process.env.INFERACTXY_API_KEY,
});

const response = await client.chat.completions.create({
  model: 'llama-3-70b',
  messages: [
    { role: 'user', content: 'Hello, how are you?' }
  ],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '');
}

Official SDKs

Use our official SDKs to integrate inferacty into your favorite programming language.

Python

pip install inferacty

Node.js

npm i inferacty

Go

go get inferacty

Rust

cargo add inferacty

Need help?

Can't find what you're looking for? Our team is here to help.