Best AI Tools with an API for Writing Code with AI
Look for how the tool fits your workflow and API needs: a chat assistant, terminal agent, code editor, or cloud agent; whether API access is included and how usage is billed; context for large codebases; and data handling. ChatGPT offers an OpenAI API plus sandboxed code execution. Claude Code runs in the terminal and is billed per token through the Anthropic API. Cursor combines an editor with an AI agent, with API access on paid plans billed separately.
- Amazon Ergo
Open-weights coding model for long-horizon software engineering agents, on Bedrock or self-hosted. · Usage-based Bedrock token pricing; self-hosted open weights have a $0 weight fee · from Bedrock Standard: $1.00 per 1M input tokens, $3.00 per 1M output tokens; $0.03 per 1M cached input tokens
- GLM-5.4
Z.ai's GLM-5.4 coding model, used through a subscription Coding Plan in terminal and IDE agents. · Subscription-based GLM Coding Plan; standalone pay-per-token API not yet available · from Lite: $18 per month, ~30% off with yearly billing
- Kodelyth ECC
Open-source toolkit that adds specialist AI agents, memory, and token savings to a developer's existing coding editor. · Free and open source, no account or subscription
- Obvious
Obvious gives software teams AI agents that build, test, and report work through playbooks and a shared review inbox. · Paid per seat · from Standard: $199 per seat per month, including 1× Fusion usage
- Zellige Kiln
Hosted inference for coding agents, billed by time on a daily meter instead of by tokens. · Monthly price for a daily meter of inference time · from Custom from $49 per month
- Pizza
Pizza is an open-source desktop AI agent for developers and knowledge workers. · Open source; model usage and connected services may cost extra
- RailCall
AI workspace for developers and technical teams: local inference, OpenAI-compatible API, per-token cloud billing. · Pay per token from prepaid cloud credit, with free on-device desktop use and custom enterprise contracts · from From $5 of rollover prepaid credit, metered per token
- Devin
An autonomous software engineer for teams: it runs coding tasks, tests in a browser, and opens pull requests. · Free plan plus paid plans (Pro, Max, Teams) and custom Enterprise pricing · from Pro $20 per month
- LM Studio
Run open language models on your own computer and work with them through a local agent. · Free plan plus paid plans (Bionic+ and Pro) · from Bionic+ $20 USD per month