Tools and coding agents
Point a coding agent, editor, or chat app at Morse, and pick a model for coding.
Give a tool Morse's base URL, your key, and a model id. Each tool's page says where they go:
Any other tool that takes an OpenAI-compatible base URL takes https://inference.trymorse.ai/v1.
Give each tool its own key with a spend limit, so one tool can't spend all your credits. To keep a tool at a privacy floor, set the floor on its key. See Limit a key.
Which models suit coding
Pick a model with tool calls and a long context: an agent calls tools on every turn and reads a lot of code. Each of these takes tools on every endpoint a key reaches without a floor.
| Model | Context | Input / output | Why |
|---|---|---|---|
qwen/qwen3-coder | 262.1K | $0.375 / $1.25 | Qwen's coding model. It doesn't reason, so it starts writing sooner. |
moonshotai/kimi-k3.1-pro | 1M | $2 / $10 | Reasons, and reads images. |
z-ai/glm-5.3 | 1M | $1.40 / $4.40 | Reasons, and takes tools at TEE too. |
deepseek/deepseek-v4-pro-0813 | 1M | $1.32 / $3.96 | Reasons, at a lower price. |
z-ai/glm-5.3-flash | 1M | $0.15 / $0.50 | Cheap and fast for small edits, and takes tools at TEE too. |
Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the models page.