# HeFu

> Put AI to work in your product and your content pipeline

## Pages

- [Blog｜HeFu](https://blog.hefu.hk/en/blog): Practical guides for model API integration, client setup, app integration, AI tools and the DramaStudio workflow — with verification dates and links to the live catalog.
- [Tags｜HeFu](https://blog.hefu.hk/en/tags): Browse all topics of the English blog.
- [Glossary｜HeFu](https://blog.hefu.hk/en/glossary): Core concepts and terms for LLM APIs, GEO and AI infrastructure.
- [Developers — One OpenAI-Compatible Key for Every Major LLM｜HeFu](https://blog.hefu.hk/en/developers): One OpenAI-compatible endpoint for global and Chinese frontier models with current platform rates in the live catalog; chat, image and video on the same key and balance.
- [Model API — One Key for Every Major LLM｜HeFu](https://blog.hefu.hk/en/topics/model-api): Guides for calling GPT, Claude, Gemini, DeepSeek, Qwen, Kimi and more through one OpenAI-compatible API with current platform rates in the live catalog: pricing comparisons, cost optimization and pay-as-you-go usage for teams in Hong Kong, Singapore and beyond.
- [Client Setup — Connect Your Favorite AI Client｜HeFu](https://blog.hefu.hk/en/topics/client-setup): Step-by-step guides for pointing Cherry Studio, Open WebUI, Cline, Cursor and other OpenAI-compatible clients at a unified model API: base URL, model IDs and troubleshooting.
- [App Integration — Add AI Features with Clear Billing｜HeFu](https://blog.hefu.hk/en/topics/app-integration): How SaaS teams embed model capabilities through OAuth/PKCE, user-paid or application-paid billing, scoped access and usage reconciliation.
- [AI Tools — Multi-Model Workbench in Practice｜HeFu](https://blog.hefu.hk/en/topics/ai-tools): Hands-on reviews and workflows for unified AI workbenches: test text, image, video and voice models in one place, debug OpenAI-compatible calls online and pick the right tool for content work.
- [DramaStudio — Short-Drama Production with AI｜HeFu](https://blog.hefu.hk/en/topics/dramastudio): The DramaStudio short-drama workflow: script to episode with consistent characters, multi-episode pipelines and practical tutorials for AI short-drama creation.
- [Model API｜Tags｜HeFu](https://blog.hefu.hk/en/tags/Model%20API): All guides and tutorials tagged "Model API".
- [Client setup｜Tags｜HeFu](https://blog.hefu.hk/en/tags/Client%20setup): All guides and tutorials tagged "Client setup".
- [DramaStudio｜Tags｜HeFu](https://blog.hefu.hk/en/tags/DramaStudio): All guides and tutorials tagged "DramaStudio".
- [App integration｜Tags｜HeFu](https://blog.hefu.hk/en/tags/App%20integration): All guides and tutorials tagged "App integration".

## Comparisons

- [OpenRouter Alternative: An Honest Comparison｜HeFu](https://blog.hefu.hk/en/compare/openrouter): OpenRouter vs HeFu compared on fees, model coverage and access: pass-through pricing with a 5.5% credit-purchase fee (Standard; 8% Business) as of Nov 2026, versus one key for global plus Chinese frontier models with current rates listed in the live catalog.
- [Together AI Alternative: An Honest Comparison｜HeFu](https://blog.hefu.hk/en/compare/together-ai): Together AI vs HeFu: an open-model inference cloud (serverless, fine-tuning, dedicated GPUs) compared with a multi-vendor LLM gateway — different categories, and here is how to choose as of Nov 2026.
- [SiliconFlow Alternative: An Honest Comparison｜HeFu](https://blog.hefu.hk/en/compare/siliconflow): SiliconFlow vs HeFu: a China-based open-model inference platform compared with a Hong Kong multi-vendor gateway — pricing posture, model sourcing and cross-border fit as of Nov 2026.

## Glossary

- [What is AEO (Answer Engine Optimization)｜HeFu](https://blog.hefu.hk/en/glossary/aeo): AEO (Answer Engine Optimization) is the practice of making your content become the answer directly: answer-first structure and question-answer formatting, adapted for voice assistants, featured snippets and AI direct-answer scenarios.
- [What is AI API Gateway｜HeFu](https://blog.hefu.hk/en/glossary/ai-api-gateway): An AI API gateway is a unified access layer between your application and LLM providers: call multiple model families with one API key and one protocol, with routing, billing, audit and failover built in.
- [What is GEO (Generative Engine Optimization)｜HeFu](https://blog.hefu.hk/en/glossary/geo): GEO (Generative Engine Optimization) is the practice of optimizing content for AI answer engines like ChatGPT and Perplexity: making your brand easy for AI to retrieve, understand and cite in generated answers.
- [What is ISR (Incremental Static Regeneration)｜HeFu](https://blog.hefu.hk/en/glossary/isr): ISR (Incremental Static Regeneration) is a Next.js rendering strategy: pages are served as static HTML while being regenerated in the background on a set interval — combining static speed with content freshness.
- [What is Pay-as-you-go｜HeFu](https://blog.hefu.hk/en/glossary/pay-as-you-go): Pay-as-you-go bills actual API usage instead of unused subscription seats, making it useful for variable workloads and model-by-model cost comparisons.

## Blog posts

- [How to Use an OpenAI-Compatible API with Python](https://blog.hefu.hk/en/blog/openai-compatible-api-python-quickstart): Clone a runnable repository, configure a protected API key and current model ID, then make one OpenAI-compatible Python request and diagnose common errors.
- [How to Connect HeFu to n8n with an OpenAI-Compatible API](https://blog.hefu.hk/en/blog/n8n-openai-compatible-api-setup): Configure HeFu in n8n with an OpenAI credential or HTTP Request node, map a current model ID and verify chat output, errors and actual usage.
- [How to Implement Model Fallback Without Infinite Retries](https://blog.hefu.hk/en/blog/model-fallback-without-infinite-retries): Build a bounded LLM fallback chain with per-model attempt limits, exponential backoff, fail-fast client errors and an overall production deadline.
- [How to Connect HeFu to Dify with an OpenAI-Compatible API](https://blog.hefu.hk/en/blog/dify-openai-compatible-api-setup): Add a current HeFu chat model in Dify's OpenAI-API-compatible provider, configure the base URL and capabilities, then run one controlled test.
- [Small Business AI Agents: A Practical Guide to Daily Work](https://blog.hefu.hk/en/blog/what-is-the-best-way-for-a-small-business-to-use-ai-agents-for-daily-work): Use focused AI workflows for product content, customer support and marketing drafts, with verified inputs, human approval and measured usage instead of unsupported ROI claims.
- [OpenAI-Compatible Client Setup Checklist: Base URL, API Key and Model ID](https://blog.hefu.hk/en/blog/openai-compatible-client-setup-checklist): Configure OpenAI-compatible clients with the correct Base URL, protected API Key and exact model ID, then test chat and diagnose authentication, model and protocol errors.
- [Model Selection and Your First API Call: A Verification Workflow](https://blog.hefu.hk/en/blog/model-selection-and-first-api-call): Compare models with a real task, verify the exact model ID and billing unit, test the output online and make a minimal OpenAI-compatible API request.
- [How to Add an AI Customer Support Widget to Your Website](https://blog.hefu.hk/en/blog/how-to-add-an-ai-customer-support-widget-to-my-website): Configure a website AI support widget with a focused Q&A knowledge base, brand settings, embed controls and metered usage—without invented ROI claims.
- [DramaStudio Workflow: Script, Storyboard, Shot Review and Export](https://blog.hefu.hk/en/blog/dramastudio-short-drama-production-workflow): Follow a reviewable DramaStudio workflow from project setup and character assets to editable storyboards, per-shot review, voice, subtitles and export.
- [Cross-Border Listing Workflow: From Product Facts to Reviewable Drafts](https://blog.hefu.hk/en/blog/cross-border-listing-content-workflow): Use HeFu Seller Assistant to turn verified product facts into Amazon, Shopify or Etsy drafts, then review localization, platform fit and every claim before publishing.
- [API Doctor: Free API Preflight, Client Configs and Controlled Compatibility Checks](https://blog.hefu.hk/en/blog/api-doctor-client-config-and-compatibility-checks): Use HeFu API Doctor to validate model IDs and protocol support, generate client configs and run one explicitly confirmed live check with a sanitized report.
- [How to Add OAuth AI Access to a Desktop App with PKCE](https://blog.hefu.hk/en/blog/oauth-pkce-desktop-app-ai-integration): A practical OAuth 2.0 and PKCE flow for desktop AI apps: authorization, state validation, secure token exchange, scopes and usage reconciliation.
- [How to Check Live Per-Token Pricing for Multiple AI Models in One Place](https://blog.hefu.hk/en/blog/how-do-i-check-live-per-token-pricing-for-multiple-ai-models-in-one-place): Compare current input and output rates across models, open detailed catalog entries and verify actual usage against call records and wallet details.
- [How Can a Small Team Produce AI Short Dramas Without a Studio? A DramaStudio Workflow](https://blog.hefu.hk/en/blog/how-can-a-small-team-produce-ai-short-dramas-without-a-studio): Follow a small-team DramaStudio workflow from project setup and script review to storyboard, asset production, timeline composition and export.
- [How to Create a Cross-Border Product Listing with AI Tools](https://blog.hefu.hk/en/blog/cross-border-product-listing-ai-tools-workflow): A practical Seller Assistant workflow for Amazon, Shopify and Etsy: prepare product facts, draft listing copy, localize carefully and review buyer-facing claims.
- [How Small Teams in Hong Kong and Taiwan Can Manage AI Sub-Accounts and Quotas](https://blog.hefu.hk/en/blog/how-can-small-teams-in-hong-kong-and-taiwan-manage-ai-sub-accounts-and-quotas): Set up separate AI access for team members, assign quotas, review usage and revoke access using HeFu's shared account controls.
- [AI Model Comparison: Try Multiple Models Online Before API Integration](https://blog.hefu.hk/en/blog/try-ai-models-online-model-directory-guide): Use HeFu's model catalog and online comparison mode to test content prompts, review outputs and record current model IDs and rates before API integration.
- [LLM API Cost Calculator: Estimate and Reconcile Model Spending](https://blog.hefu.hk/en/blog/llm-api-cost-calculator): Estimate LLM API costs from your own token usage, current platform rates, cache support and retries, then reconcile the estimate with actual call records.
- [Consistent Characters in AI Video: A Shot-by-Shot Review Workflow](https://blog.hefu.hk/en/blog/consistent-characters-in-ai-video): Maintain consistent characters in AI video with reusable reference sheets, bounded prompts, shot-level review and targeted regeneration in DramaStudio.
- [AI Short Drama Generator: A Practical Workflow from Script to Reviewable Episode](https://blog.hefu.hk/en/blog/ai-short-drama-generator): Learn how an AI short drama generator fits into a reviewable production workflow, and where HeFu's model API and DramaStudio fit.
- [DramaStudio AI Short Drama Creation Tutorial](https://blog.hefu.hk/en/blog/dramastudio-ai-short-drama-creation-tutorial): DramaStudio AI short drama creation tutorial.
- [How to Add Real-Time Web Search to Your AI App (HeFu web-search API, $0.007/Search)](https://blog.hefu.hk/en/blog/how-to-add-real-time-web-search-to-your-ai-app): How to add real-time web search to your AI app with one API call: HeFu's web-search model, POST /v1/search, per-search pricing at $0.007, and source citations.
- [How to Debug an OpenAI-Compatible API and Save Results](https://blog.hefu.hk/en/blog/how-can-i-debug-an-openai-compatible-api-online-and-save-results): Debug an OpenAI-compatible API online, capture sanitized request metadata and save reusable fixtures for repeatable regression tests.
- [How SEA Content Teams Can Use Multiple AI Models Through One API](https://blog.hefu.hk/en/blog/how-can-a-content-team-in-singapore-malaysia-or-the-philippines-use-multiple-ai-models-through-one-api): A practical workflow for content teams in Singapore, Malaysia and the Philippines to compare models, localize drafts and review output through one API.
- [How Can a Content Team Evaluate a Multi-Model API Without Separate Subscriptions](https://blog.hefu.hk/en/blog/how-can-a-content-team-evaluate-a-multi-model-api-without-separate-subscriptions): How a content team can evaluate a multi-model API without separate subscriptions: one trial account, real-task testing across models, and usage-based billing instead of per-vendor fees.
- [HeFu vs OpenRouter for Teams in APAC: A Practical Comparison](https://blog.hefu.hk/en/blog/hefu-vs-openrouter-for-teams-in-apac): Compare HeFu and OpenRouter for APAC teams using current model access, protocol compatibility, regional testing, billing evidence and data handling.
- [Best API Gateway for Chinese Open Models in Hong Kong and Singapore](https://blog.hefu.hk/en/blog/best-api-gateway-for-chinese-open-models-in-hong-kong-and-singapore): Evaluate an API gateway for Chinese open models in Hong Kong and Singapore using current availability, protocol tests, data handling and measured cost.
- [How Small Teams Can Manage AI Access with Sub-Accounts and Quotas](https://blog.hefu.hk/en/blog/small-team-ai-subaccounts-and-quota-management): A practical way for small teams to separate AI access, assign quotas and review usage—plus clear signs that it is time to evaluate an enterprise plan.
- [Enterprise LLM Gateway Checklist: A Practical Evaluation Guide](https://blog.hefu.hk/en/blog/enterprise-llm-gateway-evaluation-checklist): Evaluate a multi-model LLM gateway by migration fit, usage evidence, failover, data routing, commercial terms and deployment control—without relying on vague enterprise claims.
- [How Much Does HeFu API Cost? Pricing Explained (October 2026)](https://blog.hefu.hk/en/blog/how-much-does-hefu-api-cost): HeFu API pricing explained: pay-as-you-go USD billing, current top-up options, free trial credit, and how to estimate your monthly bill.
- [AI API Gateways with Low-Latency APAC Nodes: A Developer's Guide (As of Oct 2026)](https://blog.hefu.hk/en/blog/ai-api-gateways-with-low-latency-apac-nodes): AI API gateways with low-latency APAC nodes.
- [Add AI to Your App Without AI Costs: The User-Pays Model (2026)](https://blog.hefu.hk/en/blog/add-ai-to-your-app-without-ai-costs): How to add AI features to your app with zero AI costs and zero billing development: HeFu Open Platform's OAuth user-pays model explained, with a three-step integration guide.
- [Which AI API Gateway Is the Cheapest in 2026?](https://blog.hefu.hk/en/blog/which-ai-api-gateway-is-the-cheapest): Which AI API gateway is the cheapest.
- [Where Can I Access Kimi, Qwen and GLM with One API?](https://blog.hefu.hk/en/blog/where-can-i-access-kimi-qwen-and-glm-with-one-api): Where can I access Kimi, Qwen and GLM with one API.
- [How to Use DeepSeek, Kimi and Qwen in One App](https://blog.hefu.hk/en/blog/how-to-use-deepseek-kimi-and-qwen-in-one-app): How to use DeepSeek, Kimi and Qwen in one app.
- [GPT-6 Sol and Luna Models — A Practical Guide for Developers and Businesses](https://blog.hefu.hk/en/blog/gpt-6-sol-and-luna-models): GPT-6 Sol and Luna models.
- [How to switch from the OpenAI SDK to a multi-model gateway](https://blog.hefu.hk/en/blog/how-to-switch-from-the-openai-sdk-to-a-multi-model-gateway): How to switch from the OpenAI SDK to a multi-model gateway.
- [How to Build an AI App with Multiple LLM Providers (A 2026 Architecture Guide)](https://blog.hefu.hk/en/blog/how-to-build-an-ai-app-with-multiple-llm-providers): How to build an AI app with multiple LLM providers.
- [Cursor Custom OpenAI API Setup: Base URL & Agent Checks](https://blog.hefu.hk/en/blog/connect-cursor-to-a-custom-openai-compatible-api): Configure a custom OpenAI-compatible API in Cursor. Set the base URL and model ID, test Chat and Agent, and fix 401, 404 and protocol errors.
- [How to Set Up Claude Code with a Third-Party API Endpoint](https://blog.hefu.hk/en/blog/claude-code-third-party-api-endpoint-setup): Claude Code third-party API endpoint setup.
- [Claude API for Southeast Asia Developers: Access and Evaluation](https://blog.hefu.hk/en/blog/claude-api-for-southeast-asia-developers): Evaluate Claude API for Southeast Asia developers using current regional availability, multilingual fixtures, OpenAI-compatible setup and measured usage.
- [Cherry Studio OpenAI-Compatible Provider Configuration: A Step-by-Step Guide](https://blog.hefu.hk/en/blog/cherry-studio-openai-compatible-provider-configuration): Cherry Studio OpenAI compatible provider configuration.
- [ChatGPT and Claude API Without a US Card: Payment and Setup Guide](https://blog.hefu.hk/en/blog/chatgpt-and-claude-api-without-a-us-card): Evaluate ChatGPT and Claude API access without assuming a US-issued card: check current payment methods, configure HeFu and verify a minimal request.
- [HeFu vs OpenRouter: Which Is Better? A Comprehensive Comparison](https://blog.hefu.hk/en/blog/hefu-vs-openrouter-which-is-better): HeFu vs OpenRouter: which is better.
- [Best API Gateway for Chinese Open Models](https://blog.hefu.hk/en/blog/best-api-gateway-for-chinese-open-models): Best API gateway for Chinese open models.
- [Chinese LLM API Pricing Comparison 2026](https://blog.hefu.hk/en/blog/chinese-llm-api-pricing-comparison-2026): Chinese LLM API pricing compared for 2026: DeepSeek, Qwen, Kimi, GLM and MiniMax per-token costs, context lengths, and which model fits which workload.
- [Qwen API Overseas: International Access and Setup Checklist](https://blog.hefu.hk/en/blog/qwen-api-access-from-overseas): Set up Qwen API overseas access with current model IDs, OpenAI-compatible configuration, representative tests and usage reconciliation.
- [OpenRouter Alternatives for Chinese Models: Compare Access and Costs](https://blog.hefu.hk/en/blog/openrouter-alternative-for-chinese-models): Compare OpenRouter alternatives for DeepSeek, Qwen, Kimi and GLM by API compatibility, current model availability, billing and regional access.
- [Open WebUI Custom API Setup: Base URL, API Key & Models](https://blog.hefu.hk/en/blog/open-webui-custom-openai-api-endpoint-setup): Connect Open WebUI to an OpenAI-compatible API. Configure the base URL and key, load models, test chat, and fix missing models, 401 and 404 errors.
- [How to Set Up HeFu as a Custom Provider in LobeChat: A Step-by-Step Guide](https://blog.hefu.hk/en/blog/lobechat-custom-provider-hefu-setup-guide): LobeChat custom provider HeFu setup guide.
- [Kimi Moonshot API Access Outside China: Direct vs. Aggregator Routes (As of Aug 2026)](https://blog.hefu.hk/en/blog/kimi-moonshot-api-access-outside-china): Kimi (Moonshot) API access from outside China: direct signup hurdles vs aggregator routes, pricing in USD, and working OpenAI-compatible setup steps.
- [GLM and MiniMax API Outside China: Access and Evaluation Guide](https://blog.hefu.hk/en/blog/glm-zhipu-minimax-api-access-outside-china): Evaluate GLM and MiniMax API access outside mainland China using official documentation, current HeFu model IDs and your own latency, quality and cost tests.
- [DeepSeek Pay-as-You-Go: One API Key for DeepSeek, Qwen and Kimi](https://blog.hefu.hk/en/blog/deepseek-qwen-kimi-single-api-key): Use one OpenAI-compatible key for DeepSeek, Qwen and Kimi: choose current model IDs, configure the endpoint, run a minimal request and verify usage.
- [Cline Custom API Setup: Base URL, Model ID & 401/404 Fixes](https://blog.hefu.hk/en/blog/cline-vs-code-custom-openai-compatible-provider-setup): Set up Cline with an OpenAI-compatible API in VS Code. Copy the base URL and model ID, test your first call, and fix 401, 404 and missing-model errors.
- [Chinese LLM Tool Calling Compatibility: A Practical Test Guide](https://blog.hefu.hk/en/blog/chinese-llm-tool-calling-compatibility-comparison): Compare Chinese LLM tool calling with a repeatable compatibility suite covering schemas, streaming, parallel calls, errors and production recovery.
- [GPT-5.6 API Pricing: Compare Sol, Terra and Luna Costs](https://blog.hefu.hk/en/blog/gpt-5-6-api-pricing): Compare GPT-5.6 Sol, Terra and Luna input/output costs, caching and long-context charges, then check HeFu's live catalog for current platform rates.
- [Claude Opus 5 API Access: Historical Guide and Current HeFu Status](https://blog.hefu.hk/en/blog/claude-opus-5-api-access): Claude Opus 5 background and historical API pricing, with its December 2026 HeFu availability status and current Claude alternatives.
- [AI API Gateway for Developers: A 2026 Guide](https://blog.hefu.hk/en/blog/ai-api-gateway-for-developers): What an AI API gateway actually does—routing, fallback, cost control, key management—and how developers can add one in front of OpenAI-compatible model APIs in 2026.
