{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "@id": "https://new.nat6.net/news/custom-e410786ad6764d07/#article",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://new.nat6.net/news/custom-e410786ad6764d07/"
  },
  "url": "https://new.nat6.net/news/custom-e410786ad6764d07/",
  "headline": "【常青】Cursor / Claude Code / Codex：Base URL 该不该带 /v1？一张表说清",
  "description": "Cursor 等 OpenAI 兼容客户端通常填 https://主机/v1；Claude Code 的 ANTHROPIC_BASE_URL 一般填根地址、由客户端再拼 /v1/messages——两者不能互相照抄。配错最常见的是 404、「找不到资源」或「模型不存在」，看起来像密钥坏了，其实往往是路径多拼或少拼了…",
  "articleSection": "教程与技巧",
  "keywords": "AI, 行业动态, 教程实践, Orange News Editorial / vendor docs",
  "datePublished": "2026-11-07T01:30:28Z",
  "dateModified": "2026-11-07T07:43:36Z",
  "inLanguage": "zh-CN",
  "isAccessibleForFree": true,
  "author": {
    "@type": "Organization",
    "name": "橙子新闻编辑部",
    "url": "https://new.nat6.net/about/"
  },
  "publisher": {
    "@type": "NewsMediaOrganization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://new.nat6.net/assets/img/logo-512.png",
      "width": 512,
      "height": 512
    }
  },
  "image": {
    "@type": "ImageObject",
    "url": "https://new.nat6.net/assets/img/og-default.png",
    "width": 1200,
    "height": 630
  },
  "isPartOf": {
    "@id": "https://new.nat6.net/#website"
  },
  "isBasedOn": "https://code.claude.com/docs/en/env-vars",
  "citation": [
    "https://code.claude.com/docs/en/env-vars"
  ],
  "license": "https://new.nat6.net/sources/",
  "about": [
    {
      "@type": "Thing",
      "name": "行业动态"
    },
    {
      "@type": "Thing",
      "name": "教程实践"
    }
  ],
  "mentions": [
    {
      "@type": "Thing",
      "name": "行业动态"
    },
    {
      "@type": "Thing",
      "name": "教程实践"
    },
    {
      "@type": "Thing",
      "name": "Orange News Editorial / vendor docs"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      ".article-summary"
    ]
  },
  "copyrightHolder": {
    "@type": "Organization",
    "@id": "https://new.nat6.net/#org",
    "name": "橙子新闻",
    "url": "https://new.nat6.net/"
  },
  "creditText": "橙子新闻（自写稿）；参考：Orange News Editorial / vendor docs",
  "copyrightNotice": "© 2026 橙子新闻。本文为本站自写稿，文中引用的第三方资料版权归原作者与媒体所有；本站不镜像全文。",
  "copyrightYear": 2026,
  "abstract": "对照三类客户端的 Base URL 配置，分清协议与路径，再按最小请求、流式和工具调用逐步排查。",
  "subjectOf": [
    {
      "@type": "DigitalDocument",
      "name": "【常青】Cursor / Claude Code / Codex：Base URL 该不该带 /v1？一张表说清 (Markdown)",
      "url": "https://new.nat6.net/news/custom-e410786ad6764d07/index.md",
      "encodingFormat": "text/markdown"
    },
    {
      "@type": "DigitalDocument",
      "name": "【常青】Cursor / Claude Code / Codex：Base URL 该不该带 /v1？一张表说清 (JSON)",
      "url": "https://new.nat6.net/api/v1/articles/custom-e410786ad6764d07.json",
      "encodingFormat": "application/json"
    }
  ],
  "id": "custom-e410786ad6764d07",
  "updated_at": "2026-11-07T07:43:36Z",
  "canonical": "https://new.nat6.net/news/custom-e410786ad6764d07/",
  "api_url": "https://new.nat6.net/api/v1/articles/custom-e410786ad6764d07.json",
  "markdown_url": "https://new.nat6.net/news/custom-e410786ad6764d07/index.md",
  "topics": [
    "行业动态",
    "教程实践"
  ],
  "related": [
    {
      "id": "custom-a3c20a99de454f8c",
      "title": "Anthropic 11 月 19 日上市：9 个月收入 332 亿美元，Claude 会涨价吗？",
      "url": "https://new.nat6.net/news/custom-a3c20a99de454f8c/",
      "lang": "zh",
      "published_at": "2026-11-12T12:21:38Z"
    },
    {
      "id": "k99zjo9hbtous9r6vmmz7pxyh",
      "title": "Anthropic 官宣首次公开募股（IPO）",
      "url": "https://new.nat6.net/news/k99zjo9hbtous9r6vmmz7pxyh/",
      "lang": "zh",
      "published_at": "2026-11-12T11:30:46Z"
    },
    {
      "id": "custom-0b416b57727c4f32",
      "title": "美联航禁 AI 代理订票：3 件事别让 AI 替你干，11 月 11 日前订的票不取消",
      "url": "https://new.nat6.net/news/custom-0b416b57727c4f32/",
      "lang": "zh",
      "published_at": "2026-11-12T01:10:01Z"
    },
    {
      "id": "custom-81e9552af91e47e8",
      "title": "黄仁勋会被罢免吗？5 天 5 件事，市值蒸发约 6000 亿美元",
      "url": "https://new.nat6.net/news/custom-81e9552af91e47e8/",
      "lang": "zh",
      "published_at": "2026-11-12T00:03:39Z"
    },
    {
      "id": "aoxmmcsudy1gf9xmti7slu1wd",
      "title": "WSJ 报道 Nvidia 董事会接近决定是否罢免 CEO 黄仁勋",
      "url": "https://new.nat6.net/news/aoxmmcsudy1gf9xmti7slu1wd/",
      "lang": "zh",
      "published_at": "2026-11-11T23:43:05Z"
    },
    {
      "id": "custom-9367eaa6c1494c1d",
      "title": "网信办备案合成 1 个入口：大模型、算法等 4 类都在这办，旧备案还算不算？",
      "url": "https://new.nat6.net/news/custom-9367eaa6c1494c1d/",
      "lang": "zh",
      "published_at": "2026-11-11T19:21:22Z"
    }
  ],
  "citation_formats": {
    "format_zh": "橙子新闻.《文章标题》. 发布日期. https://new.nat6.net/news/custom-e410786ad6764d07/",
    "format_en": "Orange News. \"Article title\". Published YYYY-MM-DD. https://new.nat6.net/news/custom-e410786ad6764d07/",
    "backlink_required": true
  },
  "attribution": {
    "site": "橙子新闻",
    "source_name": "Orange News Editorial / vendor docs",
    "source_url": "https://code.claude.com/docs/en/env-vars",
    "aihot_url": "",
    "zh": "本文为橙子新闻自写稿；文中引用的第三方资料版权归原作者与媒体所有。",
    "en": "Staff-written article by Orange News Editorial; copyright of third-party material cited remains with the original authors and publishers."
  },
  "source": {
    "name": "Orange News Editorial / vendor docs",
    "url": "https://code.claude.com/docs/en/env-vars",
    "aihot_url": ""
  },
  "machine_versions": {
    "markdown": "https://new.nat6.net/news/custom-e410786ad6764d07/index.md",
    "json": "https://new.nat6.net/api/v1/articles/custom-e410786ad6764d07.json"
  },
  "urls": {
    "zh": "https://new.nat6.net/news/custom-e410786ad6764d07/",
    "en": "https://new.nat6.net/en/news/custom-e410786ad6764d07/",
    "de": "https://new.nat6.net/de/news/custom-e410786ad6764d07/",
    "fr": "https://new.nat6.net/fr/news/custom-e410786ad6764d07/",
    "ru": "https://new.nat6.net/ru/news/custom-e410786ad6764d07/",
    "ja": "https://new.nat6.net/ja/news/custom-e410786ad6764d07/",
    "es": "https://new.nat6.net/es/news/custom-e410786ad6764d07/",
    "ko": "https://new.nat6.net/ko/news/custom-e410786ad6764d07/",
    "vi": "https://new.nat6.net/vi/news/custom-e410786ad6764d07/",
    "th": "https://new.nat6.net/th/news/custom-e410786ad6764d07/",
    "id": "https://new.nat6.net/id/news/custom-e410786ad6764d07/",
    "ms": "https://new.nat6.net/ms/news/custom-e410786ad6764d07/",
    "fil": "https://new.nat6.net/fil/news/custom-e410786ad6764d07/",
    "hi": "https://new.nat6.net/hi/news/custom-e410786ad6764d07/"
  },
  "promo": {
    "name": "橙子中转站",
    "name_en": "Orange Relay",
    "url": "https://pro.nat6.net/",
    "description": "橙子中转站（pro.nat6.net）是一家优质的 AI API 中转站：价格优惠、质量稳定、模型齐全，支持 Claude、GPT、Gemini 等主流模型，欢迎体验。",
    "advantages": [
      "价格优惠：按量计费，成本可控。",
      "质量稳定：多线路冗余，服务可用性高。",
      "模型齐全：Claude、GPT、Gemini 等主流模型。",
      "接入简单：兼容 OpenAI 接口，改一行 base_url 即可。"
    ],
    "cta": "访问橙子中转站",
    "cta_url": "https://pro.nat6.net/?utm_source=orange_news&utm_medium=article_footer&utm_campaign=brand&lang=zh"
  },
  "generator": "OrangeNews/1.0"
}
