OpenRouter:修订间差异

来自牛奶河Wiki
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第13行: 第13行:
====Chat====
====Chat====
点击搜索框,在下拉列表中选择 free 模型。如:Google: Gemini Pro 2.0 Experimental (free),在其他工具中使用 API Key 时,输入的名称是第二行内容(如:google/gemini-2.0-pro-exp-02-05:free),第三行是发布时间/内容大小限制及费用(如:Created Feb 5, 2025 - 2,000,000 context - $0/M input tokens - $0/M output tokens)。点击第一行名称后面的 Chat,即可使用。
点击搜索框,在下拉列表中选择 free 模型。如:Google: Gemini Pro 2.0 Experimental (free),在其他工具中使用 API Key 时,输入的名称是第二行内容(如:google/gemini-2.0-pro-exp-02-05:free),第三行是发布时间/内容大小限制及费用(如:Created Feb 5, 2025 - 2,000,000 context - $0/M input tokens - $0/M output tokens)。点击第一行名称后面的 Chat,即可使用。
====免费模型====
{| class="wikitable"
|+
!Name
!Model
!Created
!Context
!
|-
|Google: Gemini Flash Lite 2.0 Preview
|google/gemini-2.0-flash-lite-preview-02-05:free
|Feb 5, 2025
|1,000,000
|面向开发者提供 API 接口,更优的成本效益和响应速度
|-
|Google: Gemini Pro 2.0 Experimental
|google/gemini-2.0-pro-exp-02-05:free
|Feb 5, 2025
|2,000,000
|编程和处理问题的理解能力,输入支持文本、图片、视频、音频。能够全面分析和理解海量信息,并支持调用 Google 搜索和代码执行等工具。
|-
|DeepSeek: R1 Distill Llama 70B
|deepseek/deepseek-r1-distill-llama-70b:free
|Dec 6, 2024
|128,000
|基于 Llama-3.3-70B-Struct 蒸馏的大型语言模型,堪比 Liama-3.1-405B 模型。具备更高效地编写、调试和优化代码的能力。
|}
Model Distillation's Info from original model.


=== Tools ===
=== Tools ===

2025年2月14日 (五) 09:54的版本

OpenRouter 是一个统一的 API 服务平台,旨在将各种大型语言模型(LLMs)和服务集成到一个统一的接口中。它允许用户通过简单的配置和调用,访问多个预训练的大模型,而无需自己部署和维护这些模型。

  1. 支持多种预训练模型,如 OpenAI 的 GPT-4、Claude、Gemini 等
  2. 提供部分免费开源模型,如 deepseek/deepseek-r1-distill-llama-70b:free

支持 Google 帐号验证登录。

OpenRouter

API Key

  1. 点击 Create API Key,创建 API(credit limit 不要填写,表示无限制使用)
  2. 生成 Key,只显示一次,注意保存
  3. Key 可以用在客户端工具中,如:ChatBox

The maximum rate limit for this model is 10.0 queries per minute. This limit differs from the general rate limits published at Together AI rate limits documentation (https://docs.together.ai/docs/rate-limits).

Chat

点击搜索框,在下拉列表中选择 free 模型。如:Google: Gemini Pro 2.0 Experimental (free),在其他工具中使用 API Key 时,输入的名称是第二行内容(如:google/gemini-2.0-pro-exp-02-05:free),第三行是发布时间/内容大小限制及费用(如:Created Feb 5, 2025 - 2,000,000 context - $0/M input tokens - $0/M output tokens)。点击第一行名称后面的 Chat,即可使用。

Tools

ChatBox

ChatBox 开源多平台 AI 客户端,支持 Windows、macOS 和 Linux 系统。

设置 -> 模型

  1. 添加自定义提供方
  2. OpenAI API 兼容
  3. API 域名:https://openrouter.ai/api/v1/
  4. 路径:/chat/completions
  5. API 密钥:sk-or-v1-db98...
  6. 模型:deepseek/deepseek-r1-distill-llama-70b:free

Cherry Studio

Cherry Studio 国产多模型 AI 客户端,支持 Windows、macOS 和 Linux 系统。它集成了多种主流的大型语言模型(LLMs),如 OpenAI、Gemini 等,以及本地模型运行功能,用户可以根据需求自由切换云端和本地模型。

  1. 点击设置按钮,找到 OpenRouter,输入 API 密钥,不用检查
  2. 点击添加模型,deepseek/deepseek-r1-distill-llama-70b:free

Dify

Dify 是一个开源的 LLM 应用开发平台,它通过 HTTP 提供直观的可视化界面,帮助开发者快速构建和部署 AI 应用,支持包括模型管理、知识库、工作流编排等全方位功能。