模型候選名單

Best coding model APIs for agents and code review

Compare coding model APIs by context length, tools, JSON output, latency, price, and what role they should play in production.

這份候選名單適合什麼用途?: Coding models

A model that completes a 20-line function is not the same product as a model that reads half a monorepo and calls tools. Output is expensive, tool calls fail in boring ways, and long context burns money. Use this page to pick a primary coding model and a cheaper fallback, then decide budget rules before agents run unsupervised.

來源依據: NextModel use-case taxonomy and OpenRouter supported-parameter metadata when available. · 更新日期 2026-07-01

如何使用这份名单

如何使用这份名单 (Coding models)

  1. 对照任务选模型. 先看「Coding models」短名单是否覆盖你的真实任务,不要只比标价。
  2. 用同一批提示词试跑. 挑 2–3 个候选,用业务提示词对比质量与输出长度。
  3. 估算月费. 用价格页或成本计算器,按预计 token 量估算月度花费。
  4. 定兜底与预算. 定主模型、兜底模型,设项目预算后再接生产流量。

匹配分

推薦候選 coding models

先從候選名單開始,再以真實提示詞測試,並在接入生產路由前比較月度成本。

AnthropicCatalog

Claude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...

$1.45 / 1M tokensInput$7.23 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVisionLong context
Platform curatedNextModel gateway catalog (Go origin)
View details
AnthropicCatalog

Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...

$0.145 / 1M tokensInput$0.723 / 1M tokensOutput200kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVisionLong context
Platform curatedNextModel gateway catalog (Go origin)
View details
AnthropicCatalog

Claude Opus 4.5 is Anthropic’s frontier reasoning model optimized for complex software engineering, agentic workflows, and long-horizon computer use. It offers strong multimodal capabilities, competitive performance across real-world coding and...

$0.723 / 1M tokensInput$3.62 / 1M tokensOutput200kContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVisionLong context
Platform curatedNextModel gateway catalog (Go origin)
View details
AnthropicCatalog

Opus 4.6 is Anthropic’s strongest model for coding and long-running professional tasks. It is built for agents that operate across entire workflows rather than single prompts, making it especially effective...

$0.723 / 1M tokensInput$3.62 / 1M tokensOutput1MContext
Best forimage understanding, multimodal chat
RoutingConfigured
StreamingTool callingJSON modeVisionLong context
Platform curatedNextModel gateway catalog (Go origin)
View details

比較表

按價格、提供方、上下文、能力與來源比較這份候選名單。

當你在縮小正式環境候選名單、建立兜底策略或比較模型經濟性時,可使用此視圖。

ModelProviderInputOutputContextCapabilitiesBest forLatencyStatusSource
Anthropic: Claude Fable 5anthropic/claude-fable-5Anthropic$1.45 / 1M tokens$7.23 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Haiku 4.5anthropic/claude-haiku-4.5Anthropic$0.145 / 1M tokens$0.723 / 1M tokens200k
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Opus 4.5anthropic/claude-opus-4.5Anthropic$0.723 / 1M tokens$3.62 / 1M tokens200k
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Opus 4.6anthropic/claude-opus-4.6Anthropic$0.723 / 1M tokens$3.62 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Opus 4.7anthropic/claude-opus-4.7Anthropic$0.723 / 1M tokens$3.62 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8Anthropic$0.723 / 1M tokens$3.62 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Claude Opus 5anthropic/claude-opus-5Anthropic$0.723 / 1M tokens$3.62 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated
Anthropic: Claude Sonnet 4.5anthropic/claude-sonnet-4.5Anthropic$0.434 / 1M tokens$2.17 / 1M tokens1M
StreamingTool callingJSON modeVision
image understanding, multimodal chat1000-3000msCatalogPlatform curated

常見問題

Coding models 常見問題

What makes a model good for coding agents?

Reliable tool calling, structured output, enough context for the repo slice you send, and instructions it actually follows. Token price alone is a poor proxy.

How should teams control coding-agent cost?

Cap budgets per project, watch output tokens, and send simple tasks to cheaper models. Escalate only when quality checks fail.

相关排行榜

相关排行榜