> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# Qwen 2.5 7B E2EE API

> Qwen 2.5 7B E2EE API on Venice: 32K context, $0.05 input and $0.13 output per 1M tokens. End-to-end encrypted. Pricing, specs and code examples.



## Qwen 2.5 7B E2EE API

Qwen 2.5 7B E2EE is a large language model by Alibaba Qwen, available on the Venice API as `e2ee-qwen-2-5-7b-p`. This model supports end-to-end encryption (E2EE) and runs in a Trusted Execution Environment (TEE). Your prompt is encrypted on your client and decrypted inside a verified TEE. The response is then encrypted and sent back to your client for decryption. Venice's system prompt and web search are disabled to preserve end-to-end encryption. Attestation evidence is available for independent verification.

Qwen 2.5 7B Instruct running in a Trusted Execution Environment (TEE). A compact model with strong coding, math, and multilingual capabilities supporting 29+ languages, with hardware attestation evidence available for independent verification.

### Qwen 2.5 7B E2EE API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `e2ee-qwen-2-5-7b-p` | E2EE | E2EE | $0.05 / $0.13 per 1M |

### Qwen 2.5 7B E2EE specifications

| Spec | Value |
| - | - |
| Provider | Alibaba Qwen |
| Released | Mar 18, 2026 |
| Privacy | E2EE |
| Status | Stable |
| Open weights | [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) |
| Context window | 32K tokens |
| Max output | 4K tokens |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 31.6% ±3.7 (95% interval), run by Venice through the API on Oct 8, 2026 |
| [Live speed and uptime](https://docs.venice.ai/models/methodology.md#machine-readable-data) | [https://metrics.venice.ai/v1/models/e2ee-qwen-2-5-7b-p.json](https://metrics.venice.ai/v1/models/e2ee-qwen-2-5-7b-p.json), refreshed every 5 minutes |

### How to use the Qwen 2.5 7B E2EE API

Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "e2ee-qwen-2-5-7b-p"` and your API key.

This sample sends the prompt as plaintext, so the request runs TEE-only. For end-to-end encryption, send encrypted messages with the E2EE headers, as the [TEE and E2EE guide](https://docs.venice.ai/guides/features/tee-e2ee-models.md#e2ee-models) shows.

```bash theme={"system"}
curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "e2ee-qwen-2-5-7b-p",
    "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }]
  }'
```

### Related models

* [Qwen 3.8 27B E2EE API](https://docs.venice.ai/models/qwen-3-8-27b-e2ee.md): $0.47 / $3.53 per 1M
* [Mistral Small 3.2 24B Instruct API](https://docs.venice.ai/models/mistral-small-3-2-24b-instruct.md): $0.075 / $0.20 per 1M
* [OpenAI GPT OSS 120B API](https://docs.venice.ai/models/openai-gpt-oss-120b.md): $0.07 / $0.30 per 1M
* [GLM 4.7 Flash Heretic API](https://docs.venice.ai/models/glm-4-7-flash-heretic.md): $0.07 / $0.40 per 1M
* [Google Gemma 3 27B Instruct API](https://docs.venice.ai/models/google-gemma-3-27b-instruct.md): $0.12 / $0.20 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.