Last refreshed 2026-04-19. Next refresh: weekly.
Why use DBRX Instruct on Fireworks AI?
Fireworks AI offers DBRX Instruct with pay-as-you-go pricing at $1.20/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.
Compare DBRX Instruct across 6 providers to find the best fit for your use caseSetup recipe
Python + curlpip install openaiexport FIREWORKS_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],dbrx-instructRequest example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="dbrx-instruct",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
- The examples expect FIREWORKS_API_KEY; rename it only if your application config maps the new variable.
Compare DBRX Instruct Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Microsoft Foundry | $2.70 | $2.70 |
| Databricks Foundation Model Serving | $0.75 | $2.25 |
| Together AI | $1.20 | $1.20 |
| NVIDIA NIM | — | — |
| DeepInfra | $0.60 | $1.20 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.20 |
| Output tokens | $1.20 |
Capabilities
About DBRX Instruct
DBRX Instruct, developed by Databricks, is a cutting-edge large language model designed for various natural language processing tasks. It excels in text summarization, question answering, information extraction, and code generation, utilizing a fine-grained mixture-of-experts architecture with 132 billion parameters. With advanced features like rotary position encodings, gated linear units, and grouped query attention, it performs exceptionally across multiple benchmarks, even outperforming some closed-source models. Trained on a vast 12 trillion token dataset, it supports contexts up to 32,000 tokens. Although primarily effective in English, its multilingual strength isn't fully explored. Users should be cautious as it may generate inaccurate or biased outputs.
FAQ
What does DBRX Instruct cost on Fireworks AI?
On Fireworks AI, DBRX Instruct costs $1.2 per 1M input tokens and $1.2 per 1M output tokens.
What is the context window for DBRX Instruct on Fireworks AI?
DBRX Instruct supports a 32,000 token context window on Fireworks AI.
How does Fireworks AI compare to other DBRX Instruct providers?
DBRX Instruct is available from 6 providers. The cheapest input pricing is $0.60/1M tokens from DeepInfra.
Who created DBRX Instruct?
DBRX Instruct was created by Databricks Mosaic as part of the DBRX model family.
Is DBRX Instruct open source?
DBRX Instruct's open source status is unknown in the seed data.