ai-apis
v1.0.0
Published
Per-model chat functions for chatday.ai (anonymous session)
Maintainers
Readme
@mr-supun-fernando - ai-api
Node.js (>=18) package — each model has its own function.
const ai = require('ai-apis');
const r = await ai.claudeOpus48('Hello!');
console.log(r.result);
// or load only one model
const gpt = require('ai-apis/models/gpt-5.5');
console.log((await gpt('Hi')).result);
// or by id
await ai.chat('deepseek/deepseek-v4-pro', 'Hi');| Function | Model ID |
|---|---|
| gpt55 | openai/gpt-5.5 |
| gpt54 | openai/gpt-5.4 |
| gpt53Chat | openai/gpt-5.3-chat |
| gpt51Instant | openai/gpt-5.1-instant |
| gpt5 | openai/gpt-5 |
| gpt4o | openai/gpt-4o |
| gpt4oMini | openai/gpt-4o-mini |
| grok41Fast | xai/grok-4.1-fast-non-reasoning |
| claudeHaiku45 | anthropic/claude-haiku-4.5 |
| claudeSonnet46 | anthropic/claude-sonnet-4.6 |
| claudeOpus45 | anthropic/claude-opus-4.5 |
| claudeOpus46 | anthropic/claude-opus-4.6 |
| claudeOpus47 | anthropic/claude-opus-4.7 |
| claudeOpus48 | anthropic/claude-opus-4.8 |
| claudeFable5 | anthropic/claude-fable-5 |
| deepseekV4Pro | deepseek/deepseek-v4-pro |
| deepseekV4Flash | deepseek/deepseek-v4-flash |
| deepseekV32Thinking | deepseek/deepseek-v3.2-thinking |
| gemini31Pro | google/gemini-3.1-pro-preview |
| gemini3Pro | google/gemini-3-pro-preview |
| gemini31FlashLite | google/gemini-3.1-flash-lite |
| qwen3Max | alibaba/qwen3-max |
| llama4Maverick | meta/llama-4-maverick |
| kimiK26 | moonshotai/kimi-k2.6 |
