Base URL
https://api.moneo.one/v1
OpenAI-compatible API for accessing AI models via Moneo.
https://api.moneo.one/v1
Pass the Moneo API key as a Bearer token. API keys start withsk-moneo-.
Authorization: Bearer $MONEO_API_KEY
Store the API key in an environment variable or protected program storage. Don't add it to the project code and Git.
curl https://api.moneo.one/v1/models
Public endpoint returns available model IDs, context size, capabilities, input and output token prices, and statusavailability. For queries to models, use records with the valueavailable.
curl https://api.moneo.one/v1/chat/completions \
-H "Authorization: Bearer $MONEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash:web","messages":[{"role":"user","content":"Reply with OK"}]}'
Endpoint accepts requests in the OpenAI Chat Completions format. For a regular JSON response, use a request withoutstream or with valuefalse. For streaming via server-sent events, pass"stream": true.
curl https://api.moneo.one/v1/balance \
-H "Authorization: Bearer $MONEO_API_KEY"
Endpoint returns the available balance, expenses and limit of this API key, usage percentage and warning sign. The response is not cached.
Moneo accepts standard message roles, streaming,tools, tool_choice, parallel tool calls, JSON response formats, token restrictions, generation parameters and reasoning fields.
Support for individual features depends on the selected model. Check the fieldscapabilities, has_web, has_vision, has_tools andhas_reasoning in the responseGET /v1/models.
If the model temporarily does not respond, the API returns an error in OpenAI format with HTTP status429, codemodel_overloaded and titleRetry-After. Repeat the request after the specified number of seconds. Some OpenAI-compatible clients do this automatically.
Before calling the model, Moneo reserves the cost of the request. If no response is received, the reserved amount is returned automatically. If after an error the balance still decreases, do not repeat the request several times in a row - contact support and indicate the request time, model andX-Request-Id if you sent it. There is no need to send an API key.
Execute/connect, selectMoneo and paste the API key.
Execute/models and select the available Moneo model.
The API key can also be passed via an environment variableMONEO_API_KEY before running OpenCode. The connection method is the same for Windows, macOS and Linux.
IfMoneo is not in the provider list of your version of OpenCode, usemanual setup on the connection page.
If the API returns an error or the balance has changed after a request without a response, write toTelegram bot Moneo.
Specify the request time, model, HTTP status andX-Request-Id if you passed it. Do not send the API key, Bearer token, or the contents of private requests.