Choose your preferred way to get started.
Integrate directly with our REST API.
Full TypeScript support with auto-completion and type safety.
Test models, manage API keys, and monitor usage.
Generate conversational responses
import { createClient } from 'secton';
const client = createClient({
apiKey: process.env.SECTON_API_KEY,
});
const response = await client.ask('What is the capital of France?');
console.log(response);
Estimate your costs with precision.
1 token = 5 characters = 1 credit