Docs/API
Use it with your tools
How do I point Cursor, Continue, Aider, the OpenAI SDK or LangChain at askr?
Checked against the code on
Two settings. Anything that speaks the OpenAI API works, because the shape is the one it already sends.
- Base URL
https://heyaskr.ai/v1- API key
askr_live_...from your wallet- Model
- Any chat id from the catalog
| Tool | How |
|---|---|
| Cursor | Settings, Models: add an OpenAI key, then set the override base URL. Enter an askr model id as a custom model. |
| Continue | In config.json: "provider": "openai", "apiBase": "https://heyaskr.ai/v1", "apiKey": "askr_live_...". |
| Aider | aider --openai-api-base https://heyaskr.ai/v1 --openai-api-key $ASKR_KEY --model openai/claude-sonnet-5 |
| OpenAI SDK (Python, Node) | Pass base_url / baseURL and api_key / apiKey. Nothing else changes. |
| LangChain, LlamaIndex | Any OpenAI chat model class that accepts a base URL and key. |
| Open WebUI and other chat front ends | Add an OpenAI-compatible connection with the base URL and key. The model picker fills from /v1/models. |
| Your own script | It is HTTP and JSON. curl works. |
Claude Code, the Anthropic desktop app and other tools that speak the Anthropic Messages API cannot be pointed at askr: the shape is different. Cursor and Continue can run Claude models through askr because they speak OpenAI's shape.
What to expect
- Streaming works everywhere the tool supports it.
- Tool calling and structured output are not applied yet. A tool that depends on function calls will fall back to plain text. Not on the API yet.
- Image inputs are dropped. Pasting a screenshot into Cursor sends text only.
- Every call from every tool is one line in your activity, with its cost.