https://apistack.vn

← All applications · Connect apps section on /docs

Anthropic + OpenAIManual setup

Zed

Zed: hướng dẫn cấu hình model và nhà cung cấp trong trình soạn thảo.

Published instructions · App version: unverified

Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely

Base URL to paste

OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.

https://apistack.vn

Prerequisites

  1. Zed đã cài
  2. API key

Recommended model: claude-fable-5

Quick way — command / config

{
  "language_models": {
    "anthropic": {
      "api_url": "https://apistack.vn",
      "available_models": [
        {
          "name": "claude-fable-5",
          "display_name": "Claude Fable 5",
          "max_tokens": 1000000
        }
      ]
    }
  },
  "agent": {
    "default_model": {
      "provider": "anthropic",
      "model": "claude-fable-5"
    }
  }
}

Where to place file / fill Settings

Filemacos
~/Library/Application Support/Zed/settings.json
Merge language_models; API key qua Assistant → Configure (keychain).
Filelinux
~/.config/zed/settings.json
Giống macOS về nội dung JSON.
Filewindows
%APPDATA%\Zed\settings.json
Tạo/sửa settings.json; key qua UI Configure.

Verify connection

  1. Mở Agent/Assistant, gửi tin
  2. Sử dụng

Troubleshooting

SymptomReasonHow to handle
Không thấy modelThiếu available_models hoặc api_url sai.api_url = https://apistack.vn (không /v1).

Notes

  • Zed lưu key trong keychain OS — không nhét key vào settings.json.

Related

Cursor · Claude Code

Support