Baltor Get started

Endpoints

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

Authentication
Authorization: Bearer, with the key in FIREWORKS_API_KEY provider 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.

ModelInputOutputContextAs of
DeepSeek V4 Flash 0731 accounts/fireworks/models/deepseek-v4-flash-07310.220 USD0.660 USD1,000,000 older than 30 days
DeepSeek V4 Flash Vision Exp accounts/fireworks/models/deepseek-v4-flash-vision-exp0.220 USD0.660 USD1,000,000
DeepSeek V4 Pro accounts/fireworks/models/deepseek-v4-pro1.20 USD1.20 USD1,000,000 older than 30 days
DeepSeek V4 Pro 0813 accounts/fireworks/models/deepseek-v4-pro-08131.32 USD3.96 USD1,000,000 older than 30 days
DeepSeek V4.1 Flash accounts/fireworks/models/deepseek-v4p1-flash0.220 USD0.660 USD1,000,000
Ember-1 accounts/fireworks/models/ember-13.00 USD15.00 USD1,048,576
GLM 5.2 accounts/fireworks/models/glm-5p21.40 USD4.40 USD1,048,575 older than 30 days
GLM 5.3 accounts/fireworks/models/glm-5p31.40 USD4.40 USD1,048,573
GLM 5.3 Flash accounts/fireworks/models/glm-5p3-flash0.150 USD0.500 USD1,048,573
GPT OSS 120B accounts/fireworks/models/gpt-oss-120b0.150 USD0.600 USD131,072 older than 30 days
Inkling accounts/fireworks/models/inkling1.00 USD4.05 USD1,048,576 older than 30 days
Kimi K2.6 accounts/fireworks/models/kimi-k2p60.950 USD4.00 USD262,000 older than 30 days
Kimi K2.7 Code accounts/fireworks/models/kimi-k2p7-code0.950 USD4.00 USD262,000 older than 30 days
Kimi K3 accounts/fireworks/models/kimi-k33.00 USD15.00 USD1,048,576 older than 30 days
MiniMax-M2.7 accounts/fireworks/models/minimax-m2p71.20 USD1.20 USD196,608 older than 30 days
MiniMax-M3 accounts/fireworks/models/minimax-m30.300 USD1.20 USD512,000 older than 30 days
Muse Glimmer 30B accounts/fireworks/models/muse-glimmer-30b0.350 USD1.50 USD131,072 older than 30 days
Nemotron 3 Ultra 550B A55B accounts/fireworks/models/nemotron-3-ultra-nvfp40.600 USD2.40 USD262,144 older than 30 days
Nemotron 3.5 Lightning 30B A3B accounts/fireworks/models/nemotron-lightning-3p5-30b-a3b0.050 USD0.200 USD262,144 older than 30 days
Qwen 3.7 Plus accounts/fireworks/models/qwen3p7-plus0.400 USD1.60 USD262,144 older than 30 days
Qwen3.8 2.4T A95B accounts/fireworks/models/qwen3p8-2p4t-a95b2.00 USD6.00 USD262,144 older than 30 days
Qwen3.8 Max accounts/fireworks/models/qwen3p8-max2.00 USD6.00 USD262,144 older than 30 days
DeepSeek Flash Latest accounts/fireworks/routers/deepseek-flash-latest0.220 USD0.660 USD1,000,000
DeepSeek Pro Latest accounts/fireworks/routers/deepseek-pro-latest1.32 USD3.96 USD1,000,000 older than 30 days
GLM 5.2 Fast accounts/fireworks/routers/glm-5p2-fast2.10 USD6.60 USD1,048,575 older than 30 days
GLM 5.3 Fast accounts/fireworks/routers/glm-5p3-fast2.10 USD6.60 USD1,048,572
GLM 5.3 Fast (Latest) accounts/fireworks/routers/glm-fast-latest2.10 USD6.60 USD1,048,572
GLM Flash Latest (GLM 5.3 Flash) accounts/fireworks/routers/glm-flash-latest0.150 USD0.500 USD1,048,573
GLM Latest accounts/fireworks/routers/glm-latest1.40 USD4.40 USD1,048,573
Kimi Fast Latest accounts/fireworks/routers/kimi-fast-latest4.50 USD22.50 USD1,048,576
Kimi K3 Fast accounts/fireworks/routers/kimi-k3-fast4.50 USD22.50 USD1,048,576 older than 30 days
Kimi Latest accounts/fireworks/routers/kimi-latest3.00 USD15.00 USD1,048,576
MiniMax Latest accounts/fireworks/routers/minimax-latest0.300 USD1.20 USD512,000
Qwen Max Latest (Qwen3.8 Max) accounts/fireworks/routers/qwen-max-latest2.00 USD6.00 USD262,144