NEAR AICloud
Sign inStart building
DeepSeek V4.1 Flash icon
DeepSeek V4.1 Flash
deepseek/deepseek-v4.1-flash
1048K context|$0.3/M input tokens|$1.2/M output tokens|$0.006/M cache read

DeepSeek reasoning and coding model with image understanding. Served through OpenRouter using ZDR inference endpoints.

Input / M tokens
$0.3
Output / M tokens
$1.2
Cache read
$0.006
Context
1048K

Sample code and API for DeepSeek V4.1 Flash

fetch("https://cloud-api.near.ai/v1/chat/completions", { method: "POST", headers: { "Authorization": "Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>", "Content-Type": "application/json" }, body: JSON.stringify({ "model": "deepseek/deepseek-v4.1-flash", "messages": [ { "role": "user", "content": "What is the meaning of life?" } ] }) })

You can also use NEAR AI Cloud with OpenAI's client API:

import OpenAI from "openai" const openai = new OpenAI({ baseURL: "https://cloud-api.near.ai/v1", apiKey: "<YOUR-NEAR-AI-CLOUD-API-KEY>", }) async function main() { const completion = await openai.chat.completions.create({ messages: [{ "role": "user", "content": "What is the meaning of life?" }], model: "deepseek/deepseek-v4.1-flash", }) console.log(completion.choices[0]) } main()

Privacy & Execution

This is an Incognito model: it runs on a partner provider rather than inside a NEAR AI GPU TEE. Requests are routed through a shared NEAR AI API key, so your identity is not disclosed to the provider.

Your prompt content, however, is transmitted to and processed by the model provider in accordance with their terms of service and privacy policy. Data is encrypted in transit, but execution happens outside of trusted hardware — there is no hardware-level privacy, attestation, or cryptographic proof of execution for this model.