Skip to content

feat: add PleumRouter provider - #381

Open
gachon-star-want wants to merge 1 commit into
charmbracelet:mainfrom
gachon-star-want:add-pleumrouter-provider
Open

feat: add PleumRouter provider#381
gachon-star-want wants to merge 1 commit into
charmbracelet:mainfrom
gachon-star-want:add-pleumrouter-provider

Conversation

@gachon-star-want

Copy link
Copy Markdown

What

Adds PleumRouter as a provider for Crush.

PleumRouter is a Korea-region multi-provider LLM gateway with an OpenAI-compatible API, so it uses type: "openai-compat".

  • Endpoint: https://router.pleum.ai/v1
  • Auth: PLEUMROUTER_API_KEY
  • Costs are effective USD per 1M tokens (gateway markup included).

Changes

  • internal/providers/configs/pleumrouter.json — provider config with 10 featured flagship text models (Claude, GPT, Gemini, DeepSeek, Qwen, GLM).
  • internal/providers/providers.go — register the embedded config (matching the static-config precedent, e.g. cerebras).

Validation

  • gofmt clean
  • go test ./internal/... passes (TestValidDefaultModels green with PleumRouter included)

PleumRouter (https://router.pleum.ai) is a Korea-region multi-provider LLM
gateway with an OpenAI-compatible API (type: openai-compat).

- Endpoint: https://router.pleum.ai/v1
- Auth: PLEUMROUTER_API_KEY
- Costs are effective USD per 1M tokens (gateway markup included)

Adds the static config and registers it in providers.go (matching the
cerebras static-config precedent). gofmt clean, go test ./internal/... passes.
@gachon-star-want

Copy link
Copy Markdown
Author

Context from Pleum AI (for reviewers)

Hi maintainers — friendly re-intro + merge ask.

Who we are: Pleum AI (pleum.ai) — a Korea-based company building PleumRouter (router.pleum.ai), an OpenAI-compatible multi-provider LLM gateway (also Anthropic Messages + OpenAI Responses). One plm_… key reaches many upstream providers; billing is KRW prepaid credits with PIPA-aware operation for Korea/APAC users.

Why this PR: Your users already pick first-party “OpenAI-compatible gateway” options (OpenRouter et al.). Listing PleumRouter lets them select us in one click instead of hand-editing base_url / env. This PR only adds a static provider entry following existing gateway patterns — no schema or auth-flow changes.

What we are asking: a review pass toward merge when you have bandwidth. Happy to adjust naming, defaults, docs URL, or model list to your conventions.

Docs / key signup: https://router.pleum.ai/docs/cookbook/agent-integration
Thanks for maintaining this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant