Dolly v2 (7B) API

Dolly v2 (7B): Open-source, instruction-following LLM for commercial use.

Modalities
TextText
Model type
Chat
Status
Deprecated

Dolly v2 (7B) overview

Dolly v2 (7B) by Databricks

Explore Dolly v2 (7B) API, an open-source large language model with instruction-following capabilities, suitable for various NLP tasks and commercial applications.

Dolly v2 (7B) specs

Developer
Databricks
Input
Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Basic Information

  • Model Type: Instruction-following Large Language Model

Overview:Dolly v2 (7B) is an instruction-following large language model trained on the Databricks machine learning platform, licensed for commercial use. It is based on the Pythia-6.9b model and fine-tuned on a dataset of approximately 15,000 instruction/response pairs.Key Features:

  • Instruction-following capabilities
  • Open-source and commercially licensed
  • Fine-tuned on high-quality training data
  • Relatively small model size (6.9 billion parameters)

Intended Use:Dolly v2 (7B) is designed for various natural language processing tasks, including:

Technical Details

Architecture:Dolly v2 (7B) is based on the Pythia-6.9b architecture, which is a transformer-based model.Training Data:

  • Data Source and Size: The model was fine-tuned on the databricks-dolly-15k dataset, containing approximately 15,000 instruction/response pairs generated by Databricks employees.
  • Knowledge Cutoff: The model's knowledge is based on the Pythia-6.9b pre-training, with additional instruction-following capabilities from the fine-tuning process.

Performance Metrics:While Dolly v2 (7B) is not state-of-the-art, it demonstrates surprisingly high-quality instruction-following behavior. Some benchmark results include:

BenchmarkScoreARC (25-shot) 0.392 HellaSwag (10-shot) 0.633838 MMLU (5-shot) 0.406997 TruthfulQA (0-shot)0.444444

Ethical Considerations

Dolly v2 (7B) was developed with ethical considerations in mind. The training data does not contain obscenity, intellectual property, or personally identifying information about non-public figures. However, it may reflect biases present in the data generated by Databricks employees.

Licensing

Dolly v2 (7B) is released under the Apache 2.0 license, which allows for both research and commercial use.

Limitations

  • Not designed to perform competitively with more modern model architectures
  • Struggles with syntactically complex prompts
  • Limited capabilities in programming problems and mathematical operations
  • May contain factual errors and exhibit hallucination
  • Reflects potential biases of Databricks employees in the training data

Use cases

  • Chatbots and conversational assistants
  • Content generation and summarization
  • Educational tools and tutoring
  • Text classification and information extraction
  • Research and prototyping in NLP
  • Commercial and open-source AI applications

Capabilities

  • Function calling
  • Streaming
  • Structured outputs

Dolly v2 (7B) API pricing

Dolly v2 (7B) pricing in US dollars
UsagePriceUnit
Input$0.211M tokens
Output$0.211M tokens

Dolly v2 (7B) is deprecated on AI/ML API. The rates apply to existing integrations; the models below are current alternatives.

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Dolly v2 (7B) vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Dolly v2 (7B)$0.21$0.21
Small 3.2 24B$0.0794$0.2116
Nemotron 3 Nano 30B A3B$0.0529$0.2116
Nemotron 3.5 Content Safety$0.2116$0.2116
Reka Flash 3$0.1058$0.2116

Related articles

All posts

Dolly v2 (7B) FAQ

Does Dolly v2 (7B) support streaming?

Yes, Dolly v2 (7B) can stream responses as they are generated.

Does Dolly v2 (7B) support tool calling and structured outputs?

Yes, Dolly v2 (7B) supports both function calling and structured outputs.

Who created Dolly v2 (7B)?

Dolly v2 (7B) was built by Databricks.

What API endpoint version is available for Dolly v2 (7B)?

Dolly v2 (7B) is available via the v1 endpoint.

Start building with Dolly v2 (7B)