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
Yes provider documentation, read
Tool calling
Yes 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-v4p1-flash 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-v4p1-flash": {
          "name": "accounts/fireworks/models/deepseek-v4p1-flash"
        }
      }
    }
  }
}
  • 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-v4p1-flash"
        }
      ]
    }
  }
}
  • 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-v4p1-flash"
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-v4p1-flash"
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.1 Flash accounts/fireworks/models/deepseek-v4p1-flash0.300 USD1.20 USD1,000,000 older than 30 days
DeepSeek V4.1 Flash 1017 accounts/fireworks/models/deepseek-v4p1-flash-10170.300 USD1.20 USD1,000,000
Ember-1 accounts/fireworks/models/ember-13.00 USD15.00 USD1,048,576
GLM 5.3 accounts/fireworks/models/glm-5p31.40 USD4.40 USD1,048,573 older than 30 days
GLM 5.3 Flash accounts/fireworks/models/glm-5p3-flash0.150 USD0.500 USD1,048,573 older than 30 days
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 K3 accounts/fireworks/models/kimi-k33.00 USD15.00 USD1,048,576 older than 30 days
MiniMax-M3 accounts/fireworks/models/minimax-m30.300 USD1.20 USD512,000 older than 30 days
Muse Spark Open accounts/fireworks/models/muse-spark-open1.25 USD4.25 USD1,048,576
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
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.300 USD1.20 USD1,000,000 older than 30 days
GLM 5.3 Fast accounts/fireworks/routers/glm-5p3-fast2.10 USD6.60 USD1,048,572 older than 30 days
GLM 5.3 Fast (Latest) accounts/fireworks/routers/glm-fast-latest2.10 USD6.60 USD1,048,572 older than 30 days
GLM Flash Latest (GLM 5.3 Flash) accounts/fireworks/routers/glm-flash-latest0.150 USD0.500 USD1,048,573 older than 30 days
GLM Latest accounts/fireworks/routers/glm-latest1.40 USD4.40 USD1,048,573 older than 30 days
Kimi Fast Latest accounts/fireworks/routers/kimi-fast-latest4.50 USD22.50 USD1,048,576 older than 30 days
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 older than 30 days
MiniMax Latest accounts/fireworks/routers/minimax-latest0.300 USD1.20 USD512,000 older than 30 days
Qwen Max Latest (Qwen3.8 Max) accounts/fireworks/routers/qwen-max-latest2.00 USD6.00 USD262,144 older than 30 days