LobeChat
Ctrl K
Back to Discovery
CloudflareCloudflare
WorkersAIWorkersAI

Supported Models

Cloudflare
Maximum Context Length
16K
Maximum Output Length
--
Input Price
--
Output Price
--
Maximum Context Length
2K
Maximum Output Length
--
Input Price
--
Output Price
--
Maximum Context Length
4K
Maximum Output Length
--
Input Price
--
Output Price
--
Maximum Context Length
8K
Maximum Output Length
--
Input Price
--
Output Price
--

在 LobeChat 中使用 Cloudflare Workers AI

cover

Cloudflare Workers AI 是一种将人工智能能力集成到 Cloudflare Workers 无服务器计算平台的服务。其核心功能在于通过 Cloudflare 的全球网络提供快速、可扩展的计算能力,降低运维开销。

本文档将指导你如何在 LobeChat 中使用 Cloudflare Workers AI:

步骤一: 获取 Cloudflare Workers AI 的 API Key

Cloudflare Workers AI
  • 使用 REST API 中点击 创建 Workers AI API 令牌 按钮
  • 在弹出的侧边栏中复制并保存你的 API 令牌
  • 同时也复制并保存你的 账户ID
Cloudflare Workers AI API Token
  • 请安全地存储 API 令牌,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新令牌。

步骤二: 在 LobeChat 中配置 Cloudflare Workers AI

  • 访问 LobeChat 的设置界面
  • 语言模型下找到 Cloudflare 的设置项
填入访问令牌
  • 填入获得的 API 令牌
  • 填入你的账户ID
  • 为你的 AI 助手选择一个 Cloudflare Workers AI 的模型即可开始对话
选择 Cloudflare Workers AI 模型并开始对话

在使用过程中你可能需要向 API 服务提供商付费,请参考 Cloudflare 的相关费用政策。

至此你已经可以在 LobeChat 中使用 Cloudflare Workers AI 提供的模型进行对话了。

Related Providers

LobeHubLobeHub
@LobeHub
12 models
LobeChat Cloud enables the invocation of AI models through officially deployed APIs, using a Credits system to measure the usage of AI models, corresponding to the Tokens used by large models.
OpenAIOpenAI
@OpenAI
22 models
OpenAI is a global leader in artificial intelligence research, with models like the GPT series pushing the frontiers of natural language processing. OpenAI is committed to transforming multiple industries through innovative and efficient AI solutions. Their products demonstrate significant performance and cost-effectiveness, widely used in research, business, and innovative applications.
OllamaOllama
@Ollama
40 models
Ollama provides models that cover a wide range of fields, including code generation, mathematical operations, multilingual processing, and conversational interaction, catering to diverse enterprise-level and localized deployment needs.
Anthropic
ClaudeClaude
@Anthropic
8 models
Anthropic is a company focused on AI research and development, offering a range of advanced language models such as Claude 3.5 Sonnet, Claude 3 Sonnet, Claude 3 Opus, and Claude 3 Haiku. These models achieve an ideal balance between intelligence, speed, and cost, suitable for various applications from enterprise workloads to rapid-response scenarios. Claude 3.5 Sonnet, as their latest model, has excelled in multiple evaluations while maintaining a high cost-performance ratio.
AWS
BedrockBedrock
@Bedrock
14 models
Bedrock is a service provided by Amazon AWS, focusing on delivering advanced AI language and visual models for enterprises. Its model family includes Anthropic's Claude series, Meta's Llama 3.1 series, and more, offering a range of options from lightweight to high-performance, supporting tasks such as text generation, conversation, and image processing for businesses of varying scales and needs.