LLM API
Model provider1 modelPrivacy policy

Cloudflare

Cloudflare serves 1 model on LLM API: DeepSeek V4.1 Flash 1017 from DeepSeek.

Models and prices

Prices when Cloudflare serves the request.

Text 1

Prices per 1M tokens

Text models on Cloudflare and their prices on LLM API
DeepSeekDeepSeek V4.1 Flash 1017cloudflare/deepseek-v4.1-flash-1017$0.3$1.2$0.0061.05M

Send requests to Cloudflare

Put cloudflare/ before a model ID and the request goes to Cloudflare. If Cloudflare’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends X-No-Fallback: true. Routing docs

Example: DeepSeek V4.1 Flash 1017

POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="cloudflare/deepseek-v4.1-flash-1017",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Prices synced November 13, 2026.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up