How do I use the Wiozen API with Aider?
Start Aider through Wiozen with a single command.
In short: Start Aider with the --openai-api-base https://api.wiozen.com/v1, --openai-api-key, and --model openai/deepseek-v4.1-flash options.
Requirements
- A Wiozen API key (
sk-gw-…). Sign-up is free; new accounts get trial credit. - An installed Aider (terminal agent).
Steps
- Run the command below in your project folder.
- The
openai/prefix at the start of the model name tells Aider to use an OpenAI-compatible endpoint. After it, writedeepseek-v4.1-flashor another model name.
terminal
aider --model openai/deepseek-v4.1-flash \ --openai-api-base https://api.wiozen.com/v1 \ --openai-api-key sk-gw-YOUR_KEY
Things to know
- To avoid typing them each time, you can set the OPENAI_API_BASE and OPENAI_API_KEY environment variables.
Which model name should I enter?
Only the names on the models page are accepted. Prices per 1 million tokens are listed there too. Any other model name returns 400.
Related guides
- How do you connect an OpenAI-compatible API to a tool you already use?
- Which model should you use in Cline, Cursor, OpenCode and Aider?
- How do you do function calling (tool use) with an AI API?
- How do I add web search to my AI app, and what does a search cost?
- Which AI model should I choose: deciding by price, context and quality
- An AI API returns "Unknown model": where do I find the right model name?
- My AI API returns "401 Invalid API key": why isn't my key accepted?
Other guides: Cline · Roo Code · Kilo Code · Cursor · Continue · Claude Code · Hermes Agent · OpenCode · Qwen Code · Open WebUI · LibreChat · AI Engine