llmreference
Cloudflare Workers AI

Using OpenHermes 2.5 Mistral 7B on Cloudflare Workers AI

Implementation guide · OpenHermes 2 · Teknium

Serverless

Quick Start

  1. 1
    Create an account at Cloudflare Workers AI and generate an API key.
  2. 2
    Use the Cloudflare Workers AI SDK or REST API to call openhermes-2.5-mistral-7b — see the documentation for request format.

Code Examples

See Cloudflare Workers AI documentation for integration details.

About Cloudflare Workers AI

Cloudflare Workers AI is a serverless GPU inference platform enabling developers to run machine learning models on Cloudflare's global edge network. It supports diverse AI tasks including text generation, image classification, automatic speech recognition, and real-time language translation. The platform provides pay-per-use pricing and access to a curated library of open-source models from Hugging Face, enabling rapid deployment without complex infrastructure management. Key features include low-latency edge computing, streaming responses for large language models, context length customization, and the AI Gateway for monitoring, caching, and cost optimization.

Cloudflare is a leading connectivity cloud company that provides a comprehensive suite of cloud-native products and developer tools to enhance web performance, security, and reliability. Their services include content delivery network (CDN), DDoS mitigation, DNS services, and zero trust security solutions. While Cloudflare doesn't primarily market itself as an AI platform, they have incorporated AI and machine learning technologies into various aspects of their services to improve performance and security, including threat detection capabilities, content delivery optimization, and intelligent routing decisions across their global network.

Pricing on Cloudflare Workers AI

Capabilities

No model capability flags are currently sourced.

About OpenHermes 2.5 Mistral 7B

OpenHermes 2.5 Mistral 7B is an advanced large language model developed by Teknium, building on the previous version, OpenHermes 2. Utilizing a transformer architecture, it's fine-tuned on over one million entries, combining code and non-code data, primarily composed of GPT-4 generated text. This enhances its human-like response capabilities across diverse contexts. It excels in conversational AI with its multi-turn dialogue support through the ChatML format, significantly improves in code generation tasks with a high HumanEval score, and performs robustly on benchmarks like GPT4All and AGIEval. Additionally, it offers various quantization options for optimized hardware performance and is adept at real-time data processing, making it ideal for customer service and immediate data analysis applications.

Model Specs

Released2023-12-15
Parameters7B
Context32K
ArchitectureDecoder Only
Knowledge cutoff2023-12

Provider

Cloudflare Workers AI
Cloudflare Workers AI

Cloudflare

San Francisco, California, United States