Back to all models

OpenCode Zen

gpt-5

GPT-5 是由 opencode 提供的人工智能模型。

Vendor

OpenCode Zen

Category

Large Language Model API

Pricing

Input price / 1M tokens

$2.50

Output price / 1M tokens

$20.00

Supported endpoints

openai

Quick start

OpenAI-compatible — just change base_url to treeRouter to use this model:

curl https://treerouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TREEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'