Skip to content

AI coding · Model API

Model APIs and routers for coding agents

The model providers and routers behind bring-your-own-key tools. If you use an open-source agent (Cline, OpenCode, Aider), this is where your money goes. Prices are per token, so the cost depends on how much context the agent sends.

18 tools · updated 27 Nov 2026

Compare 18 tools

Model APIs and routers for coding agents: free tier, starting price, open source, own key, MCP and where they run
Tool Free tier Paid from Open source Own key MCP Runs in
Claude Platform (Anthropic API) Pay-per-token API for Claude models, with SDKs, tool use, batch and caching, plus hosted Managed Agents. Trial only Usage-based – – – –
OpenAI API Platform Pay-per-token API for GPT models with Responses API, hosted Agents API, tools, MCP connections, batch, flex and fast processing tiers. – Usage-based – – Yes CLI
DeepSeek API OpenAI- and Anthropic-compatible pay-per-token API for DeepSeek V4 models, with 1M context, tool calls, FIM completion and off-peak pricing. – Usage-based – – – –
Vercel AI Gateway Single API endpoint to call 400+ models from many providers with fallbacks, budgets, observability and no token markup; coding agents connect by changing a base URL. Free plan Usage-based – Yes – Web
Blackbox AI Enterprise inference platform with a 300+ model API, CLI and cloud coding-agent API, sold on committed per-token contracts; site now centred on encrypted inference and GPU compute. – Usage-based – Yes – CLI
Mistral AI API (Studio) and Vibe Mistral's model API (Codestral, Devstral and general models, priced per token) plus Vibe, its coding agent for CLI, VS Code and web. Free plan $14.99/mo Partly – Yes VS Code, JetBrains, Desktop app, CLI, Web, Mobile, Slack
Google AI Studio Google's web workspace for trying Gemini models, vibe-coding web and Android apps, and getting Gemini API keys; the API is priced per token. Free plan Usage-based No – – Web
OpenRouter Pay-as-you-go API gateway that gives one OpenAI-compatible endpoint to 600+ models from 80+ providers, with routing, failover, budgets and data policies. Free plan Usage-based – Yes Yes Web
Zhipu BigModel (GLM Coding Plan) Zhipu AI's developer platform: pay-per-token GLM model APIs plus a GLM Coding Plan subscription that works inside Claude Code, Cline, Cursor and other coding tools. Free plan Usage-based – – Yes Desktop app
Gemini API formerly Google Gemini API Google's developer API and AI Studio for Gemini and Gemma models, with a free tier and pay-per-token paid tier. Free plan Usage-based – – Yes CLI, Web
Cerebras Code Fast hosted GLM 4.7 inference sold as a coding plan; you plug an API key into editors and agents such as Cline, OpenCode or Crush. Trial only $50/mo – – – –
Together AI Inference cloud for open-weight models: per-token serverless API, dedicated endpoints, GPU clusters, fine-tuning, plus Together Link to run coding agents on its models. No Usage-based – – – CLI
Fireworks AI Inference platform for open models (pay-per-token API, dedicated GPUs, fine-tuning), plus Nexus, a CLI/desktop router that sends Claude Code, Codex and Cursor turns to open or closed models. – $8/mo – Yes – VS Code, Desktop app, CLI
Inception Mercury API Sunsetting Diffusion-based Mercury LLM API with OpenAI-compatible chat, fill-in-the-middle and code-edit endpoints; the API is being wound down. Trial only Usage-based – – No Web
GroqCloud Fast-inference API (LPU hardware) serving open-weight models such as GPT-OSS, Llama and Whisper behind an OpenAI-compatible endpoint, billed per token. Free plan Usage-based – – Yes –
Morph Inference API for coding agents: open-weight models (Kimi, GLM, DeepSeek) plus specialized models for fast code apply, repo search and context compaction. Free plan $200/mo – – Yes CLI
Relace Open-weight model inference API (DeepSeek, Kimi, GLM) billed per token; earlier docs also cover code-merge, search and compaction models. – Usage-based – – – –
Requesty OpenAI-compatible LLM gateway giving one API key and endpoint for 600+ models, with routing, failover, caching, spend limits and logs. Free plan Usage-based – Yes Yes CLI

A dash means the tool's website does not say. "Paid from" is the cheapest regular individual plan; "full models" is the cheapest plan with the tool's main models when that costs more. Sale prices are not used.

What to check before you pay

  • Per-token input, output and cache prices, and whether cached input is discounted.
  • Rate limits on new accounts.
  • Router fees (OpenRouter and similar charge a percentage on credits).
  • Data retention and training terms for API traffic.

Most used here

Going by GitHub stars, installs and followers. Not a ranking.

  • Claude Platform (Anthropic API)

    Teams building products or coding agents directly on Claude with per-token billing, prompt caching, batch discounts and enterprise controls.

    Watch out: Usage-only billing with no spend-capped plan; Fable 5.2 at $8/$40 per MTok costs 4x Sonnet 5.5; Haiku 5.5 rates jump 5x above 100k-token prompts.

  • OpenAI API Platform

    Teams building products or coding agents on GPT models who want hosted agents, batch/flex discounts and SOC 2 / DPA / BAA coverage.

    Watch out: Usage billing only; tiers (Fast, Ultrafast) multiply prices 2-6x; Flex is a beta being wound down; default 30-day retention unless ZDR approved.

  • DeepSeek API

    Developers and agent tools (Claude Code, Codex, OpenCode) that want a very cheap Claude- or OpenAI-compatible backend with 1M context.

    Watch out: Prices double in weekday peak hours (UTC); platform and retention terms were not readable (sign-up page behind a bot check); FIM is beta and non-thinking only.

Where the information comes from: how we build the list. Out of date? Send a correction.

Type to search. Esc closes.