Dolly v2 (12B) API

API for Dolly-v2-12b: Precision Instruction-Following Language Model

Modalities
TextText
Model type
Chat
Status
Deprecated

Dolly v2 (12B) overview

Dolly v2 (12B) by Databricks

Dolly-v2-12b API for refined, instruction-based text generation across diverse capability domains. Explore its robust features for enhanced task performance.

Dolly v2 (12B) specs

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

Dolly v2 (12B) Description

Dolly-v2-12b, a 12-billion parameter model by Databricks, is tailored to follow complex instructions with high fidelity. Based on the Pythia-12b architecture, this model is fine-tuned on a specialized corpus of approximately 15,000 instruction-response records. While it's not state-of-the-art in general language tasks, Dolly-v2-12b excels in executing specific instructions, making it highly effective for applications requiring precise language model responses.

Use Cases for the Model

This model is ideal for applications across various fields such as marketing, content creation, and customer support, where precise and contextually accurate language generation is crucial. Dolly-v2-12b performs exceptionally well in tasks including brainstorming, summarization, information extraction, and both open and closed question answering.How does it compare to other models?

Dolly-v2-12b is distinguished by its specialized training for instruction following, which is not commonly prioritized in other large language models. This focus allows it to outperform foundational models in specific instructed tasks, providing surprisingly high-quality outputs that are tailored to user commands.

Tips for Maximizing Efficiency

To get the most out of Dolly-v2-12b, utilize the provided instruction pipelines and ensure your systems are compatible with the model’s requirements, such as memory and processing power. Using the model within its optimized parameters and operational guidelines will ensure high efficiency and accuracy in task execution.Optimize Text Descriptions for Better Results

When interacting with Dolly-v2-12b, crafting clear and detailed instructions is key. The quality of output directly correlates with how well the input is structured and presented. This attention to detail will help the model to better understand and execute the task at hand.

Different Types of API Calls

Dolly-v2-12b supports various API setups, including those suitable for rapid response generation and those that handle more complex, multi-turn interactions. Understanding the capabilities and limitations of these different API calls can significantly enhance the model's integration and performance in your applications.

Using APIs for Enhanced Instruction-Based Tasks with Dolly-v2-12b

Integrating Dolly-v2-12b through APIs can greatly enhance the functionality of applications requiring precise instruction following and complex text generation. Whether it’s generating detailed reports, crafting creative content, or providing accurate answers to intricate queries, Dolly-v2-12b is equipped to handle a wide range of text-based tasks efficiently and effectively.

Use cases

  • Enterprise AI assistants for customer support and internal tools
  • Instruction-aware chatbots handling complex prompts
  • Educational applications including fine-tuning and alignment research
  • Document summarization and management
  • Custom fine-tuning for domain-specific knowledge in fields like law, healthcare, and logistics
  • Content creation and marketing automation

Capabilities

  • Function calling
  • Streaming
  • Structured outputs

Dolly v2 (12B) API pricing

Dolly v2 (12B) pricing in US dollars
UsagePriceUnit
Input$0.3151M tokens
Output$0.3151M tokens

Dolly v2 (12B) 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 (12B) 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 (12B)$0.315$0.315
Seed 1.6 Flash$0.0794$0.3174
Ministral 3 8B 2512$0.3174$0.3174
Voxtral Small 24B 2507$0.1058$0.3174
gpt-oss-safeguard-20b$0.0794$0.3174

Related articles

All posts

Dolly v2 (12B) FAQ

Does Dolly v2 (12B) support streaming?

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

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

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

Who created Dolly v2 (12B)?

Dolly v2 (12B) was built by Databricks.

Start building with Dolly v2 (12B)