Pre-requisites
- AI model reachable on a private endpoint (e.g.
http://model.example:8080). - Funded wallet (MOR + ETH on BASE) and its private key.
- Akash account with deployment experience.
The final endpoint URL is only available after provider selection and Akash deployment.
Configuration model
Unlike a typical Docker run, on Akash the proxy-router uses environment variables instead of volume mounts for improved reliability:| Variable | Purpose |
|---|---|
COOKIE_CONTENT | API authentication: username:password |
MODELS_CONFIG_CONTENT | Single-line JSON for model endpoints (see models-config) |
WALLET_PRIVATE_KEY | For blockchain interactions |
| Plus chain ID, contract addresses, etc. | See Env: proxy-router |
Deployment
Prepare the SDL
Download and customize
docs/02.2-proxy-router-akash.yml. Minimum proxy-router image version: v2.3.0 (use a newer release tag for current features).
Configure:- Wallet private key
- API credentials (
COOKIE_CONTENT) MODELS_CONFIG_CONTENT(single-line JSON)
Deploy
In the Akash Dashboard: Deploy → Custom Container. Upload your SDL. Select a provider and deploy. Verify status and logs.
Configure endpoints
Update
WEB_PUBLIC_URL with the provider URL and port. Note both API port (8082) and proxy-router port (3333). Format: http://provider.example:port.Register provider on chain
Open Verify with
http://provider.example:port/swagger/index.html. Authenticate with your COOKIE_CONTENT credentials. Update the provider endpoint via POST /blockchain/providers:GET /blockchain/providers. Continue with model + bid registration in Register on chain.Sample logs
A successful Akash startup looks like the screenshot atdocs/images/akash_good_start.png.
