v1.0 — API Documentation
Documentation
Everything you need to integrate the HuiLink API into your application.
Explore the Docs
Find the right guide for your integration journey.
Quickstart
Get up and running in minutes. Register, create an API key, and make your first request.
- Step-by-step setup guide
- Code examples in curl, Python & Node.js
- From registration to first API call
API Reference
Complete reference for every endpoint in the HuiLink API.
- Chat Completions, Embeddings & Models
- Request/response schemas & error codes
- Authentication & rate limits
Examples
Practical code examples showing common integration patterns.
- Chat completion & streaming
- Tool calling & function calling
- Embedding generation
Pricing
Understand our pricing model including cache pricing and expression-based pricing.
- Pay-as-you-go per-token pricing
- Cache hit discounts
- Expression-based pricing for advanced users