Skip to content
BYOK Tools

Comparison

chatgpt-shell vs gptel

Both let you bring your own API key and both support OpenAI, Anthropic, Google Gemini. Differences below.

chatgpt-shell

Emacs comint shell for ChatGPT, Claude, Gemini, Ollama and more.

gptel

Simple, provider-agnostic LLM client for Emacs.

Editor score4.1 / 54.3 / 5
CategoryCoding Agents & IDEsCoding Agents & IDEs
PricingOpen source · Free & open sourceOpen source · Free & open source
PlatformsCLICLI
ProvidersOpenAI, Anthropic, Google Gemini, Perplexity, DeepSeek, OpenRouter, Ollama, OpenAI-compatibleOpenAI, Anthropic, Google Gemini, OpenRouter, Mistral, Groq, DeepSeek, xAI, Ollama, Azure OpenAI, AWS Bedrock, Perplexity, Together AI, OpenAI-compatible
Open sourceYesYes
Self-hostableNoNo
Local modelsYesYes
Key storageOn deviceOn device
Strengths
  • Very Emacs-native
  • Actively maintained
  • Fits Emacs workflows perfectly
  • Wide provider support
Drawbacks
  • Emacs only
  • Emacs only

The verdict

gptel scores higher overall.

Choose chatgpt-shell if you want very Emacs-native on CLI.

Choose gptel if you want fits Emacs workflows perfectly on CLI.

chatgpt-shell vs gptel: FAQ

Is chatgpt-shell or gptel better?
gptel has the higher editor score (4.3 vs 4.1). The better choice depends on platform, provider and pricing needs; see the table above.
Which is cheaper, chatgpt-shell or gptel?
chatgpt-shell is open source (Free & open source). gptel is open source (Free & open source). With both, model usage is billed separately by your API provider.
Which handles API keys more safely?
Both score 93/100 on the BYOK Tools Key Safety Score.
Do chatgpt-shell and gptel support the same AI providers?
Both support OpenAI, Anthropic, Google Gemini, Perplexity, DeepSeek, OpenRouter, Ollama, OpenAI-compatible.
Can chatgpt-shell or gptel run local models?
Yes, both support local models such as Ollama.