Releases: BlockRunAI/blockrun-llm-ts
Releases · BlockRunAI/blockrun-llm-ts
v1.0.0 - Production Release
BlockRun LLM TypeScript SDK v1.0.0
First stable production release! 🎉
Features
- 30+ AI Models: OpenAI (GPT-5.2, GPT-4o), Anthropic (Claude), Google (Gemini), DeepSeek, xAI (Grok), Moonshot
- x402 Micropayments: Pay-per-request on Base (EVM) and Solana networks
- Type-Safe: Full TypeScript support with comprehensive types
- Well-Tested: Extensive unit and integration test coverage
- Modern Build: ESM and CommonJS support
Installation
npm install @blockrun/llm
# or
pnpm add @blockrun/llmQuick Start
import { BlockRunClient } from '@blockrun/llm';
const client = new BlockRunClient({
network: 'base',
walletKey: process.env.BLOCKRUN_WALLET_KEY
});
const response = await client.chat({
model: 'openai/gpt-4o',
messages: [{ role: 'user', content: 'Hello!' }]
});