Fireworks AI
A hosted service with its own key and prices. This page lists the addresses it answers, the facts its documentation states, and the setup of each harness.
Addresses and facts
- OpenAI Chat Completions:
https://api.fireworks.ai/inference/v1provider documentation, read - OpenAI Responses:
https://api.fireworks.ai/inference/v1provider documentation, read - Anthropic Messages:
https://api.fireworks.ai/inferenceprovider documentation, read
- Authentication
- Authorization: Bearer, with the key in
FIREWORKS_API_KEYprovider documentation, read - Structured output
- provider documentation, read
- Tool calling
- provider documentation, read
- Rate limits
- Read the page provider documentation, read
- Prices
- Read the page provider documentation, read
- Data retention
- Fireworks documents its zero data retention terms on this page. Read the page provider documentation, read
- Documentation
- Unknown
- Output limits Baltor recorded
- Unknown
Harness setup
Replace accounts/fireworks/models/deepseek-v4-flash-0731 with the model you want.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"fireworks": {
"npm": "@ai-sdk/openai-compatible",
"name": "Fireworks AI",
"options": {
"baseURL": "https://api.fireworks.ai/inference/v1",
"apiKey": "{env:FIREWORKS_API_KEY}"
},
"models": {
"accounts/fireworks/models/deepseek-v4-flash-0731": {
"name": "accounts/fireworks/models/deepseek-v4-flash-0731"
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"fireworks": {
"baseUrl": "https://api.fireworks.ai/inference/v1",
"api": "openai-completions",
"apiKey": "$FIREWORKS_API_KEY",
"models": [
{
"id": "accounts/fireworks/models/deepseek-v4-flash-0731"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Put this in ~/.codex/config.toml:
model = "accounts/fireworks/models/deepseek-v4-flash-0731"
model_provider = "fireworks"
[model_providers.fireworks]
name = "Fireworks AI"
base_url = "https://api.fireworks.ai/inference/v1"
env_key = "FIREWORKS_API_KEY"- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Put this in ~/.claude/settings.json, or variables in your shell:
export ANTHROPIC_BASE_URL="https://api.fireworks.ai/inference"
export ANTHROPIC_AUTH_TOKEN="$FIREWORKS_API_KEY"
export ANTHROPIC_MODEL="accounts/fireworks/models/deepseek-v4-flash-0731"
claude- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Models it lists
Prices in US dollars per million tokens, input and output, as models.dev, read records them.
| Model | Input | Output | Context | As of |
|---|---|---|---|---|
DeepSeek V4 Flash 0731 accounts/fireworks/models/deepseek-v4-flash-0731 | 0.220 USD | 0.660 USD | 1,000,000 | older than 30 days |
DeepSeek V4 Flash Vision Exp accounts/fireworks/models/deepseek-v4-flash-vision-exp | 0.220 USD | 0.660 USD | 1,000,000 | |
DeepSeek V4 Pro accounts/fireworks/models/deepseek-v4-pro | 1.20 USD | 1.20 USD | 1,000,000 | older than 30 days |
DeepSeek V4 Pro 0813 accounts/fireworks/models/deepseek-v4-pro-0813 | 1.32 USD | 3.96 USD | 1,000,000 | older than 30 days |
DeepSeek V4.1 Flash accounts/fireworks/models/deepseek-v4p1-flash | 0.220 USD | 0.660 USD | 1,000,000 | |
Ember-1 accounts/fireworks/models/ember-1 | 3.00 USD | 15.00 USD | 1,048,576 | |
GLM 5.2 accounts/fireworks/models/glm-5p2 | 1.40 USD | 4.40 USD | 1,048,575 | older than 30 days |
GLM 5.3 accounts/fireworks/models/glm-5p3 | 1.40 USD | 4.40 USD | 1,048,573 | |
GLM 5.3 Flash accounts/fireworks/models/glm-5p3-flash | 0.150 USD | 0.500 USD | 1,048,573 | |
GPT OSS 120B accounts/fireworks/models/gpt-oss-120b | 0.150 USD | 0.600 USD | 131,072 | older than 30 days |
Inkling accounts/fireworks/models/inkling | 1.00 USD | 4.05 USD | 1,048,576 | older than 30 days |
Kimi K2.6 accounts/fireworks/models/kimi-k2p6 | 0.950 USD | 4.00 USD | 262,000 | older than 30 days |
Kimi K2.7 Code accounts/fireworks/models/kimi-k2p7-code | 0.950 USD | 4.00 USD | 262,000 | older than 30 days |
Kimi K3 accounts/fireworks/models/kimi-k3 | 3.00 USD | 15.00 USD | 1,048,576 | older than 30 days |
MiniMax-M2.7 accounts/fireworks/models/minimax-m2p7 | 1.20 USD | 1.20 USD | 196,608 | older than 30 days |
MiniMax-M3 accounts/fireworks/models/minimax-m3 | 0.300 USD | 1.20 USD | 512,000 | older than 30 days |
Muse Glimmer 30B accounts/fireworks/models/muse-glimmer-30b | 0.350 USD | 1.50 USD | 131,072 | older than 30 days |
Nemotron 3 Ultra 550B A55B accounts/fireworks/models/nemotron-3-ultra-nvfp4 | 0.600 USD | 2.40 USD | 262,144 | older than 30 days |
Nemotron 3.5 Lightning 30B A3B accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b | 0.050 USD | 0.200 USD | 262,144 | older than 30 days |
Qwen 3.7 Plus accounts/fireworks/models/qwen3p7-plus | 0.400 USD | 1.60 USD | 262,144 | older than 30 days |
Qwen3.8 2.4T A95B accounts/fireworks/models/qwen3p8-2p4t-a95b | 2.00 USD | 6.00 USD | 262,144 | older than 30 days |
Qwen3.8 Max accounts/fireworks/models/qwen3p8-max | 2.00 USD | 6.00 USD | 262,144 | older than 30 days |
DeepSeek Flash Latest accounts/fireworks/routers/deepseek-flash-latest | 0.220 USD | 0.660 USD | 1,000,000 | |
DeepSeek Pro Latest accounts/fireworks/routers/deepseek-pro-latest | 1.32 USD | 3.96 USD | 1,000,000 | older than 30 days |
GLM 5.2 Fast accounts/fireworks/routers/glm-5p2-fast | 2.10 USD | 6.60 USD | 1,048,575 | older than 30 days |
GLM 5.3 Fast accounts/fireworks/routers/glm-5p3-fast | 2.10 USD | 6.60 USD | 1,048,572 | |
GLM 5.3 Fast (Latest) accounts/fireworks/routers/glm-fast-latest | 2.10 USD | 6.60 USD | 1,048,572 | |
GLM Flash Latest (GLM 5.3 Flash) accounts/fireworks/routers/glm-flash-latest | 0.150 USD | 0.500 USD | 1,048,573 | |
GLM Latest accounts/fireworks/routers/glm-latest | 1.40 USD | 4.40 USD | 1,048,573 | |
Kimi Fast Latest accounts/fireworks/routers/kimi-fast-latest | 4.50 USD | 22.50 USD | 1,048,576 | |
Kimi K3 Fast accounts/fireworks/routers/kimi-k3-fast | 4.50 USD | 22.50 USD | 1,048,576 | older than 30 days |
Kimi Latest accounts/fireworks/routers/kimi-latest | 3.00 USD | 15.00 USD | 1,048,576 | |
MiniMax Latest accounts/fireworks/routers/minimax-latest | 0.300 USD | 1.20 USD | 512,000 | |
Qwen Max Latest (Qwen3.8 Max) accounts/fireworks/routers/qwen-max-latest | 2.00 USD | 6.00 USD | 262,144 |
Sources of this page
- docs.fireworks.ai/tools-sdks/openai-compatibility, read
- docs.fireworks.ai/guides/response-api, read
- docs.fireworks.ai/tools-sdks/anthropic-compatibility, read
- docs.fireworks.ai/structured-responses/structured-response-formatting, read
- docs.fireworks.ai/guides/function-calling, read
- docs.fireworks.ai/guides/quotas_usage/account-quotas, read
- fireworks.ai/pricing, read
- docs.fireworks.ai/guides/security_compliance/data_handling, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.