Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for qwen

Qwen 2 7B Instruct

qwen/qwen-2-7b-instruct

Model weights

Qwen2 7B is a transformer-based model that excels in language understanding, multilingual capabilities, coding, mathematics, and reasoning.

It features SwiGLU activation, attention QKV bias, and group query attention. It is pretrained on extensive data with supervised finetuning and direct preference optimization.

For more details, see this blog post(opens in new tab) and GitHub repo(opens in new tab).

Usage of this model is subject to Tongyi Qianwen LICENSE AGREEMENT(opens in new tab).

Modalities

Context

33K

Released

Jul 16, 2024

Knowledge Cutoff

Jun 2024

ActivityFAQ

Activity

Token volume and request traffic to this model over time.

About Qwen 2 7B Instruct

OpenRouter makes Qwen 2 7B Instruct available through a unified, OpenAI-compatible API using the model ID qwen/qwen-2-7b-instruct.

Qwen 2 7B Instruct accepts text and returns text. It has a 32,768-token context window.

It was released on July 16, 2024; its knowledge cutoff is June 30, 2024.

More models from Qwen

  • Qwen3.8 27B
  • Qwen3 Reranker 8B
  • Qwen3 ASR 1.7B

Frequently asked questions

Qwen2 7B is a transformer-based model that excels in language understanding, multilingual capabilities, coding, mathematics, and reasoning. It features SwiGLU activation, attention QKV bias, and group query attention. It is pretrained on extensive data with supervised finetuning and direct preference optimization. For more details, see this blog post and GitHub repo.

Qwen 2 7B Instruct has a 32,768 token context window.

Qwen3.8 27B, Qwen3.8 2.4T A95B, Qwen3.8 Max and 47 more are other text models from Qwen.

Qwen 2 7B Instruct was released on July 16, 2024. Its knowledge cutoff is June 30, 2024.