#1068·OpenJarvis

Feature request: optional API Route OpenAI-compatible engine

Author: DennyHo0917Created Sep 30, 2026Updated Sep 30, 2026
Labelsworkstream:engineplatform:all

Problem Statement

API Route users can access an OpenAI-compatible endpoint, but currently need to configure a custom engine to use it with OpenJarvis. I maintain API Route and would like to ask whether another optional BYOK gateway integration would be welcome before starting a PR.

Proposed Solution

Following the Atlas Cloud integration in #988, add an opt-in API Route engine backed by the existing OpenAI-compatible client:

  • Base URL: https://global.api-route.com/v1.
  • Credentials: API_ROUTE_API_KEY; reuse the existing local settings/key storage conventions.
  • Keep provider routing separate from the exact, unprefixed model ID sent to the endpoint. The public catalog currently includes deepseek-v4-flash.
  • Include desktop provider/model selection and settings support, so the engine is usable from the UI as well as configuration.
  • Preserve the existing defaults and avoid adding an SDK dependency or guessing model pricing/capabilities.

Would you accept this scope? If so, are there preferred engine naming, model discovery, or verification requirements? I can prepare a small PR with focused routing/configuration tests and documentation after confirmation.

Primitive Area

Engine (with desktop settings support).

Alternatives Considered

Documenting the custom OpenAI-compatible configuration is a smaller alternative if you prefer not to expand the built-in provider list.

Service documentation: https://www.api-route.com/docs/overview. API key management: https://www.api-route.com/tokens. Current model catalog: https://www.api-route.com/pricing.

This issue was prepared with AI assistance; I am responsible for the proposed integration.