Skip to content

Feature Request: Integration of OpenAI-compatible LLM Translation Services #463

@mengdehong

Description

@mengdehong

Currently, Dialect primarily relies on traditional translation backends (Google, Bing, LibreTranslate, etc.). While these are effective, they lack the contextual nuance that modern LLMs provide. Integrating AI-based translation would significantly enhance the quality of translations, especially for complex or idiomatic phrases.

I would like to propose adding support for OpenAI-compatible LLM services. This would allow users to leverage models like GPT-5, DeepSeek, or even local models hosted via llama.cpp/vLLM.

Key configuration options should include:

  1. API Key for authentication.
  2. Base URL to support custom endpoints
  3. Model Selection
  4. SSE results returned

Additional:
I'm implementing this feature in my personal fork, and I'd like to know what the source repositories are doing about it.

Image Image
2026-04-27.11-04-18.mp4

I am open to discussing how to best integrate this into the upstream project and can refine the code based on the project's standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions