Loading...
From sign-up to your first AI response in just a few steps.
Sign up for free - no credit card required. You'll get instant access to the API.
Sign Up FreeHead to your dashboard and create your first API key. Keep it safe!
Go to DashboardPick the SDK for your programming language and install it.
Use the code examples below to start building with AI.
npm install rax-ai
import { RaxAI } from 'rax-ai';
const rax = new RaxAI({ apiKey: 'rax_your_api_key' });
const response = await rax.chat({
model: 'rax-4.0',
messages: [{ role: 'user', content: 'Hello!' }]
});
console.log(response.choices[0].message.content);pip install rax-ai
from rax_ai import RaxAI
client = RaxAI(api_key="rax_your_api_key")
response = client.chat(
model="rax-4.0",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)flutter pub add rax_ai(Coming Soon)
import 'package:rax_ai/rax_ai.dart';
final rax = RaxAI(apiKey: 'rax_your_api_key');
final response = await rax.chat(
model: 'rax-4.0',
messages: [ChatMessage.user('Hello!')],
);
print(response.choices.first.message.content);Try our interactive playground or dive into the full documentation.