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
FAQ
Frequently asked questions about accounts, API keys, billing, models, and troubleshooting.
  • Account & API key management
  • Billing, pricing & payments
  • Model access & technical issues

Ready to start building?

Create an account and get your first API key in minutes.