LLM Reference
Microsoft Foundry

Using Qwen2-7B on Microsoft Foundry

Implementation guide · Qwen2 · Alibaba

ProvisionedOpen Source

Microsoft Foundry exposes Qwen2-7B through model ID qwen2-7b. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-05-19. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Microsoft Foundry and generate an API key.
  2. 2
    Use the Microsoft Foundry SDK or REST API to call qwen2-7b — see the documentation for request format.
  3. 3
    You'll be billed $0.15/1M input, $0.15/1M output tokens. See full pricing.

Code Examples

See Microsoft Foundry documentation for integration details.

Pricing on Microsoft Foundry

TypePrice (per 1M)
Input tokens$0.15
Output tokens$0.15

Capabilities

Structured Outputs

About Qwen2-7B

Qwen2-7B is Alibaba's Qwen2 model. It offers a 128K-token context window and scores 55.4 on GPQA.

Model Specs

Released2024-06-05
Parameters7.07B
Context128k
ArchitectureDecoder Only

Provider

Microsoft Foundry
Microsoft Foundry

Microsoft

Redmond, Washington, United States