Naifan Li
Tags Categories Archives About
Naifan Li
Cancel
TagsCategoriesArchivesAbout

Contents

大模型 API 开发指南

Published on Feb 11, 2025 Updated on Jan 15, 2026 LLMs LLMs, VLMs, Aliyun API One minute
Contents
  • 阿里云百炼平台

阿里云百炼平台

https://bailian.console.aliyun.com/cn-beijing/?spm=a2c4g.11186623.0.0.3bb0394e3JQHXT&tab=api#/api/?type=model&url=2712195

  1. 获取 API Key

https://bailian.console.aliyun.com/cn-beijing/?tab=model#/api-key

  1. 调用 API Key
  • API Key
  • Base URL: https://dashscope.aliyuncs.com/compatible-mode/v1
  • Model Name: 如 qwen3-max

sample:

  • https://help.aliyun.com/zh/model-studio/claude-code
  • https://help.aliyun.com/zh/model-studio/openclaw?spm=a2c4g.11186623.help-menu-2400256.d_0_10_5.79ec69c3Dekn1K&scm=20140722.H_3020785._.OR_help-T_cn~zh-V_1
  1. 配置 API Key 环境变量
1
2
echo "export DASHSCOPE_API_KEY='YOUR_DASHSCOPE_API_KEY'" >> ~/.zshrc
source ~/.zshrc
  1. 安装 OpenAI-Python SDK
1
pip3 install -U openai
Local AI Programming Assistant: VSCode + Continue/Cline + vLLM + Kimi-K2.5 Qwen2.5-VL Technical Report

Related Posts

  • Vision Language Adapter 2025-12-24
  • Qwen3-VL Technical Report 2025-11-27
  • Summary: VLMs 2025-11-26
  • HunyuanOCR Technical Report 2025-11-16
  • DeepSeek R1 2025-06-10
2018 - 2026 Naifan Li