Plugins / Providers

Hosted providers

One gem per API.

Seven gems that connect elelem to hosted Chat Completions APIs: Cerebras, Cloudflare Workers AI, Gemini, GitHub Models, Groq, Mistral and OpenRouter.

gem install elelem-shell

Alpha. It works, with known gaps. Read its limits first.

elelem-shell installs all seven.

Install

#
gem install elelem-groq

Or any of the gems below.

Use

#
export GROQ_API_KEY=...
elelem -p groq --model MODEL

Each gem's command, such as elelem-groq, is elelem with that provider as the default.

Configure

#
Gem-pKeyModelBase URL
elelem-cerebrascerebrasCEREBRAS_API_KEYCEREBRAS_MODELCEREBRAS_BASE_URL
elelem-cloudflarecloudflareCLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_IDCLOUDFLARE_MODELCLOUDFLARE_BASE_URL
elelem-geminigeminiGEMINI_API_KEYGEMINI_MODELGEMINI_BASE_URL
elelem-githubgithubGH_TOKEN, else GITHUB_TOKENGITHUB_MODELGITHUB_BASE_URL
elelem-groqgroqGROQ_API_KEYGROQ_MODELGROQ_BASE_URL
elelem-mistralmistralMISTRAL_API_KEYMISTRAL_MODELMISTRAL_BASE_URL
elelem-openrouteropenrouterOPENROUTER_API_KEYOPENROUTER_MODELOPENROUTER_BASE_URL

None has a default model. Pass --model NAME or set the model variable; without either, elelem stops and names the variable.

CLOUDFLARE_ACCOUNT_ID is not needed when CLOUDFLARE_BASE_URL is set. A GITHUB_TOKEN needs the models:read permission.

A variable set to an empty value counts as unset.

Limits

#