AI
AI 相关工具、模型快速上手指引。
环境准备
聊天 / IDE 客户端
本地模型推理
AI Agent / 自动化
名词概念
LLM(Large Language Model) 大语言模型
Agent (AI Agent) = LLM(大脑) + 规划(planning) + 记忆(memory) + 工具使用(tools)
通过 API 访问模型
OpenAI
- API Key: https://platform.openai.com/api-keys
- URL Base:
https://api.openai.com/v1
超额提示:
You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
Gemini
- API Key: https://aistudio.google.com/api-keys
- URL Base:
https://generativelanguage.googleapis.com/v1beta - URL Base (OpenAI 兼容):
https://generativelanguage.googleapis.com/v1beta/openai
Claude
- API Key: https://platform.claude.com/settings/keys
- URL Base:
https://api.anthropic.com/v1
余额不足提示:
Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.
