AI Services FluentRead Integrates With: Complete Technical Reference

FluentRead integrates with over 25 AI translation services including OpenAI GPT-4o, Google Gemini, Anthropic Claude, DeepSeek, and major Chinese providers like Tongyi and Doubao, all managed through a central service registry in entrypoints/utils/option.ts.

FluentRead is an open-source browser extension that provides AI-powered bilingual translation. Understanding which AI services FluentRead integrates with helps users configure optimal translation backends and allows developers to extend the platform's capabilities.

Complete AI Service Catalog

FluentRead's service architecture uses a registry pattern defined in entrypoints/utils/option.ts. Lines 11-37 define the services object that maps service keys to their metadata, while lines 44-68 declare the servicesType.AI set categorizing these as AI-powered translation sources.

Each service has a dedicated implementation module under entrypoints/service/.

International LLM Providers

FluentRead supports leading Western AI providers through native API integrations:

Chinese AI Providers

FluentRead provides extensive support for domestic Chinese AI services:

Specialized and Utility Services

Beyond standard LLM providers, FluentRead includes specialized inference platforms and utility translators:

Architecture and Implementation

FluentRead's AI service integration follows a modular registry pattern that separates service definitions from their concrete implementations.

Service Registry

The central catalog is defined in entrypoints/utils/option.ts. Lines 11-37 contain the services object that maps service identifiers to their configuration metadata, including display names, available models, and authentication requirements. Lines 44-68 define the servicesType.AI set, which categorizes these entries as AI-powered translation sources distinct from traditional translation engines.

Service Implementations

Each AI provider has a dedicated implementation module under entrypoints/service/:

Request Dispatching

The entrypoints/utils/translateApi.ts module orchestrates translation requests. It reads the user's selected service from the registry, instantiates the appropriate client from entrypoints/service/, and manages streaming responses and error handling uniformly across all providers regardless of their underlying API differences.

Configuring Custom AI Endpoints

For services not included in the default registry, FluentRead provides two extension mechanisms defined in entrypoints/utils/option.ts:

  1. Custom API (services.custom, line 19): Configures arbitrary HTTP endpoints with custom headers, request formatting, and authentication schemes. Implementation resides in entrypoints/service/custom.ts.

  2. New API (services.newapi, line 36): Provides a generic OpenAI-compatible wrapper for private or beta endpoints that follow the OpenAI API specification. Implemented in entrypoints/service/newapi.ts.

Both extension points support proxy configuration, custom base URLs, and model selection through the extension's options UI, allowing integration of private LLM deployments or emerging providers not yet hardcoded in the service registry.

Summary

  • FluentRead integrates with 25+ AI services ranging from international LLMs (OpenAI GPT-4o, Claude, Gemini) to Chinese providers (Tongyi, Doubao, Hunyuan) and specialized inference platforms (Groq, Silicon Cloud).
  • The service architecture uses a central registry in entrypoints/utils/option.ts (lines 11-37) with modular implementations under entrypoints/service/.
  • OpenAI-compatible providers share client code in entrypoints/service/azure-openai.ts, while native SDKs implement provider-specific logic.
  • Users can extend support via Custom API and New API endpoints for private or unsupported models.
  • Non-AI translation is available through Chrome Translator (entrypoints/service/chrome-translator.ts) using the browser's native API.

Frequently Asked Questions

How many AI services does FluentRead support out of the box?

FluentRead supports 25+ AI services natively, including major international providers like OpenAI, Google Gemini, and Anthropic Claude, alongside comprehensive Chinese provider support for Tongyi, Doubao, Hunyuan, and others. The complete authoritative list is defined in entrypoints/utils/option.ts at lines 11-37.

Can I use my own private AI endpoint with FluentRead?

Yes. FluentRead provides two mechanisms for custom endpoints: the Custom API service (services.custom at line 19 in entrypoints/utils/option.ts) for generic HTTP endpoints with custom headers, and the New API service (services.newapi at line 36) for OpenAI-compatible endpoints. Implementations reside in entrypoints/service/custom.ts and entrypoints/service/newapi.ts respectively.

Does FluentRead support Azure OpenAI Service?

Yes. Azure OpenAI is fully supported through the services.azureOpenai entry at line 12 in entrypoints/utils/option.ts. It shares the same underlying client implementation as standard OpenAI in entrypoints/service/azure-openai.ts, enabling seamless switching between OpenAI's direct API and Azure's enterprise deployment while maintaining identical request formatting.

How does FluentRead handle different authentication methods across providers?

Each service module under entrypoints/service/ implements provider-specific authentication. For example, entrypoints/service/gemini.ts handles Google API keys for Gemini, while entrypoints/service/azure-openai.ts manages OpenAI-compatible authentication patterns. The central dispatcher in entrypoints/utils/translateApi.ts routes requests to the appropriate handler based on the service registry configuration, ensuring uniform error handling despite differing authentication schemes.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →