One CLI.
Any AI Model.
Bring your own API keys (BYOK) to connect your favorite AI providers. No monthly assistant subscriptions. Run local offline models or commercial edge LLMs instantly in your terminal.
WORKS WITH YOUR FAVORITE AI PROVIDERS
Zero limits. Plug in your own keys instantly.
OpenAI
GPT-4o, GPT-4o-mini & o1
Google Gemini
Gemini 2.5 Pro & Flash
Anthropic Claude
Claude 3.5 Sonnet & Haiku
OpenRouter
Access 100+ global models
Ollama
Run Llama 3, Qwen & Gemma locally
Architected for builders
Terminal power, unleashed with total flexibility.
Nexa CLI is designed around absolute speed, robust security, and the freedom of Bring Your Own Key.
Bring Your Own Key (BYOK)
Plug in your own API keys. You only pay for exactly what you consume directly to providers, with no middleman markup or subscription fee.
Multi AI Provider
Switch seamlessly between OpenAI, Anthropic, Gemini, or local models. Mix and match models depending on your task complexity.
Agent Mode
Enable autonomous execution. Nexa can write, run tests, debug compile errors, and optimize files iteratively on its own.
Project Context
Nexa scans and indices your project structure, reading file contents and folder trees to understand full framework contexts automatically.
Terminal Native
No tabs, no bloated UI. Get AI insights directly in your workspace. Start a chat, fix an error, or explain a file in seconds.
Local AI with Ollama
Work completely offline and secure. Connect to a local Ollama instance running Qwen, Llama 3, or Gemma without sending code outside.
Fast Performance
Written in highly optimized, lightweight code. Launches instantly in milliseconds, featuring ultra-low latency prompt streaming.
Open Source Ready
Transparent, inspectable, and community-driven. Customize terminal keybindings, add custom system prompts, and contribute plugins.
Secure Local Configs
Your API keys and workspace histories are stored locally on your machine. Nexa never sends your data to third-party databases.
Interactive playground
See Nexa in Action
Switch between commands to see how Nexa interacts with your project and different AI models.
Get started in 30 seconds
Install Nexa CLI
Requires Node.js 18+. Just run the global install command, execute `nexa`, and select your AI model.
Built for developers
How Nexa Compares
Say goodbye to locked models and hidden markups. We compared Nexa CLI against standard closed-ecosystem AI tools.
| Feature Matrix | Nexa CLI | Traditional AI CLIs |
|---|---|---|
| Bring Your Own Key (BYOK)Connect your own credentials directly with no intermediate billing. | ||
| Multi Provider SupportSwitch between OpenAI, Claude, Gemini, and OpenRouter dynamically. | ||
| Offline AI (Ollama)Complete local execution without internet, key verification, or telemetry. | ||
| Autonomous Agent ModeRuns tests, installs dependencies, and fixes terminal bugs iteratively. | ||
| Full Project ContextScans folders and parses code structure to answer complex cross-file queries. | ||
| Open Source LicenseCodebase is transparent, extensible, and free from telemetry locks. |
Approved by developers
Loved by Builders
See what developers are saying about Nexa's speed, flexibility, and cost savings.
Sarah Jenkins
Lead Frontend Engineer at Vercel
"Nexa CLI has completely changed my daily workflow. I connected my Claude 3.5 Sonnet key and the response times in the terminal are literally instant. BYOK is saving me a fortune."
Marcus Chen
Senior Backend Developer
"The agent mode is spectacular. It autonomously ran my Laravel test suite, detected a database mapping error in a controller, resolved the query syntax, and verified the fix. Insane time-saver."
Alex Petrov
Security Architect
"I need 100% offline security for client projects. Running Nexa CLI with local Ollama models means none of our codebase leaves my hardware. The best terminal tool I've used this year."
Emma Watson
Fullstack Developer
"I love the `nexa commit` command. It reads my staging area, generates a perfectly semantic commit message, and commits with one keystroke. No more writing lazy 'minor fix' commit logs."
David Miller
Open Source Contributor
"No subscription gating, no middleman pricing. Nexa CLI gives power back to developers. The configuration is stored locally, it is transparent, and extremely fast. 10/10."
Sofia Rodriguez
Software Engineer at Linear
"It feels like a tool built by developers for developers. Minimalistic, zero bloated features, and extremely responsive. The terminal integration is seamless."
Nexa Group
Building the next generation of AI products for developers, businesses, and the future of automation.

Nexa CLI
A next-generation AI coding assistant that runs directly in the terminal with Bring Your Own Key (BYOK), multi-provider AI support, project context, and autonomous coding agents.
More AI products are coming soon.
Join us as we build the Nexa ecosystem.
Frequently Asked Questions
Have Questions?
Everything you need to know about Nexa CLI architecture, keys, and security.
