One endpoint, multiple models. OpenAI-compatible. Pay only for what you use with Lencon credits.
Change one line โ the base URL. Your existing code works.
Our own fast AI model. Free during beta. Plus GPT-4o and Claude.
Buy Lencon credits, use what you need. No subscription.
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://platform.lenout.com/v1',
apiKey: 'lnai_your_key'
})
const res = await client.chat.completions.create({
model: 'lenout-model',
messages: [{ role: 'user', content: 'Hello!' }]
})
// โ "Hi! I'm Lenout Model. How can I help you?"
console.log(res.choices[0].message.content)
lenout-model
FREE BETA
Lenout's own AI model โ fast, friendly, multilingual
gpt-4o-mini
OpenAI โ affordable, good for most tasks
gpt-4o
OpenAI โ flagship, best quality
claude-sonnet-4
Anthropic โ best for complex reasoning
claude-haiku-3.5
Anthropic โ fast and affordable
1 USD = 10 Lencon ยท Top up at lenout.com
Get your API key in seconds. Free during beta.
Get Your API Key โ