Skip to main content
Before you start, install the tool and create an API key with prepaid balance in the AsterWise app.
Based on the tool’s documented custom-provider setup. Live AsterWise compatibility has not yet been tested for this tool.

Which API does this use?

This guide selects Chat Completions through the openai/ adapter. The base URL is https://api.asterwise.dev/v1. The client builds the full endpoint: https://api.asterwise.dev/v1/chat/completions. The model name chooses AsterCode or AsterWork, not the protocol. Use the base URL in the configuration below, rather than the full endpoint.

1. Set the endpoint and key

In a terminal, replace the placeholder with your AsterWise key:
Aider uses OPENAI_API_BASE here, rather than OPENAI_BASE_URL.

2. Start Aider in your project

Change into your project directory, then run:
The openai/ prefix selects Aider’s API adapter. The model sent to AsterWise is aster-code. Use openai/aster-work to select AsterWork. If Aider warns that a custom model is unknown, review its model settings; do not treat inferred context limits or cost estimates as authoritative. Check actual charges in AsterWise Usage.

Check the connection

Ask “Reply with hello” first. Confirm a response appears and find the request in Usage in AsterWise. Then try a small coding task before a larger project. For authentication errors, check the key and restart the tool from the terminal where you exported it. See troubleshooting.

Official reference

Configuration reviewed on September 16, 2026. Aider OpenAI-compatible APIs.